KubeDeploymentReplicasMismatch

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

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