This is a niche problem, but these steps worked for me. Proxmox 6.1-5 with microk8s v1.18.0 running in an LXC container. Tested with actions-runner-controller 0.4.1.
- Need to add
--allow-privileged=true
to /var/snap/microk8s/current/args/kube-apiserver- Then restart the API server:
sudo systemctl restart snap.microk8s.daemon-apiserver.service
- If this is a cluster of nodes, then this change needs to be applied on node hosting the control plane
- Then restart the API server:
- Enable "Create device nodes" feature for the container (Options > Features)
- Add to LXC container config:
lxc.cgroup.devices.allow: a