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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
ac4ef719
Commit
ac4ef719
authored
Aug 29, 2018
by
Fernando Crespo Grávalos
Committed by
Fernando Crespo
Aug 29, 2018
Browse files
Options
Downloads
Patches
Plain Diff
canal should mount xtables.lock to share the lock with other processes like kube-proxy
parent
f876c890
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/network_plugin/canal/templates/canal-node.yaml.j2
+7
-0
7 additions, 0 deletions
roles/network_plugin/canal/templates/canal-node.yaml.j2
with
7 additions
and
0 deletions
roles/network_plugin/canal/templates/canal-node.yaml.j2
+
7
−
0
View file @
ac4ef719
...
...
@@ -51,6 +51,10 @@ spec:
- name: "canal-certs"
hostPath:
path: "{{ canal_cert_dir }}"
- name: xtables-lock
hostPath:
path: /run/xtables.lock
type: FileOrCreate
containers:
# Runs the flannel daemon to enable vxlan networking between
# container hosts.
...
...
@@ -128,6 +132,9 @@ spec:
- name: "canal-certs"
mountPath: "{{ canal_cert_dir }}"
readOnly: true
- name: xtables-lock
mountPath: /run/xtables.lock
readOnly: false
# Runs calico/node container on each Kubernetes node. This
# container programs network policy and local routes on each
# host.
...
...
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