Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for enableNodeInclusionPolicyInPodTopologySpread (0.4 sec)

  1. pkg/scheduler/framework/plugins/podtopologyspread/filtering.go

    		return
    	}
    	if !nodeLabelsMatchSpreadConstraints(node.Labels, s.Constraints) {
    		return
    	}
    
    	requiredSchedulingTerm := nodeaffinity.GetRequiredNodeAffinity(preemptorPod)
    	if !pl.enableNodeInclusionPolicyInPodTopologySpread {
    		// spreading is applied to nodes that pass those filters.
    		// Ignore parsing errors for backwards compatibility.
    		if match, _ := requiredSchedulingTerm.Match(node); !match {
    			return
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/podtopologyspread/plugin.go

    	}
    	pl := &PodTopologySpread{
    		parallelizer:       h.Parallelizer(),
    		sharedLister:       h.SnapshotSharedLister(),
    		defaultConstraints: args.DefaultConstraints,
    		enableNodeInclusionPolicyInPodTopologySpread: fts.EnableNodeInclusionPolicyInPodTopologySpread,
    		enableMatchLabelKeysInPodTopologySpread:      fts.EnableMatchLabelKeysInPodTopologySpread,
    	}
    	if args.DefaultingType == config.SystemDefaulting {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top