ignition/kubelet.yaml

27 lines
622 B
YAML

variant: fcos
version: 1.4.0
storage:
files:
- path: /etc/systemd/system/install-kubelet.service
contents:
local: install-kubelet.service
mode: 0644
- path: /etc/modules-load.d/k8s.conf
contents:
inline: |+
br_netfilter
- path: /etc/sysctl.d/k8s.conf
contents:
inline: |+
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.ipv4.ip_forward = 1
links:
- path: /etc/resolv.conf
overwrite: true
target: ../run/systemd/resolve/resolv.conf
systemd:
units:
- name: install-kubelet.service
enabled: true