Kubernetes API client errors
critical

Description Kubernetes API client is experiencing high error rate
Query for 2m
>>>
	
				
					(
				
			
				
					
					
						sum
					
				
			
				
					(
				
			
				
					
					
						rate
					
				
			
				
					(
				
			
				
					
				
			
				
					{code=~"(4|5).."}[1m])) by (instance, job) / 
				
			
				
					
					
						sum
					
				
			
				
					(
				
			
				
					
					
						rate
					
				
			
				
					(
				
			
				
					
				
			
				
					[1m])) by (instance, job)) * 100 > 1
				
			
    
Query Explanation

The query computes, per instance and job, the ratio of client requests that returned 4xx or 5xx HTTP status codes to the total number of client requests over the last minute, expressed as a percentage. The alert triggers when this error rate exceeds 1 % for any instance/job.

Get Alert
Download
Copy to Clipboard