GUI CSS: Refactored wato styles to nested structure meeting sasslint requirements...
[check_mk.git] / checkman / k8s_replicas
blobe354d7ab3315b0d3af61deae1368a3a79d32a544
1 title: Kubernetes replicas
2 agents: kubernetes
3 catalog: containerization/kubernetes
4 license: GPL
5 distribution: check_mk
6 description:
7  This check monitors the number of replicas in a Kubernetes deployment.
8  The state of the check is dependent on the configuration of the deployment
9  in Kubernetes.
11  If a deployment is paused or defined with the strategy "Recreate" the
12  check will always return {OK}. If a deployment uses the strategy
13  "RollingUpdate" the check will return {CRIT} if the number of ready replicas
14  falls below the maximum unavailable limit or rises above the max surge
15  limit.
17  The maximum unavailable and maximum surge limits of Kubernetes can be
18  either absolute or in percent. Surge levels in percent are rounded up and
19  unavailable levels are rounded down. Even a definition of mixed levels
20  is possible. If e.g. 10 replicas are expected and max unavailable is 1
21  and max surge is 25% the check will return {CRIT} if the number of
22  is below 9 or raises above 13 replicas, respectively.
24 inventory:
25  One service is created.