Kubernetes StatefulSet generation mismatch
critical

Description StatefulSet {{ $labels.namespace }}/{{ $labels.statefulset }} has failed but has not been rolled back.
Query for 10m
>>>
	
				
					
				
			
				
					 != 
				
			
				
					
				
			
    
Query Explanation

The rule compares kube_statefulset_status_observed_generation (the generation the StatefulSet controller has processed) with kube_statefulset_metadata_generation (the generation defined in the object's spec). If these two values differ, it means the controller has not yet observed or applied the latest spec change—often because the update failed and the StatefulSet wasn’t rolled back—triggering the alert.

Get Alert
Download
Copy to Clipboard