kindcontainer icon indicating copy to clipboard operation
kindcontainer copied to clipboard

k3 fails to start using podman rootless

Open cmoulliard opened this issue 10 months ago • 1 comments

Issue

The k3 kubernetes cluster fails to start using podman rootless as kubelet reports the following error

Error: failed to run Kubelet: failed to create kubelet: open /dev/kmsg: operation not permitted
time="2025-02-27T13:43:30Z" level=error msg="kubelet exited: failed to run Kubelet: failed to create kubelet: open /dev/kmsg: operation not permitted"

This issue is related to what we fixed for kind as this feature gate is missing

apiVersion: kubelet.config.k8s.io/v1beta1
kind: KubeletConfiguration
featureGates:
  KubeletInUserNamespace: true

cmoulliard avatar Feb 27 '25 13:02 cmoulliard