Advanced Configuration Options
Prerequisites
This topic describes advanced settings to configure your chaos experiments.
Advanced Experiment Setup Options
On the Experiment Builder tab, you can click Advanced Options to configure the following advanced options when creating an experiment for a Kubernetes chaos infrastructure:
General Options
Node Selector
Specify the node on which the experiment pods will be scheduled by providing the node label as a key-value pair.
-
This can be used with node-level faults to avoid scheduling the experiment pod on the target node(s).
-
It can also be used to limit the scheduling of experiment pods on nodes with an unsupported OS.
Toleration
Specify the tolerations that must be satisfied by a tainted node to schedule the experiment pods. For more information on taints and tolerations, refer to the Kubernetes documentation.
-
This can be used with node-level faults to avoid scheduling the experiment pod on the target node(s).
-
It can also be used to limit the scheduling of the experiment pods on nodes with an unsupported OS.
Annotations
Specify the annotations to be added to the experiment pods by providing them as key-value pairs. For more information on annotations, refer to the Kubernetes documentation.
Annotations can be used to bypass network proxies enforced by service mesh tools like Istio.
Security Options
Enable runAsUser
Specify the user ID to start all the processes in the experiment pod containers. By default, the user ID 1000
is used.
This option allows privileged or restricted access for experiment pods.
Enable runAsGroup
Specify the group ID to start all the processes in the experiment pod containers instead of a user ID. This option allows privileged or restricted access for experiment pods.
Execute Experiment With Advanced Options
-
Select one of the advanced security options: runAsUser or runAsGroup.
-
Click Security tab and select/unselect one or both the options.
-
Click Save.