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

# Kube Resilience

Kube Resilience faults that stress Kubernetes control-plane components, such as the kubelet, by saturating a target node.

Kube Resilience faults test how Kubernetes control-plane components, such as the kubelet, the scheduler, and the API server, cope when a node is suddenly saturated. Use them to check that the node, the cluster, and the workloads that share the node keep working under the burst.

***

## Before you begin

* **Chaos infrastructure:** A Kubernetes chaos infrastructure with a cluster-scoped install, so the fault can read nodes. Go to [Get started](https://developer.harness.io/resilience-testing/chaos-testing/get-started.md) to install one.
* **Permissions:** Kube Resilience faults run with the core Kubernetes fault permissions and read access to nodes. Go to [Kubernetes fault permissions](https://developer.harness.io/resilience-testing/chaos-testing/chaos-faults/kubernetes/permissions.md) to check them.

***

## Supported environments

Kube Resilience faults run on every [Kubernetes environment](https://developer.harness.io/resilience-testing/chaos-testing/chaos-faults/kubernetes.md#supported-environments) the Kubernetes chaos infrastructure supports. On small local clusters such as Minikube or Kind, keep `POD_COUNT` low.

***

## Faults

| Fault                                                                                                                            | What it does                        | Failure type | Reversible |
| -------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- | ------------ | ---------- |
| [Kubelet density](https://developer.harness.io/resilience-testing/chaos-testing/chaos-faults/kube-resilience/kubelet-density.md) | Creates a burst of pods on one node | Resource     | Yes        |

***

## Troubleshooting

<details>

<summary>A Kube Resilience fault fails with a forbidden error on nodes</summary>

The chaos service account is bound with a `RoleBinding`, which cannot grant access to nodes. Use a cluster-scoped install, which binds the `ClusterRole` with a `ClusterRoleBinding`.

</details>

<details>

<summary>Pods created by a Kube Resilience fault stay Pending</summary>

The target node has no room for the extra pods. Run `kubectl describe node <node>` and compare **Allocatable** with **Allocated resources**, then lower `POD_COUNT` or choose a less loaded node.

</details>

***

## Next steps

* Go to [Node](https://developer.harness.io/resilience-testing/chaos-testing/chaos-faults/kubernetes/node.md) to stress the CPU, memory, or network of a node directly.
* Go to [Kubernetes fault permissions](https://developer.harness.io/resilience-testing/chaos-testing/chaos-faults/kubernetes/permissions.md) to set up a cluster-scoped install.

{% @harness-feedback/feedback %}
