20
loading...
This website collects cookies to deliver better user experience
ChaosEngine: A resource to link a Kubernetes application or Kubernetes node to a ChaosExperiment. ChaosEngine is watched by Litmus’ Chaos-Operator which then invokes Chaos-Experiments
ChaosExperiment: A resource to group the configuration parameters of a chaos experiment. ChaosExperiment CRs are created by the operator when experiments are invoked by ChaosEngine.
ChaosResult: A resource to hold the results of a chaos experiment. The Chaos-exporter reads the results and exports the metrics into a configured Prometheus server.
Azure CLI — How to install on Linux/Debian
kubectl — How to install on Linux
helm repo add litmuschaos [https://litmuschaos.github.io/litmus-helm/](https://litmuschaos.github.io/litmus-helm/)
helm repo list
kubectl create ns litmus
helm install chaos litmuschaos/litmus-2–0–0-beta --namespace=litmus --devel --set portalScope=namespace
helm install --name chaos litmuschaos/litmus-2–0–0-beta --namespace=litmus --devel --set portalScope=namespace
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/master/litmus-portal/litmus-portal-crds.yml
kubectl edit svc litmusportal-frontend-service -n litmus
spec:
clusterIP: xxxxxxx
externalTrafficPolicy: Cluster
ports:
— name: http
nodePort: xxxxx
port: 9091
protocol: TCP
targetPort: 8080
selector:
app.kubernetes.io/component: litmus-2–0–0-beta-frontend
sessionAffinity: None
# Change the type here from NodePort to LoadBalancer
type: LoadBalancer
<external-ip>:9091
username: admin
password: litmus