Fix the container bridge so that it can create cbr0
Fix the kubelet so that it tries to sync status, even if Docker is down
This commit is contained in:
@@ -3,9 +3,5 @@ DOCKER_OPTS=""
|
||||
DOCKER_OPTS="${DOCKER_OPTS} {{grains.docker_opts}}"
|
||||
{% endif %}
|
||||
|
||||
{% set docker_bridge = "" %}
|
||||
{% if grains['roles'][0] == 'kubernetes-pool' %}
|
||||
{% set docker_bridge = "--bridge cbr0" %}
|
||||
{% endif %}
|
||||
DOCKER_OPTS="${DOCKER_OPTS} {{docker_bridge}} --iptables=false --ip-masq=false"
|
||||
DOCKER_OPTS="${DOCKER_OPTS} --bridge=cbr0 --iptables=false --ip-masq=false"
|
||||
DOCKER_NOFILE=1000000
|
||||
|
Reference in New Issue
Block a user