Merge pull request #111864 from kerthcet/cleanup/remove-untrue-comments

Remove not correct annotations with node.Spec.Unschedulable
This commit is contained in:
Kubernetes Prow Robot
2022-08-26 11:30:15 -07:00
committed by GitHub

View File

@@ -68,7 +68,6 @@ func (pl *NodeUnschedulable) Filter(ctx context.Context, _ *framework.CycleState
Key: v1.TaintNodeUnschedulable,
Effect: v1.TaintEffectNoSchedule,
})
// TODO (k82cn): deprecates `node.Spec.Unschedulable` in 1.13.
if node.Spec.Unschedulable && !podToleratesUnschedulable {
return framework.NewStatus(framework.UnschedulableAndUnresolvable, ErrReasonUnschedulable)
}