mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-13 13:44:41 -03:30
Add CNI config for rkt kubelet (#1579)
This commit is contained in:
@@ -32,7 +32,7 @@ ExecStart=/usr/bin/rkt run \
|
||||
--volume var-lib-docker,kind=host,source={{ docker_daemon_graph }},readOnly=false \
|
||||
--volume var-lib-kubelet,kind=host,source=/var/lib/kubelet,readOnly=false,recursive=true \
|
||||
--volume var-log,kind=host,source=/var/log \
|
||||
{% if kube_network_plugin in ["calico", "weave", "canal"] %}
|
||||
{% if kube_network_plugin in ["calico", "weave", "canal", "flannel"] %}
|
||||
--volume etc-cni,kind=host,source=/etc/cni,readOnly=true \
|
||||
--volume opt-cni,kind=host,source=/opt/cni,readOnly=true \
|
||||
--volume var-lib-cni,kind=host,source=/var/lib/cni,readOnly=false \
|
||||
|
||||
Reference in New Issue
Block a user