mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-09 08:55:55 -04:00
Ensure kubernetes master is properly tainted in GCE.
Factored in mtaufens suggestion.
This commit is contained in:
parent
1c10061967
commit
d574ab00e4
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue