Difficulty: beginner
Estimated Time: 5 minutes

ChaosIQ offer a number of commercial tools and services to support successful chaos engineering.

In this tutorial you can explore the various features they offer that extend and are integrated with by the Chaos Toolkit including:

  • Using ChaosIQ to bootstrap useful experiments even faster using the toolkit's chaos discover command.

ChaosIQ.io Integration

Step 1 of 4

Installing ChaosIQ

The Chaos Toolkit CLI, called chaos, has already beemn installed and you can make it available using the following command:

source ~/.venvs/chaostk/bin/activate

With the chaostk virtual environment activated you can now execute chaos --help and you should see the following:

(chaostk) 15:47:04 ~/tutorial$ chaos --help
Usage: chaos [OPTIONS] COMMAND [ARGS]...

Options:
  --version           Show the version and exit.
  --verbose           Display debug level traces.
  --no-version-check  Do not search for an updated version of the
                      chaostoolkit.
  --change-dir TEXT   Change directory before running experiment.
  --no-log-file       Disable logging to file entirely.
  --log-file TEXT     File path where to write the experiment log.  [default:
                      experiment.log]
  --help              Show this message and exit.

Commands:
  discover  Discover capabilities and experiments.
  init      Initialize a new experiment from discovered...
  run       Run the experiment given at PATH.
  validate  Validate the experiment at PATH.

Now you need to install the ChaosIQ extension into the Chaos Toolkit by executing:

pip install -U chaosiq

Once the command is executed you should see something like:

Installing collected packages: chaosiq
Successfully installed chaosiq-0.2.2

With ChaosIQ installed, it's now time to set it up it with a token so you can use it...

experiment.json
service.py
This tab will not be visible to users and provides only information to help authors when creating content.

Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]