Skip to content
Snippets Groups Projects
Unverified Commit 2de6da25 authored by Chad Swenson's avatar Chad Swenson Committed by GitHub
Browse files

Merge pull request #2312 from woopstar/patch-7

Added iptables lock fix and ajusted oom-score
parents f13e76d0 41ca67bf
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,7 @@ spec:
- --bind-address={{ ip | default(ansible_default_ipv4.address) }}
- --cluster-cidr={{ kube_pods_subnet }}
- --proxy-mode={{ kube_proxy_mode }}
- --oom-score-adj=-998
{% if kube_proxy_masquerade_all and kube_proxy_mode == "iptables" %}
- --masquerade-all
{% elif kube_proxy_mode == 'ipvs' %}
......@@ -59,6 +60,9 @@ spec:
- mountPath: /lib/modules
name: lib-modules
readOnly: true
- mountPath: /run/xtables.lock
name: xtables-lock
readOnly: false
volumes:
- name: ssl-certs-host
hostPath:
......@@ -79,3 +83,7 @@ spec:
- hostPath:
path: /lib/modules
name: lib-modules
- hostPath:
path: /run/xtables.lock
type: FileOrCreate
name: xtables-lock
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment