Merge pull request #78183 from cheftako/masterTaint

Ensure kubernetes master is properly tainted in GCE.
This commit is contained in:
Kubernetes Prow Robot 2019-05-29 17:24:46 -07:00 committed by GitHub
commit 5c314535d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -745,6 +745,7 @@ function construct-linux-kubelet-flags {
#TODO(mikedanese): allow static pods to start before creating a client
#flags+=" --bootstrap-kubeconfig=/var/lib/kubelet/bootstrap-kubeconfig"
#flags+=" --kubeconfig=/var/lib/kubelet/kubeconfig"
flags+=" --register-with-taints=node-role.kubernetes.io/master=:NoSchedule"
flags+=" --kubeconfig=/var/lib/kubelet/bootstrap-kubeconfig"
flags+=" --register-schedulable=false"
fi