Skip to main content

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:

Advanced Options

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.

    Node Selector

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.

    Toleration

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.

Annotations

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.

runAsUser

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.

runAsGroup

Execute Experiment With Advanced Options

  1. Select one of the advanced security options: runAsUser or runAsGroup.

  2. Click Security tab and select/unselect one or both the options.

    advanced

  3. Click Save.

    save changes

Next Steps