Fix alertmanager alerts for kubeProxy, kubeScheduler, and kubeControllerManager
This commit is contained in:
parent
2e02abac20
commit
e0fc99a695
|
@ -8,7 +8,59 @@ spec:
|
|||
- name: gotify-bridge
|
||||
webhookConfigs:
|
||||
- url: http://alertmanager-gotify-bridge.monitoring:8080/gotify_webhook
|
||||
sendResolved: true
|
||||
sendResolved: false
|
||||
|
||||
route:
|
||||
receiver: 'gotify-bridge'
|
||||
|
||||
groupBy:
|
||||
- namespace
|
||||
|
||||
routes:
|
||||
- receiver: null
|
||||
matchers:
|
||||
- matchType: "=~"
|
||||
name: "alertname"
|
||||
value: "InfoInhibitor|Watchdog"
|
||||
continue: false
|
||||
|
||||
continue: false
|
||||
groupWait: 30s
|
||||
groupInterval: 5m
|
||||
repeatInterval: 12h
|
||||
|
||||
inhibitRules:
|
||||
- sourceMatch:
|
||||
- matchType: "="
|
||||
name: "severity"
|
||||
value: "critical"
|
||||
targetMatch:
|
||||
- matchType: "=~"
|
||||
name: "severity"
|
||||
value: "warning|info"
|
||||
equal:
|
||||
- namespace
|
||||
- alertname
|
||||
|
||||
- sourceMatch:
|
||||
- matchType: "="
|
||||
name: "severity"
|
||||
value: "warning"
|
||||
targetMatch:
|
||||
- matchType: "="
|
||||
name: "severity"
|
||||
value: "info"
|
||||
equal:
|
||||
- namespace
|
||||
- alertname
|
||||
|
||||
- sourceMatch:
|
||||
- matchType: "="
|
||||
name: "alertname"
|
||||
value: "InfoInhibitor"
|
||||
targetMatch:
|
||||
- matchType: "="
|
||||
name: "severity"
|
||||
value: "info"
|
||||
equal:
|
||||
- namespace
|
|
@ -51,10 +51,6 @@ spec:
|
|||
- *grafana-host
|
||||
secretName: wildcard-main-tls
|
||||
|
||||
# Enable this when the cluster expands to have more than a single node
|
||||
kubeEtcd:
|
||||
enabled: false
|
||||
|
||||
prometheus:
|
||||
ingress:
|
||||
enabled: true
|
||||
|
@ -70,3 +66,47 @@ spec:
|
|||
- hosts:
|
||||
- *prometheus-host
|
||||
secretName: wildcard-main-tls
|
||||
|
||||
prometheusSpec:
|
||||
enableAdminAPI: false
|
||||
|
||||
kubeControllerManager:
|
||||
enabled: true
|
||||
endpoints:
|
||||
- 192.168.87.29
|
||||
service:
|
||||
enabled: true
|
||||
port: 10257
|
||||
targetPort: 10257
|
||||
serviceMonitor:
|
||||
enabled: true
|
||||
https: true
|
||||
insecureSkipVerify: true
|
||||
|
||||
kubeScheduler:
|
||||
enabled: true
|
||||
endpoints:
|
||||
- 192.168.87.29
|
||||
service:
|
||||
enabled: true
|
||||
port: 10259
|
||||
targetPort: 10259
|
||||
serviceMonitor:
|
||||
enabled: true
|
||||
https: true
|
||||
insecureSkipVerify: true
|
||||
|
||||
kubeProxy:
|
||||
enabled: true
|
||||
endpoints:
|
||||
- 192.168.87.29
|
||||
service:
|
||||
enabled: true
|
||||
port: 10249
|
||||
targetPort: 10249
|
||||
serviceMonitor:
|
||||
enabled: true
|
||||
https: false
|
||||
|
||||
kubeEtcd:
|
||||
enabled: false
|
||||
|
|
Loading…
Reference in New Issue