Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsCriticalPodBasedOnPriority (0.18 sec)

  1. pkg/kubelet/types/pod_update.go

    		return *(preemptor.Spec.Priority) > *(preemptee.Spec.Priority)
    	}
    
    	return false
    }
    
    // IsCriticalPodBasedOnPriority checks if the given pod is a critical pod based on priority resolved from pod Spec.
    func IsCriticalPodBasedOnPriority(priority int32) bool {
    	return priority >= scheduling.SystemCriticalPriority
    }
    
    // IsNodeCriticalPod checks if the given pod is a system-node-critical
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 22:26:12 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top