Run lueur as a Chaos Toolkit Action
This guide will walk you through running lueur as a Chaos Toolkit action in your Chaos Engineering experiments.
Prerequisites
-
Install lueur
If you haven’t installed Lueur yet, follow the installation instructions.
Run with the Chaos Toolkit Lueur Extension
-
Install the chaostoolkit-lueur extension
Note
Chaos Toolkit extensions are Python libraries that must be found by the
chaos
process when it runs. Usually, this requires you install these extensions as part of your Python environment. There are many ways to get a Python environment, so we'll assume you are running one.Install the chaostoolkit-lueur extension:
-
Add an action to run the proxy
You can now add the following to one of your experiment:
You mostly likely want to run the proxy as a background task of the experiment.
The
proxy_args
argument takes the full list of supported values from the cli run command -
Add an action to stop the proxy
You can now add the following action once your experiment is done with the proxy.
Tip
You can do without this action if you set the
duration
argument when you start the proxy. In which case, the proxy will terminate on its own after the duration is up.
Next Steps
- Explore how you can use the Reliably Platform to orchestrate and schedule your experiment on a variety of targets.