> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/resilience-testing/chaos-engineering/chaos-experiments/advance-configuration-options.md).

# Advanced Configuration Options

### Prerequisites <a href="#prerequisites" id="prerequisites"></a>

* [Create an experiment](/resilience-testing/chaos-engineering/chaos-experiments/create-experiments.md)

This topic describes advanced settings to configure your chaos experiments.

### Advanced Experiment Setup Options <a href="#advanced-experiment-setup-options" id="advanced-experiment-setup-options"></a>

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](/files/uqYgltQwuXpqWNhdoBUP)

#### General Options <a href="#general-options" id="general-options"></a>

**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](/files/oQZaHq8ozaYceC2GAmqP)

**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](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/).

* 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](/files/a4dFzEgvK2HHSvReWRO2)

**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](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/).

Annotations can be used to bypass network proxies enforced by service mesh tools like Istio.

![Annotations](/files/MElsJin6hl3BthT17WoZ)

#### Security Options <a href="#security-options" id="security-options"></a>

**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](/files/4GhDOPafMe1jYoLvCGy6)

**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](/files/wjRtNPbh72xCMD0J1aGr)

### Execute Experiment With Advanced Options <a href="#execute-experiment-with-advanced-options" id="execute-experiment-with-advanced-options"></a>

1. Select one of the advanced security options: **runAsUser** or **runAsGroup**.
2. Click **Security** tab and select/unselect one or both the options.

   ![advanced](/files/nslVfJp9kMM515RMPE7O)
3. Click **Save**.

   ![save changes](/files/hnEAUhnvppjWdmyXEUc5)

### Next Steps <a href="#next-steps" id="next-steps"></a>

* [Run or Schedule Experiments](/resilience-testing/chaos-engineering/chaos-experiments/run-experiments.md)
* [Edit or Update Experiment](/resilience-testing/chaos-engineering/chaos-experiments/edit-chaos-experiment.md)
