Interview Prep/SRE & Reliability/Best Practices & Rapid-Fire Commands

Rapid-fire: Chaos Mesh and kubectl commands for chaos experiments.

IntermediateConceptBest Practices & Rapid-Fire Commands
Answer
kubectl apply -f podchaos-kill.yaml
kubectl get podchaos,networkchaos,stresschaos -A
kubectl describe networkchaos inventory-latency -n shop   # check status.conditions and events
kubectl annotate networkchaos inventory-latency -n shop experiment.chaos-mesh.org/pause=true
kubectl delete networkchaos inventory-latency -n shop     # stop and recover
kubectl get pods -n chaos-mesh                             # controller-manager, chaos-daemon, dashboard
kubectl logs -n chaos-mesh ds/chaos-daemon --tail=50
All SRE & Reliability questions

More on Best Practices & Rapid-Fire Commands