Litmus is an open source toolset that's used to run chaos experiments in Kubernetes. Litmus provides the Chaos Central Registration Depository (CRD) for cloud-native developers and SREs to inject, orchestrate, and monitor chaos to find potential weaknesses in Kubernetes deployments in real time in production. In this section, we will run some of these chaos experiments to validate the resiliency of the systems. You will learn how to build pipelines for CI and end-to-end testing in order to validate and certify the new Kubernetes version.
Getting ready
Clone the k8sdevopscookbook/src repository to your workstation to be able to use the manifest files under the chapter4 directory:
$ git clone https://github.com/k8sdevopscookbook/src.git
$ cd src/chapter4
Make sure you have a Kubernetes cluster ready and kubectl and helm configured so that you can manage the cluster resources.
How to do it…
This section is further divided into the...