Chaos experiments fail with `dial unix /var/run/docker.sock: connect: no such file or directory` on a containerd cluster.
IntermediateTroubleshootingChaos Mesh, Litmus & AWS FIS
Answer
Likely causes → Chaos Mesh was installed with the default Docker runtime settings, but the nodes run containerd (kind, EKS, GKE, most modern clusters).
Diagnose →
kubectl get nodes -o jsonpath='{.items[0].status.nodeInfo.containerRuntimeVersion}'
helm get values chaos-mesh -n chaos-mesh
Fix →
helm upgrade chaos-mesh chaos-mesh/chaos-mesh -n chaos-mesh --reuse-values \
--set chaosDaemon.runtime=containerd \
--set chaosDaemon.socketPath=/run/containerd/containerd.sock
(k3s uses /run/k3s/containerd/containerd.sock.)
Prevent → Keep Chaos Mesh values per cluster type in Git.
More on Chaos Mesh, Litmus & AWS FIS
A `NetworkChaos` delay experiment does nothing, and chaos-daemon logs show `RTNETLINK answers: No such file or directory` / `Specified qdisc kind is unknown`.Intermediate`kubectl apply -f podchaos.yaml` fails with `Internal error occurred: failed calling webhook ... context deadline exceeded`.IntermediateA `PodChaos` resource is created, but no pod is killed. The status shows no records.BeginnerYou deleted the `NetworkChaos`, but the 200 ms delay is still there and the resource is stuck in `Terminating`.Advanced`NetworkChaos` added 300 ms delay to the checkout pods, but the checkout latency SLI did not move.IntermediateA Litmus experiment pod never starts: `error looking up service account shop/pod-delete-sa: serviceaccount "pod-delete-sa" not found`.Beginner