Felix configuration via extraenvs of calico node (#6433)
parent
e06e6895da
commit
4b80a7f6fe
|
@ -235,6 +235,15 @@ Note that in OpenStack you must allow `ipip` traffic in your security groups,
|
||||||
otherwise you will experience timeouts.
|
otherwise you will experience timeouts.
|
||||||
To do this you must add a rule which allows it, for example:
|
To do this you must add a rule which allows it, for example:
|
||||||
|
|
||||||
|
### Optional : Felix configuration via extraenvs of calico node
|
||||||
|
|
||||||
|
Possible environment variable parameters for [configuring Felix](https://docs.projectcalico.org/reference/felix/configuration)
|
||||||
|
|
||||||
|
```yml
|
||||||
|
calico_node_extra_envs:
|
||||||
|
FELIX_DEVICEROUTESOURCEADDRESS: 172.17.0.1
|
||||||
|
```
|
||||||
|
|
||||||
```ShellSession
|
```ShellSession
|
||||||
neutron security-group-rule-create --protocol 4 --direction egress k8s-a0tp4t
|
neutron security-group-rule-create --protocol 4 --direction egress k8s-a0tp4t
|
||||||
neutron security-group-rule-create --protocol 4 --direction igress k8s-a0tp4t
|
neutron security-group-rule-create --protocol 4 --direction igress k8s-a0tp4t
|
||||||
|
|
|
@ -267,6 +267,12 @@ spec:
|
||||||
value: "true"
|
value: "true"
|
||||||
- name: FELIX_IGNORELOOSERPF
|
- name: FELIX_IGNORELOOSERPF
|
||||||
value: "{{ calico_node_ignorelooserpf }}"
|
value: "{{ calico_node_ignorelooserpf }}"
|
||||||
|
{% if calico_node_extra_envs is defined %}
|
||||||
|
{% for key in calico_node_extra_envs %}
|
||||||
|
- name: {{ key }}
|
||||||
|
value: "{{ calico_node_extra_envs[key] }}"
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
resources:
|
resources:
|
||||||
|
|
Loading…
Reference in New Issue