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

Litmus `pod-delete` fails: `pods is forbidden: User "system:serviceaccount:shop:pod-delete-sa" cannot delete resource "pods" in API group "" in the namespace "shop"`.

BeginnerTroubleshootingChaos Mesh, Litmus & AWS FIS
Answer

Likely causes → The ServiceAccount exists, but its Role lacks the delete verb on pods (or the RoleBinding points to another namespace).

Diagnose →

kubectl auth can-i delete pods -n shop --as=system:serviceaccount:shop:pod-delete-sa
kubectl describe rolebinding -n shop | grep -A3 pod-delete

Fix → Grant the minimum needed verbs (get, list, delete on pods; create on events; access to chaosengines and chaosresults).

Prevent → Use the RBAC manifests that ship with each ChaosHub experiment and test them in staging.

All SRE & Reliability questions Roadmap: SRE & incident response

More on Chaos Mesh, Litmus & AWS FIS