updated kubernetes state
This commit is contained in:
parent
8be1f8d305
commit
ebbb961d6d
@ -7,7 +7,3 @@ kubernetes-containerd-conf:
|
|||||||
- template: jinja
|
- template: jinja
|
||||||
- watch_in:
|
- watch_in:
|
||||||
- service: kubernetes-containerd-service
|
- service: kubernetes-containerd-service
|
||||||
|
|
||||||
kubernetes-containerd-reset-cni:
|
|
||||||
file.absent:
|
|
||||||
- name: /etc/cni/net.d/10-flannel.conflist
|
|
||||||
|
@ -14,3 +14,7 @@ kubernetes:
|
|||||||
net.ipv4.ip_forward: 1
|
net.ipv4.ip_forward: 1
|
||||||
net.ipv6.conf.all.forwarding: 1
|
net.ipv6.conf.all.forwarding: 1
|
||||||
net.ipv6.conf.all.disable_ipv6: 0
|
net.ipv6.conf.all.disable_ipv6: 0
|
||||||
|
services:
|
||||||
|
- kubelet
|
||||||
|
- containerd
|
||||||
|
- systemd-resolved
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
---
|
---
|
||||||
{%- from "kubernetes/map.jinja" import kubernetes with context %}
|
{%- from "kubernetes/map.jinja" import kubernetes with context %}
|
||||||
kubernetes-containerd-service:
|
{%- for service in kubernetes.services %}
|
||||||
|
kubernetes-{{ service }}-service:
|
||||||
service.running:
|
service.running:
|
||||||
- name: containerd
|
- name: {{ service }}
|
||||||
|
|
||||||
kubernetes-systemd-resolved:
|
|
||||||
service.running:
|
|
||||||
- name: systemd-resolved
|
|
||||||
- enable: true
|
- enable: true
|
||||||
|
{%- endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user