Kubernetes Volume full in four days
critical

Description Volume under {{ $labels.namespace }}/{{ $labels.persistentvolumeclaim }} is expected to fill up within four days. Currently {{ $value | humanize }}% is available.
Query
>>>
	
				
					
					
						predict_linear
					
				
			
				
					(
				
			
				
					
				
			
				
					[6h
				
			
				
					
				
			
				
					5m], 4 * 24 * 3600) < 0
				
			
    
Query Explanation

The rule looks at the last 6 hours of kubelet_volume_stats_available_bytes for each PersistentVolumeClaim, fits a linear trend and predicts the available bytes 4 days (4 × 24 × 3600 seconds) into the future; if that prediction is negative (i.e., predicted free space < 0), the alert fires, indicating the volume is expected to be full within four days.

Get Alert
Download
Copy to Clipboard