Installing the Litmus Operator

The Litmus Chaos Engineering tool can be installed using the Helm chart. Books are defined as Kubernetes jobs.

Let's perform the following steps to install Litmus in our cluster:

  1. Install the Litmus Chaos Operator:
$ kubectl apply -f https://litmuschaos.github.io/pages/litmus-operator-latest.yaml
  1. Verify that the Litmus Chaos Operator pod is running:
$ kubectl get pods -n litmus
NAME READY STATUS RESTARTS AGE
chaos-operator-ce-554d6c8f9f-46kf6 1/1 Running 0 50s
  1. Verify that the cluster role and cluster role bindings have been applied:
$ kubectl get clusterroles,clusterrolebinding,crds | grep "litmus|chaos"

Now, we have the Litmus Chaos Operator running in our cluster. Next, we need to deploy chaos experiments to test the resiliency of our cluster resources.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.59.173.242