In practice – injecting chaos into systems
Since we talked about two distinct but correlated methods, we added a second simulation lab based on chaos engineering. This lab relies on the LitmusChaos framework, which has one of the best chaos testing systems for Kubernetes deployments. We deploy LitmusChaos to the Kubernetes cluster as Custom Resource Definitions (CRDs), which is why we particularly like it.
You will need the following pre-requisite knowledge to appreciate this lab:
- Familiarity with JavaScript and Node.js
- Basic understanding of Kubernetes, operators, and CRDs
We divide this second practical lab into three sections as usual:
- Lab architecture
- Lab contents
- Lab instructions
Let’s begin with understanding the design for this chaos simulation lab first.
Lab architecture
This chaos engineering lab deploys the latest stable LitmusChaos operator to a GKE cluster and a simple Node.js web application. It would be...