mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-02 01:58:12 -03:30
Add calico variable that enables ignoring Kernel's RPF Setting (#1493)
This commit is contained in:
committed by
Matthew Mosesohn
parent
65a9772adf
commit
c92506e2e7
@@ -30,3 +30,7 @@ calicoctl_memory_limit: 170M
|
||||
calicoctl_cpu_limit: 100m
|
||||
calicoctl_memory_requests: 32M
|
||||
calicoctl_cpu_requests: 50m
|
||||
|
||||
# Should calico ignore kernel's RPF check setting,
|
||||
# see https://github.com/projectcalico/felix/blob/ab8799eaea66627e5db7717e62fca61fd9c08646/python/calico/felix/config.py#L198
|
||||
calico_node_ignorelooserpf: false
|
||||
|
||||
@@ -20,6 +20,9 @@ ExecStart={{ docker_bin_dir }}/docker run --net=host --privileged \
|
||||
-e ETCD_CA_CERT_FILE=${ETCD_CA_CERT_FILE} \
|
||||
-e ETCD_CERT_FILE=${ETCD_CERT_FILE} \
|
||||
-e ETCD_KEY_FILE=${ETCD_KEY_FILE} \
|
||||
{% if calico_node_ignorelooserpf %}
|
||||
-e FELIX_IGNORELOOSERPF=true \
|
||||
{% endif %}
|
||||
-v /var/log/calico:/var/log/calico \
|
||||
-v /run/docker/plugins:/run/docker/plugins \
|
||||
-v /lib/modules:/lib/modules \
|
||||
|
||||
Reference in New Issue
Block a user