When launching a new pod in my locked down RKE2 Kubernetes cluster, I sometimes see an error like the one below. Often it will automatically go away, but occasionally it persists.
Warning FailedCreatePodSandBox 2s kubelet Failed to
create pod sandbox: rpc error: code = Unknown desc = failed to create
containerd task: failed to create shim task: OCI runtime create
failed: unable to retrieve OCI runtime error (open
/run/k3s/containerd/io.containerd.runtime.v2.task/k8s.io/4f71ef21006a0271191c09b9bfc31da67d56bffc5cce0d85f8634be8182e59fd/log.json:
no such file or directory): fork/exec
/var/lib/rancher/rke2/data/v1.29.2-rke2r1-8bfebc2d9089/bin/runc:
operation not permitted: unknown
What causes this error and how can I keep it from disrupting my pod deployments?
2