Require nodeName for mirror pods, make mirror pod annotation immutable

Kubernetes-commit: cd3a1187a1736985ea32111a61646ab691849a4d
This commit is contained in:
Jordan Liggitt 2017-05-13 15:48:44 -04:00 committed by Kubernetes Publisher
parent 8a36291845
commit fdfa162aed

View File

@ -17,6 +17,9 @@ limitations under the License.
package api
const (
// MirrorAnnotationKey represents the annotation key set by kubelets when creating mirror pods
MirrorPodAnnotationKey string = "kubernetes.io/config.mirror"
// TolerationsAnnotationKey represents the key of tolerations data (json serialized)
// in the Annotations of a Pod.
TolerationsAnnotationKey string = "scheduler.alpha.kubernetes.io/tolerations"