Merge pull request #112357 from SataQiu/deprecated-20220907

kube-scheduler: add taints filtering logic consistent with TaintToleration plugin for PodTopologySpread plugin
This commit is contained in:
Kubernetes Prow Robot
2022-09-16 18:14:27 -07:00
committed by GitHub
6 changed files with 96 additions and 9 deletions

View File

@@ -57,7 +57,7 @@ const pollInterval = 100 * time.Millisecond
var (
ignorePolicy = v1.NodeInclusionPolicyIgnore
honorPolicy = v1.NodeInclusionPolicyHonor
taints = []v1.Taint{{Key: v1.TaintNodeUnschedulable, Value: "", Effect: v1.TaintEffectPreferNoSchedule}}
taints = []v1.Taint{{Key: v1.TaintNodeUnschedulable, Value: "", Effect: v1.TaintEffectNoSchedule}}
)
// TestInterPodAffinity verifies that scheduler's inter pod affinity and