chaos init command¶
You use the
chaos init command to take a
discovery report, usually created by the
chaos discover command, to then create an experiment based upon what has been discovered about the integration extension and, if applicable, the target environment.
You can see the options available to you by executing:
(chaostk) $ chaos init --help
A tutorial on how to use the
chaos init command is available as part of the Chaos Toolkit’s Getting Started tutorials.
Initialise a new experiment¶
To initialise a new experiment based on what has been discovered you simply need to execute the
chaos init command:
(chaostk) $ chaos init
By default, the
chaos init command will look for a
./discovery.json file and use that as the basis of a new experiment’s initialisation.
You can specify another file to be used by suppling the
In addition the default output from the
init command will be a new Chaos Toolkit experiment definition in a
./experiment.json file. If you would prefer a different filename then this can be specified using the