|
|
@ -27,6 +27,8 @@ KUBELET_ARGS="--kubeconfig={{ kube_config_dir}}/kubelet.kubeconfig --require-kub |
|
|
|
KUBELET_NETWORK_PLUGIN="--network-plugin=cni --network-plugin-dir=/etc/cni/net.d" |
|
|
|
{% elif kube_network_plugin is defined and kube_network_plugin == "weave" %} |
|
|
|
DOCKER_SOCKET="--docker-endpoint=unix:/var/run/weave/weave.sock" |
|
|
|
{% elif kube_network_plugin is defined and kube_network_plugin == "cloud" %} |
|
|
|
KUBELET_NETWORK_PLUGIN="--hairpin-mode=promiscuous-bridge --network-plugin=kubenet" |
|
|
|
{% endif %} |
|
|
|
# Should this cluster be allowed to run privileged docker containers |
|
|
|
KUBE_ALLOW_PRIV="--allow-privileged=true" |
|
|
|