updated kubernetes state
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e90e77bf53
commit
099b3ef721
@ -5,3 +5,8 @@ kubernetes:
|
|||||||
arch: amd64
|
arch: amd64
|
||||||
required_modules:
|
required_modules:
|
||||||
- br_netfilter
|
- br_netfilter
|
||||||
|
- ip_vs
|
||||||
|
- ip_vs_rr
|
||||||
|
- ip_vs_wrr
|
||||||
|
- ip_vs_sh
|
||||||
|
- nf_conntrack
|
||||||
|
@ -16,14 +16,14 @@ kubernetes-modules-load-{{ module }}:
|
|||||||
- name: modprobe {{ module }}
|
- name: modprobe {{ module }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
kubernetes-modules-loadatstartup-{{ module }}:
|
kubernetes-modules-loadatstartup:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: /etc/sysctl.d/10-kube.conf
|
- name: /etc/sysctl.d/10-kube.conf
|
||||||
- source: salt///kubernetes/templates/sysctl.conf.j2
|
- source: salt://kubernetes/templates/sysctl.conf.j2
|
||||||
- template: jinja
|
- template: jinja
|
||||||
|
|
||||||
{% for name in ['iptables', 'ip6tables'] %}
|
{% for name in ['iptables', 'ip6tables'] %}
|
||||||
kubernetes-alternatives-{{ name }}:
|
kubernetes-alternatives-{{ name }}:
|
||||||
cmd.run:
|
cmd.run:
|
||||||
- name: "update-alternatives --set {{ name }} /usr/sbin/{{ name }}"
|
- name: "update-alternatives --set {{ name }} /usr/sbin/{{ name }}-legacy"
|
||||||
{% endfor %}
|
{% endfor %}
|
Loading…
Reference in New Issue
Block a user