Require nodeName for mirror pods, make mirror pod annotation immutable

This commit is contained in:
Jordan Liggitt
2017-05-13 15:48:44 -04:00
parent 5c23dc7897
commit cd3a1187a1
7 changed files with 67 additions and 10 deletions

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"