Skip to content

Commit

Permalink
Merge pull request #22 from iflix/kubeproxy-iptables-lock-fix
Browse files Browse the repository at this point in the history
kube-proxy - fix isolated xtables lock
  • Loading branch information
sukenshah authored Feb 25, 2019
2 parents 52f6202 + 90e8ede commit aeff462
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/controlplane/config/templates/cloud-config-controller
Original file line number Diff line number Diff line change
Expand Up @@ -3120,6 +3120,9 @@ write_files:
- mountPath: /etc/kubernetes/kube-proxy
name: kube-proxy-config
readOnly: true
- mountPath: /run/xtables.lock
name: xtables
readOnly: false
volumes:
{{if .KubeProxy.IPVSMode.Enabled -}}
- name: lib-modules
Expand All @@ -3132,6 +3135,9 @@ write_files:
- name: kube-proxy-config
configMap:
name: kube-proxy-config
- name: xtables
hostPath:
path: /run/xtables.lock

- path: /etc/kubernetes/manifests/kube-apiserver.yaml
content: |
Expand Down

0 comments on commit aeff462

Please sign in to comment.