remove kps/thanos/etc
This commit is contained in:
parent
0e59964678
commit
fd1a799229
40 changed files with 24 additions and 32 deletions
|
@ -3,4 +3,4 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./helmrelease.yaml
|
||||
- ./helmrelease.yaml
|
|
@ -18,4 +18,4 @@ spec:
|
|||
wait: false
|
||||
interval: 30m
|
||||
retryInterval: 1m
|
||||
timeout: 5m
|
||||
timeout: 5m
|
|
@ -26,4 +26,4 @@ spec:
|
|||
substitute:
|
||||
APP: *app
|
||||
DB_NAME: grafana
|
||||
DB_USER: grafana
|
||||
DB_USER: grafana
|
|
@ -19,4 +19,4 @@ spec:
|
|||
- key: alertmanager.yaml
|
||||
dataFrom:
|
||||
- extract:
|
||||
key: pushover
|
||||
key: pushover
|
|
@ -13,4 +13,4 @@ configMapGenerator:
|
|||
files:
|
||||
- alertmanager.yaml=./resources/alertmanager.yaml
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
disableNameSuffixHash: true
|
|
@ -16,4 +16,4 @@ spec:
|
|||
matchNames:
|
||||
- database
|
||||
podMetricsEndpoints:
|
||||
- port: admin
|
||||
- port: admin
|
|
@ -4,4 +4,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||
kind: Kustomization
|
||||
resources:
|
||||
- ./crunchy-postgres.yaml
|
||||
- ./dragonflydb.yaml
|
||||
- ./dragonflydb.yaml
|
|
@ -3,4 +3,4 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./prometheusrule.yaml
|
||||
- ./prometheusrule.yaml
|
|
@ -34,4 +34,4 @@ spec:
|
|||
expr: node_zfs_zpool_state{state!="online"} > 0
|
||||
for: 15m
|
||||
labels:
|
||||
severity: critical
|
||||
severity: critical
|
|
@ -65,4 +65,4 @@ receivers:
|
|||
[{{ "{{" }} .Status | toUpper {{ "}}" }}{{ "{{" }} if eq .Status "firing" {{ "}}" }}:{{ "{{" }} .Alerts.Firing | len {{ "}}" }}{{ "{{" }} end {{ "}}" }}]
|
||||
token: "{{ .alertmanager_token }}"
|
||||
url_title: View in Alertmanager
|
||||
user_key: "{{ .userkey_jahanson }}"
|
||||
user_key: "{{ .userkey_jahanson }}"
|
|
@ -4,4 +4,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||
kind: Kustomization
|
||||
resources:
|
||||
- ./node-exporter.yaml
|
||||
- ./zfs-exporter.yaml
|
||||
- ./zfs-exporter.yaml
|
|
@ -8,4 +8,4 @@ spec:
|
|||
staticConfigs:
|
||||
- targets:
|
||||
- 10.1.1.1:9100
|
||||
metricsPath: /metrics
|
||||
metricsPath: /metrics
|
|
@ -8,4 +8,4 @@ spec:
|
|||
staticConfigs:
|
||||
- targets:
|
||||
- 10.1.1.13:9134
|
||||
metricsPath: /metrics
|
||||
metricsPath: /metrics
|
|
@ -4,4 +4,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||
kind: Kustomization
|
||||
resources:
|
||||
- ./externalsecret.yaml
|
||||
- ./helmrelease.yaml
|
||||
- ./helmrelease.yaml
|
|
@ -2,4 +2,4 @@
|
|||
type: REDIS
|
||||
config:
|
||||
addr: dragonfly.database.svc.cluster.local:6379
|
||||
db: 1
|
||||
db: 1
|
|
@ -100,4 +100,4 @@ spec:
|
|||
hostPath: /var/log
|
||||
hostPathType: Directory
|
||||
globalMounts:
|
||||
- readOnly: true
|
||||
- readOnly: true
|
|
@ -10,4 +10,4 @@ configMapGenerator:
|
|||
files:
|
||||
- vector.yaml=./resources/vector.yaml
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
disableNameSuffixHash: true
|
|
@ -19,4 +19,4 @@ roleRef:
|
|||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: vector-agent
|
||||
namespace: observability
|
||||
namespace: observability
|
|
@ -22,4 +22,4 @@ sinks:
|
|||
compression: true
|
||||
version: "2"
|
||||
address: vector-aggregator.observability.svc.cluster.local:6010
|
||||
inputs: ["kubernetes_source"]
|
||||
inputs: ["kubernetes_source"]
|
|
@ -17,4 +17,4 @@ spec:
|
|||
GEOIPUPDATE_LICENSE_KEY: "{{ .vector_license_key }}"
|
||||
dataFrom:
|
||||
- extract:
|
||||
key: maxmind
|
||||
key: maxmind
|
|
@ -10,4 +10,4 @@ configMapGenerator:
|
|||
files:
|
||||
- vector.yaml=./resources/vector.yaml
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
disableNameSuffixHash: true
|
|
@ -129,4 +129,4 @@ sinks:
|
|||
remove_label_fields: true
|
||||
remove_timestamp: true
|
||||
labels:
|
||||
hostname: '{{ host }}'
|
||||
hostname: '{{ host }}'
|
|
@ -4,4 +4,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||
kind: Kustomization
|
||||
resources:
|
||||
- ./agent
|
||||
- ./aggregator
|
||||
- ./aggregator
|
|
@ -20,4 +20,4 @@ spec:
|
|||
wait: false
|
||||
interval: 30m
|
||||
retryInterval: 1m
|
||||
timeout: 15m
|
||||
timeout: 15m
|
|
@ -6,13 +6,5 @@ resources:
|
|||
# Pre Flux-Kustomizations
|
||||
- ./namespace.yaml
|
||||
# Flux-Kustomizations
|
||||
- ./alertmanager-silencer/ks.yaml
|
||||
- ./gatus/ks.yaml
|
||||
- ./grafana/ks.yaml
|
||||
- ./kube-prometheus-stack/ks.yaml
|
||||
- ./loki/ks.yaml
|
||||
- ./smartctl-exporter/ks.yaml
|
||||
# - ./snmp-exporter/ks.yaml
|
||||
- ./thanos/ks.yaml
|
||||
# - ./unpoller/ks.yaml
|
||||
- ./vector/ks.yaml
|
Loading…
Reference in a new issue