Kubernetes StatefulSet update not rolled out
warning

Description StatefulSet {{ $labels.namespace }}/{{ $labels.statefulset }} update has not been rolled out.
Query for 10m
>>>
	
				
					max without (revision) (
				
			
				
					
				
			
				
					 unless 
				
			
				
					
				
			
				
					) * (
				
			
				
					
				
			
				
					 != 
				
			
				
					
				
			
				
					)
				
			
    
Query Explanation

The expression finds any StatefulSet whose kube_statefulset_status_current_revision metric exists but the kube_statefulset_status_update_revision metric is absent (meaning an update is pending) and whose total replicas (kube_statefulset_replicas) differ from the number of replicas that have been updated (kube_statefulset_status_replicas_updated). If this condition is true for at least one StatefulSet (the max without (revision) yields a non‑zero value), the alert fires, indicating the update has not been fully rolled out.

Get Alert
Download
Copy to Clipboard