Interview Prep/SRE & Reliability/Chaos Mesh, Litmus & AWS FIS

`kubectl apply -f podchaos.yaml` fails with `Internal error occurred: failed calling webhook ... context deadline exceeded`.

IntermediateTroubleshootingChaos Mesh, Litmus & AWS FIS
Answer

Likely causes → The Chaos Mesh admission webhook (served by the controller manager) is unreachable: controller pods not ready, a NetworkPolicy blocks the API server, or on private clusters the control plane cannot reach the webhook port.

Diagnose →

kubectl get pods -n chaos-mesh
kubectl get validatingwebhookconfigurations,mutatingwebhookconfigurations | grep -i chaos
kubectl logs -n chaos-mesh deploy/chaos-controller-manager --tail=50

Fix → Restore the controller manager, allow API server traffic to the webhook port, and on private GKE/EKS clusters open the firewall or security group rule for that port.

Prevent → Monitor the chaos controller like any other platform component.

All SRE & Reliability questions Roadmap: SRE & incident response

More on Chaos Mesh, Litmus & AWS FIS