rename key

This commit is contained in:
tanshanshan 2017-12-21 16:06:45 +08:00
parent 1bcf0b0a22
commit 6ac0f4198a

View File

@ -64,7 +64,7 @@ const (
// The scheduler uses the annotation to find that the pod shouldn't preempt more pods // The scheduler uses the annotation to find that the pod shouldn't preempt more pods
// when it gets to the head of scheduling queue again. // when it gets to the head of scheduling queue again.
// See podEligibleToPreemptOthers() for more information. // See podEligibleToPreemptOthers() for more information.
NominatedNodeAnnotationKey = "NominatedNodeName" NominatedNodeAnnotationKey = "scheduler.kubernetes.io/nominated-node-name"
) )
// Error returns detailed information of why the pod failed to fit on each node // Error returns detailed information of why the pod failed to fit on each node