Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
4b80a7f6
Unverified
Commit
4b80a7f6
authored
4 years ago
by
Konstantin Lebedev
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Felix configuration via extraenvs of calico node (#6433)
parent
e06e6895
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/calico.md
+9
-0
9 additions, 0 deletions
docs/calico.md
roles/network_plugin/calico/templates/calico-node.yml.j2
+6
-0
6 additions, 0 deletions
roles/network_plugin/calico/templates/calico-node.yml.j2
with
15 additions
and
0 deletions
docs/calico.md
+
9
−
0
View file @
4b80a7f6
...
...
@@ -235,6 +235,15 @@ Note that in OpenStack you must allow `ipip` traffic in your security groups,
otherwise you will experience timeouts.
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
neutron security-group-rule-create --protocol 4 --direction egress k8s-a0tp4t
neutron security-group-rule-create --protocol 4 --direction igress k8s-a0tp4t
...
...
This diff is collapsed.
Click to expand it.
roles/network_plugin/calico/templates/calico-node.yml.j2
+
6
−
0
View file @
4b80a7f6
...
...
@@ -267,6 +267,12 @@ spec:
value: "true"
- name: FELIX_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:
privileged: true
resources:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment