mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-11-03 23:40:03 +00:00 
			
		
		
		
	cleanup: add update notice in origin file & make it diff cleanly
This commit is contained in:
		@@ -34,6 +34,7 @@ func isSupportedQoSComputeResource(name core.ResourceName) bool {
 | 
			
		||||
// A pod is besteffort if none of its containers have specified any requests or limits.
 | 
			
		||||
// A pod is guaranteed only when requests and limits are specified for all the containers and they are equal.
 | 
			
		||||
// A pod is burstable if limits and requests do not match across all containers.
 | 
			
		||||
// When this function is updated please also update staging/src/k8s.io/kubectl/pkg/util/qos/qos.go
 | 
			
		||||
func GetPodQOS(pod *core.Pod) core.PodQOSClass {
 | 
			
		||||
	requests := core.ResourceList{}
 | 
			
		||||
	limits := core.ResourceList{}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user