Kubernetes HPA scale inability warning
>>>
(
kube_horizontalpodautoscaler_spec_max_replicas
-
kube_horizontalpodautoscaler_status_desired_replicas
) * on (horizontalpodautoscaler,namespace) (
kube_horizontalpodautoscaler_status_condition
{condition="ScalingLimited", status="true"} == 1) == 0
The query selects HPAs where the ScalingLimited condition is true and checks if the remaining capacity (maxReplicas - desiredReplicas) is zero; when this is the case, the HPA cannot scale further. The alert fires when an HPA has reached its maximum replica limit while scaling is limited.
Exporters Used
Related Alerts
Kubernetes API client errors
Kubernetes API server errors
Kubernetes API server latency
Kubernetes Container oom killer
Kubernetes CronJob suspended
Kubernetes CronJob too long
Kubernetes DaemonSet misscheduled
Kubernetes DaemonSet rollout stuck
Kubernetes Deployment generation mismatch
Kubernetes Deployment replicas mismatch
Kubernetes HPA metrics unavailability
Kubernetes HPA scale maximum
Kubernetes HPA underutilized
Kubernetes Job failed
Kubernetes Job not starting
Kubernetes Job slow completion
Kubernetes Node disk pressure
Kubernetes Node memory pressure
Kubernetes Node network unavailable
Kubernetes Node not ready
Kubernetes Node out of pod capacity
Kubernetes Node scheduling disabled
Kubernetes PersistentVolume error
Kubernetes PersistentVolumeClaim pending
Kubernetes Pod not healthy
Kubernetes ReplicaSet replicas mismatch
Kubernetes StatefulSet down
Kubernetes StatefulSet generation mismatch
Kubernetes StatefulSet replicas mismatch
Kubernetes StatefulSet update not rolled out
Kubernetes Volume full in four days
Kubernetes Volume out of disk space
Kubernetes client certificate expires next week
Kubernetes client certificate expires soon
Kubernetes pod crash looping