mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-13 15:09:40 -02:30
Flannel running as pod
This commit is contained in:
6
roles/network_plugin/templates/docker
Normal file
6
roles/network_plugin/templates/docker
Normal file
@@ -0,0 +1,6 @@
|
||||
# Deployed by Ansible
|
||||
{% if init_system == "sysvinit" and kube_network_plugin == "flannel" and ansible_os_family == "Debian" %}
|
||||
DOCKER_OPTS="--bip={{ flannel_subnet }} --mtu={{ flannel_mtu }}"
|
||||
{% elif kube_network_plugin == "flannel" %}
|
||||
OPTIONS="--bip={{ flannel_subnet }} --mtu={{ flannel_mtu }}"
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user