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
|
||||
required_modules:
|
||||
- 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 }}
|
||||
{% endfor %}
|
||||
|
||||
kubernetes-modules-loadatstartup-{{ module }}:
|
||||
kubernetes-modules-loadatstartup:
|
||||
file.managed:
|
||||
- name: /etc/sysctl.d/10-kube.conf
|
||||
- source: salt///kubernetes/templates/sysctl.conf.j2
|
||||
- source: salt://kubernetes/templates/sysctl.conf.j2
|
||||
- template: jinja
|
||||
|
||||
{% for name in ['iptables', 'ip6tables'] %}
|
||||
kubernetes-alternatives-{{ name }}:
|
||||
cmd.run:
|
||||
- name: "update-alternatives --set {{ name }} /usr/sbin/{{ name }}"
|
||||
- name: "update-alternatives --set {{ name }} /usr/sbin/{{ name }}-legacy"
|
||||
{% endfor %}
|
Loading…
Reference in New Issue
Block a user