Chaos Mesh
Installation
Setup Helm repository:
$ helm repo add chaos-mesh https://charts.chaos-mesh.org
$ helm repo update
Create custom resource type:
$ curl -sSL https://mirrors.chaos-mesh.org/v0.9.1/crd.yaml | kubectl apply -f -
Deploy Chaos Mesh chart:
$ helm install chaos-mesh chaos-mesh/chaos-mesh \
--version 0.3.3 \
--namespace=chaos \
--create-namespace \
--set dashboard.create=true \
--set controllerManager.nodeSelector.role=exp-control \
--set dashboard.nodeSelector.role=exp-control
Cleanup
Delete Chaos Mesh chart release:
$ helm -n chaos delete chaos-mesh
Remove Chaos Mesh CRDs:
$ kubectl delete crds $(kubectl get crds |grep "chaos-mesh.org" |awk '{print $1}')