> 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-testing/chaos-faults.md). Agents can also search and read this documentation through its [MCP server](https://developer.harness.io/~gitbook/mcp).

# Chaos Faults

Browse the Harness Resilience Testing chaos fault library by platform, and learn how faults, tunables, and fault statuses work.

A chaos fault is a single failure that you inject into a target system, such as deleting a pod, adding network latency, or stopping a cloud instance. You add one or more faults to a chaos experiment in Chaos Studio, and attach [resilience probes](https://developer.harness.io/resilience-testing/chaos-testing/probes.md) to check how the system behaves while the fault runs.

The library is organized by the platform a fault targets. Each platform page lists its faults with their failure type and whether the fault reverts its change automatically.

***

## Faults by platform

<table data-view="cards"><thead><tr><th align="center"></th><th align="center"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td align="center"><img src="https://3217710372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRmV5EkLS9r45VPaoUnJZ%2Fuploads%2Fgit-blob-f3e1649e8834dc52626c9ecfa295c38571eb24eb%2Fimage.png?alt=media" alt="Kubernetes" data-size="line"></td><td align="center"><strong>Kubernetes</strong><br>Pod and node faults for any CNCF-certified cluster</td><td><a href="https://developer.harness.io/resilience-testing/chaos-testing/chaos-faults/kubernetes.md">Kubernetes</a></td></tr><tr><td align="center"><img src="https://3217710372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRmV5EkLS9r45VPaoUnJZ%2Fuploads%2Fgit-blob-70daf49f0887c3526e44869ab28c57c93c954fcb%2Fimage.png?alt=media" alt="AWS" data-size="line"></td><td align="center"><strong>AWS</strong><br>EC2, ECS, Lambda, RDS, EBS, load balancer, and AZ faults</td><td><a href="https://developer.harness.io/resilience-testing/chaos-testing/chaos-faults/aws.md">AWS</a></td></tr><tr><td align="center"><img src="https://3217710372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRmV5EkLS9r45VPaoUnJZ%2Fuploads%2Fgit-blob-b381e1ac855107d234c8372b3e33c7b55d9f948b%2Fimage.png?alt=media" alt="Azure" data-size="line"></td><td align="center"><strong>Azure</strong><br>Instance, disk, web app, and AKS node faults</td><td><a href="https://developer.harness.io/resilience-testing/chaos-testing/chaos-faults/azure.md">Azure</a></td></tr><tr><td align="center"><img src="https://3217710372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRmV5EkLS9r45VPaoUnJZ%2Fuploads%2Fgit-blob-98b1034d24f0f51c79f937a53cb992572416e375%2Fimage.png?alt=media" alt="GCP" data-size="line"></td><td align="center"><strong>GCP</strong><br>VM instance, disk, and Cloud SQL faults</td><td><a href="https://developer.harness.io/resilience-testing/chaos-testing/chaos-faults/gcp.md">GCP</a></td></tr><tr><td align="center"><img src="https://3217710372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRmV5EkLS9r45VPaoUnJZ%2Fuploads%2Fgit-blob-a8ae042c7fa27dde829849fd2d9ea7afae9928e6%2Fimage.png?alt=media" alt="VMware" data-size="line"></td><td align="center"><strong>VMware</strong><br>vCenter and VM faults</td><td><a href="https://developer.harness.io/resilience-testing/chaos-testing/chaos-faults/vmware.md">VMware</a></td></tr><tr><td align="center"><img src="https://3217710372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRmV5EkLS9r45VPaoUnJZ%2Fuploads%2Fgit-blob-32942488aaf37b33662658acffa63f7ec1ece27e%2Fimage.png?alt=media" alt="Linux" data-size="line"></td><td align="center"><strong>Linux</strong><br>Resource, network, process, and time faults on Linux hosts</td><td><a href="https://developer.harness.io/resilience-testing/chaos-testing/chaos-faults/linux.md">Linux</a></td></tr><tr><td align="center"><img src="https://3217710372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRmV5EkLS9r45VPaoUnJZ%2Fuploads%2Fgit-blob-fe9cd2ef983ca6a76c8103386c5cb91d15f2a24e%2Fimage.png?alt=media" alt="Windows" data-size="line"></td><td align="center"><strong>Windows</strong><br>Resource, network, and process faults on Windows hosts</td><td><a href="https://developer.harness.io/resilience-testing/chaos-testing/chaos-faults/windows.md">Windows</a></td></tr><tr><td align="center"><img src="https://3217710372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRmV5EkLS9r45VPaoUnJZ%2Fuploads%2Fgit-blob-092164233b920871016ea0e8c4a1d0bb3212594e%2Fimage.png?alt=media" alt="SSH" data-size="line"></td><td align="center"><strong>SSH</strong><br>Run custom chaos scripts on remote hosts over SSH</td><td><a href="https://developer.harness.io/resilience-testing/chaos-testing/chaos-faults/ssh.md">SSH</a></td></tr><tr><td align="center"><img src="https://3217710372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRmV5EkLS9r45VPaoUnJZ%2Fuploads%2Fgit-blob-cd28e10d151764afbd494cd33f7a66a5ddd7cc41%2Fimage.png?alt=media" alt="Cloud Foundry" data-size="line"></td><td align="center"><strong>Cloud Foundry</strong><br>App instance, container, JVM, and network faults</td><td><a href="https://developer.harness.io/resilience-testing/chaos-testing/chaos-faults/cloud-foundry.md">Cloud Foundry</a></td></tr><tr><td align="center"><img src="https://3217710372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRmV5EkLS9r45VPaoUnJZ%2Fuploads%2Fgit-blob-64dbe6000ee0a09da95b5d1151a513badf2ab66b%2Fimage.png?alt=media" alt="Load" data-size="line"></td><td align="center"><strong>Load</strong><br>Generate traffic against a target during an experiment</td><td><a href="https://developer.harness.io/resilience-testing/chaos-testing/chaos-faults/load.md">Load</a></td></tr><tr><td align="center"><img src="https://3217710372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRmV5EkLS9r45VPaoUnJZ%2Fuploads%2Fgit-blob-8f2b361e062b889cc849c1843a1904225b31ec02%2Fimage.png?alt=media" alt="Kube Resilience" data-size="line"></td><td align="center"><strong>Kube Resilience</strong><br>Test kubelet and cluster density limits</td><td><a href="https://developer.harness.io/resilience-testing/chaos-testing/chaos-faults/kube-resilience.md">Kube Resilience</a></td></tr></tbody></table>

To find faults by what they break rather than where they run, go to [Find a fault by failure type](https://developer.harness.io/resilience-testing/chaos-testing/chaos-faults/find-by-failure-type.md).

***

## Custom faults

When no fault in the library covers the failure you want to test, build your own. You can create a custom fault from scratch, start it from a fault template in a ChaosHub, or run your own script with the BYOC injector. Go to [Custom faults](https://developer.harness.io/resilience-testing/chaos-testing/chaos-faults/custom-faults.md) to choose an approach.

***

## Fault tunables

Every fault has tunables (parameters) that control what it targets and how it behaves, such as the chaos duration or the percentage of pods affected. Each fault page lists its own tunables, and states which are required. A small set applies to every fault; go to [Common tunables](https://developer.harness.io/resilience-testing/chaos-testing/chaos-faults/common-tunables.md) to configure those.

***

## Fault status

A fault in a running experiment moves from **Running**, **Stopped**, or **Skipped** to one of three final states. The final state depends on the results of the probes attached to the fault.

| Status                   | Meaning                                                                                                                                                                                     |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Running**              | The fault is being executed.                                                                                                                                                                |
| **Stopped**              | The fault stopped after running for some time.                                                                                                                                              |
| **Skipped**              | The fault was not executed.                                                                                                                                                                 |
| **Completed**            | The fault finished, and no attached probe reported **Failed** or **N/A**.                                                                                                                   |
| **Completed with Error** | The fault finished, at least one probe reported **Failed**, and no probe reported **N/A**.                                                                                                  |
| **Error**                | The fault finished and at least one probe reported **N/A**, so the result cannot be determined. A fault with no probes also ends in **Error**, because nothing checked the system's health. |

***

## Troubleshooting

<details>

<summary>A fault ends in Error even though the system stayed healthy</summary>

A fault with no probes always ends in **Error**, because nothing checked the system's health. A fault also ends in **Error** when any attached probe reports **N/A**. Attach at least one probe that can return **Passed** or **Failed**. Go to [Probes](https://developer.harness.io/resilience-testing/chaos-testing/probes.md) to add one.

</details>

<details>

<summary>A fault ends in Completed with Error</summary>

The fault ran, but at least one probe reported **Failed**. The fault itself worked; the system did not meet the condition the probe checks. Open the experiment run in Chaos Studio and review the failed probe's output.

</details>

***

## Next steps

* Go to [Get started](https://developer.harness.io/resilience-testing/chaos-testing/get-started.md) to install chaos infrastructure and run your first experiment.
* Go to [Chaos Studio](https://developer.harness.io/resilience-testing/chaos-testing/experiments/chaos-studio-experiments.md) to add faults to an experiment.

{% @harness-feedback/feedback %}
