Kubernetes HPA scale inability
warning

Description HPA {{ $labels.namespace }}/{{ $labels.horizontalpodautoscaler }} is unable to scale
Query for 2m
>>>
	
				
					(
				
			
				
					
				
			
				
					 - 
				
			
				
					
				
			
				
					) * on (horizontalpodautoscaler,namespace) (
				
			
				
					
				
			
				
					{condition="ScalingLimited", status="true"} == 1) == 0
				
			
    
Query Explanation

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.

Get Alert
Download
Copy to Clipboard