-
Book Overview & Buying
-
Table Of Contents
The Platform Engineer's Handbook
By :
Objective: This exercise walks you through installing Chaos Mesh on your Kind cluster, deploying a target workload, and running a pod-kill experiment to observe how Kubernetes' self-healing mechanisms respond under failure conditions.
Step 1 — Install Chaos Mesh
Add the Chaos Mesh Helm repository to your local Helm configuration and update your repository index. Then install the Chaos Mesh controller into a dedicated namespace called chaos-mesh, creating the namespace as part of the install. Before proceeding to the next step, confirm that both the chaos-controller-manager and chaos-dashboard deployments have rolled out successfully and all pods are in a Running state.
Step 2 — Deploy the target application
Create a new namespace called chaos-testing to isolate your experiment workloads from the rest of the cluster. Inside that namespace, deploy a three-replica nginx application named demo-app using the nginx:alpine image. Wait for...