Discovering Chaos Toolkit Istio Plugin
This lesson contains instructions on how to install the Chaos Toolkit Istio plugin and discover what is inside it.
We'll cover the following
Installing the plugin#
You probably remember that we had to install the chaostoolkit-kubernetes
module to define Kubernetes-related chaos experiments. The same is true for Istio. We could, theoretically, define Istio-related actions, probes, and rollbacks as shell commands that would be applying YAML definitions and running istioctl
. Nevertheless, that would be a waste of time since the chaostoolkit-istio
module already provides some (if not all) Istio-related features. It will allow us to add some additional capabilities that we wouldn’t have otherwise or, to be more precise, that would be much harder without it. So, let’s install the module.
Discovering the functionalities of the plugin#
Next, we are going to discover what is inside the module.
The outcome of chaos discover
was stored in discovery.json
, which we output on the screen later on. I will not go into all the functions that we have with the chaostoolkit-istio
module at this moment. Instead, I will let you explore them yourself by observing what is inside the discovery file. Don’t worry if it’s overwhelming. We’re going to use most, if not all, of them very soon.
In the next lesson, you will see what happens if we intentionally abort some of the network requests.