KubeStatefulSetReplicasMismatch

Reference information for KubeStatefulSetReplicasMismatch used as part of Pulse in CDP Private Cloud Data Services.

Summary
Deployment has not matched the expected number of replicas.
PromQL Expression
( kube_statefulset_status_replicas_ready{component="kube-state-metrics",appType="{{ $app.code }}"} != kube_statefulset_status_replicas{component="kube-state-metrics",appType="{{ $app.code }}"} ) and ( changes(kube_statefulset_status_replicas_updated{component="kube-state-metrics",appType="{{ $app.code }}"}[5m]) == 0 )
Time Period
15m
Severity
critical
Source
environments/{{ $app.code }}