@cryptotaxi247 / netdata-1 / commits / 52ed71542

add k8s_state_deployment_condition_available alert (#19664)

Ilya Mashchenko committed Feb 17, 2025 at 22:44 UTC 52ed7154297facb530a379d51d4d5c4bdaf48c19
1 file changed +14
src/health/health.d/k8sstate.conf new
+14
@@ -0,0 +1,14 @@
1 +
2 + template: k8s_state_deployment_condition_available
3 + on: k8s_state.deployment_conditions
4 + class: Error
5 + type: Kubernetes
6 +component: Deployment
7 + every: 10s
8 + units: status
9 + calc: $available
10 + warn: $this == 0
11 + delay: down 5m
12 + summary: Deployment ${label:k8s_deployment_name} does not have the minimum required replicas
13 + info: Deployment ${label:k8s_deployment_name} does not have the minimum required replicas
14 + to: silent