Merge pull request #97521 from lixiaobing1/nodeselector

add node selector info in ErrReasonPod
This commit is contained in:
Kubernetes Prow Robot 2021-01-04 16:13:56 -08:00 committed by GitHub
commit 3e36f78c42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ const (
preScoreStateKey = "PreScore" + Name
// ErrReasonPod is the reason for Pod's node affinity/selector not matching.
ErrReasonPod = "node(s) didn't match Pod's node affinity"
ErrReasonPod = "node(s) didn't match Pod's node affinity/selector"
// errReasonEnforced is the reason for added node affinity not matching.
errReasonEnforced = "node(s) didn't match scheduler-enforced node affinity"