Clean Up Experiment Resources
Remove the pods, configmaps, and secrets a chaos experiment run left behind in your cluster, from the run's timeline view.
When a chaos experiment run errors or stops partway, it can leave pods, configmaps, and secrets in the target cluster. Cleanup removes what that run left behind, so you do not have to find and delete the resources by hand.
Before you begin
A Kubernetes experiment run: A run on a Kubernetes (Harness Infrastructure) chaos infrastructure.
A current Harness Delegate: The delegate that serves the infrastructure must support the cleanup task. Go to Install Delegate to upgrade it.
Clean up a run
Perform the following steps:
Go to Chaos Experiments, then select the Executions tab.
Click the More icon on the run, then select View Execution.
Click Cleanup in the action bar on the right edge of the timeline view.
Click Cleanup at the top of the panel that opens.

The summary row and the Logs tab report the result of the most recent cleanup. If a cleanup fails, the panel shows the reason and the button changes to Force Cleanup.
Troubleshooting
Last updated
Was this helpful?