Removing a Cluster
Disconnect and clean up the DataAgent agent from your cluster.
1. Uninstall the Helm chart
helm uninstall dataagent --namespace dataagentThis removes the agent pod, service account, ClusterRole, and ClusterRoleBinding.
The mTLS credential secret (dataagent-mtls-credentials) is created at runtime by the agent, not by Helm, so it survives helm uninstall. Delete it explicitly to avoid a reinstall reusing the stale certificate:
kubectl delete secret dataagent-mtls-credentials --namespace dataagent --ignore-not-found2. Delete the namespace (optional)
The dataagent namespace is always preserved on helm uninstall, regardless of who created it. To remove it:
kubectl delete namespace dataagent3. Remove the cluster from the dashboard
After uninstalling the agent, the cluster will appear as Disconnected in the dashboard. To remove it entirely:
- Go to Settings → Clusters
- Find the disconnected cluster
- Click Remove
Effect on incidents
- Active incidents from the removed cluster are automatically resolved when the agent disconnects and stops sending heartbeats (within 4 hours via auto-resolution).
- Removing the cluster from the dashboard immediately deletes all its incident history.