How to delete agents
Deleting an agent removes all the data stored from the agent.
Procedure from web console
- Navigate to Integrations > Agents (or go directly to
/home/integrations/agents) - Click on the agent you want to delete
- Scroll down to the bottom of the page to find the Delete Agent Instance section
- Copy and execute the provided deletion command in your cluster
- Once the agent instance is successfully deleted, return to the Agents page (
/home/integrations/agents) - Select the agent you just removed the instance from
- Click the Delete Agent button to permanently remove the agent configuration
Procedure from CLI
1. Delete the Agent Instance from the target cluster
kubectl delete agentinstances.core.resiliency.io -n resiliency-system <agent-name>
2. Delete the Agent Instance secret
kubectl delete secret -n resiliency-system <agent-name>
3. Delete the Agent from the manager cluster
kubectl delete agents.core.resiliency.io -n resiliency-system <agent-name>