updated kubernetes state
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2022-08-27 10:55:45 +02:00
parent e90e77bf53
commit 099b3ef721
2 changed files with 8 additions and 3 deletions

View File

@ -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

View File

@ -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 %}