Overview
What you will learn
- What a chaos infrastructure is and why it is needed.
- The three supported types and how they map to the Project Settings → Resilience Testing Infrastructures UI.
- Where to go next to install, secure, and upgrade infrastructure.
Where infrastructures live in the UI
Chaos infrastructures are managed per project under Resilience Testing → Project Settings → Resilience Testing Infrastructures. The page has one tab per supported type:
- Kubernetes (Harness Infrastructure)
- Linux
- Windows
Each infrastructure is scoped to a Harness environment (project, organization, or account-scoped). One environment can have multiple chaos infrastructures attached.
You may also see a Kubernetes (Dedicated Chaos Infrastructure) tab. This is the legacy chaos-agent-based topology and is deprecated. New infrastructures cannot be created on it, and existing ones should be migrated to Kubernetes (Harness Infrastructure) (the DDCR flow) when possible.
To delete an environment, first detach or delete every chaos infrastructure attached to it. The environment delete will fail while a referenced infrastructure exists.
Supported infrastructure types
Harness Chaos Testing supports three chaos infrastructure types. Kubernetes is recommended for all new setups; the others cover non-Kubernetes targets.
| Type | Target | Doc |
|---|---|---|
| Kubernetes | Kubernetes clusters, via the Harness Delegate (DDCR) | Set up Kubernetes infrastructure |
| Linux | Linux VMs and Cloud Foundry | Linux infrastructure |
| Windows | Windows VMs | Windows infrastructure |
Chaos experiments against AWS, GCP, Azure, VMware, and bare-metal targets run on top of a Kubernetes chaos infrastructure (the runner pods execute there even when the fault hits a non-Kubernetes resource). Cloud Foundry experiments run on Linux infrastructure.
Next steps
- Set up Kubernetes infrastructure: install the Delegate-driven runner and connect a target cluster.
- Cluster permissions: review the Kubernetes RBAC the chaos service account needs.
- Network configuration: mTLS and Harness Network Proxy (HNP) settings for Kubernetes chaos infrastructure.
- Upgrade Linux infrastructure: upgrade an existing Linux install across releases.
- Upgrade Windows infrastructure: upgrade an existing Windows install across releases.
Before creating an infrastructure, create an environment. A chaos infrastructure always lives inside an environment.