2016-01-09 09:45:50 +00:00
|
|
|
# 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 }}"
|
2016-01-30 15:01:04 +00:00
|
|
|
{% elif kube_network_plugin == "flannel" and ansible_os_family == "RedHat" %}
|
|
|
|
DOCKER_NETWORK_OPTIONS="--bip={{ flannel_subnet }} --mtu={{ flannel_mtu }}"
|
2016-01-09 09:45:50 +00:00
|
|
|
{% elif kube_network_plugin == "flannel" %}
|
|
|
|
OPTIONS="--bip={{ flannel_subnet }} --mtu={{ flannel_mtu }}"
|
|
|
|
{% endif %}
|