Configure ChaosIQ settings as secret
This section explains how to configure and use this operator for running ChaosIQ verifications and experiments.
To be able to fetch assets from ChaosIQ, as well as pushing back results, for both experiments and verifications, you’ll need to setup a settings file with a valid token and selected targeted organization & team.
By default, the settings file can be located at:
Then, you’ll need to load these settings into Kubernetes, as a secret:
$ kubectl -n chaostoolkit-run \ create secret generic chaostoolkit-settings \ --from-file=settings.yaml=~/.chaostoolkit/settings.yaml
You might have multiple organizations and teams, even possibly tokens, to use.
In that case, it’s best to uniquely name your secret, as example:
This will allow you to use multiple verifications and experiments from various
teams within the same namespace in your Kubernetes cluster. However, you’ll
need to specify the settings secret name to the Chaos Experiment, as
described in the documentation.