Ensure kubernetes master is properly tainted in GCE.

Factored in mtaufens suggestion.
This commit is contained in:
walter 2019-05-20 23:24:30 -07:00
parent 1c10061967
commit d574ab00e4

View File

@ -746,6 +746,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