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
More on Best Practices & Rapid-Fire Commands
What are your top SLO and alerting best practices?IntermediateWhat are your top incident-management best practices?IntermediateRapid-fire: Prometheus and promtool commands every SRE should know.BeginnerRapid-fire: Alertmanager and amtool commands.BeginnerRapid-fire: k6 commands and flags.BeginnerRapid-fire: commands to check service health quickly during an incident on Kubernetes.Intermediate