Register master node as unschedulable

Also refactor generation of kubelet args to not repeat args.
This commit is contained in:
Alexander Block
2016-12-15 10:37:14 +01:00
parent add7570a94
commit fe150d4e4d
2 changed files with 17 additions and 11 deletions

View File

@@ -21,7 +21,6 @@ ExecStart={{ bin_dir }}/kubelet \
$KUBE_ALLOW_PRIV \
$KUBELET_ARGS \
$DOCKER_SOCKET \
$KUBELET_REGISTER_NODE \
$KUBELET_NETWORK_PLUGIN \
$KUBELET_CLOUDPROVIDER
ExecStartPre=-/usr/bin/docker rm -f kubelet