Kubernetes HPA scale maximum
info

Description HPA {{ $labels.namespace }}/{{ $labels.horizontalpodautoscaler }} has hit maximum number of desired pods
Query for 2m
>>>
	
				
					(
				
			
				
					
				
			
				
					 >= 
				
			
				
					
				
			
				
					) and (
				
			
				
					
				
			
				
					 > 1) and (
				
			
				
					
				
			
				
					 != 
				
			
				
					
				
			
				
					)
				
			
    
Query Explanation

The alert triggers when a Horizontal Pod Autoscaler (HPA) is trying to scale beyond its configured ceiling: the current desired replica count (kube_horizontalpodautoscaler_status_desired_replicas) is greater than or equal to the HPA’s max replicas (kube_horizontalpodautoscaler_spec_max_replicas), the max is set to more than one pod, and the HPA’s min and max limits are not identical (so scaling is actually allowed). In this situation the HPA has reached its maximum pod count despite still having capacity to scale up.

Get Alert
Download
Copy to Clipboard