Vanilla Kubernetes
This page is under construction!
Things to be captured here:
- The
kubelet
running on worker nodes expectssystemd-resolved
to be used, whereas Raspberry Pi OS usesdhcpcd
instead. As with Rocky Linux users in this kubeadm issue, Raspberry Pi OS required a symbolic link from/etc/resolv.conf
to/run/systemd/resolve
. - The CNI plugin seems to be a requirement. Nodes can be connected as workers, but some pods seem to require Calico or another CNI plugin to be running.
- Calico needs to be created
kubectl -f create
notapply
, because the annotations for one of its CRDs exceeeds the allowed bytes length. So unfortunately Kustomize can't be used. - If running with swap disabled on WSL 2, beware the
swapoff -a
is a session-only change, not a permanent one, and that there is no/etc/fstab
to modify. Instead, use the.wslconfig
swap setting to disable swap for WSL 2 VMs.