Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for nodeAffinityPolicyInUse (0.56 sec)

  1. pkg/api/pod/util.go

    		if len(c.MatchLabelKeys) > 0 {
    			return true
    		}
    	}
    	return false
    }
    
    // nodeAffinityPolicyInUse returns true if the pod spec is non-nil and has NodeAffinityPolicy field set
    // in TopologySpreadConstraints
    func nodeAffinityPolicyInUse(podSpec *api.PodSpec) bool {
    	if podSpec == nil {
    		return false
    	}
    	for _, c := range podSpec.TopologySpreadConstraints {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41.3K bytes
    - Viewed (0)
Back to top