Don't restrict etcd on self host installs b/c a clipped etcd can have

weird behaviors once it is loaded
This commit is contained in:
Timothy St. Clair 2017-02-24 11:29:07 -06:00
parent 6edd079024
commit 3e3cfcc97b

View File

@ -110,7 +110,6 @@ func WriteStaticPodManifests(cfg *kubeadmapi.MasterConfiguration) error {
VolumeMounts: []api.VolumeMount{certsVolumeMount(), etcdVolumeMount(), k8sVolumeMount()},
Image: images.GetCoreImage(images.KubeEtcdImage, cfg, kubeadmapi.GlobalEnvParams.EtcdImage),
LivenessProbe: componentProbe(2379, "/health"),
Resources: componentResources("200m"),
}, certsVolume(cfg), etcdVolume(cfg), k8sVolume(cfg))
etcdPod.Spec.SecurityContext = &api.PodSecurityContext{