44 lines
870 B
YAML
44 lines
870 B
YAML
variant: fcos
|
|
version: 1.4.0
|
|
ignition:
|
|
config:
|
|
merge:
|
|
- local: packages.ign
|
|
|
|
storage:
|
|
files:
|
|
- path: /etc/ignition/packages.d/kubelet
|
|
mode: 0644
|
|
contents:
|
|
inline: |
|
|
cri-o
|
|
kubernetes-node
|
|
kubernetes-kubeadm
|
|
|
|
- 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
|
|
|
|
- path: /etc/systemd/system/after-install.target.wants/crio.service
|
|
target: /usr/lib/systemd/system/crio.service
|
|
|
|
systemd:
|
|
units:
|
|
- name: crio.service
|
|
enabled: true
|
|
- name: kubelet.service
|
|
enabled: true
|