Documentation menu

Removing a Cluster

Disconnect and clean up the DataAgent agent from your cluster.

1. Uninstall the Helm chart

helm uninstall dataagent --namespace dataagent

This 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-found

2. Delete the namespace (optional)

The dataagent namespace is always preserved on helm uninstall, regardless of who created it. To remove it:

kubectl delete namespace dataagent

3. Remove the cluster from the dashboard

After uninstalling the agent, the cluster will appear as Disconnected in the dashboard. To remove it entirely:

  1. Go to Settings → Clusters
  2. Find the disconnected cluster
  3. 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.

Essential Cookies keep the site working and cannot be switched off. Everything else is off until you turn it on.