Skip to main content

Uninstall

Removing the Kubernetes Agent

Steps

  1. Uninstall the Helm release:

    helm uninstall opsworker-agent -n opsworker
  2. Remove the namespace:

    kubectl delete namespace opsworker
  3. Remove the cluster from the portal:

    • Go to the cluster's settings page
    • Click Remove Cluster
    • Confirm removal

What Happens

  • The agent pod is terminated
  • RBAC resources (ClusterRole, ClusterRoleBinding, ServiceAccount) are removed
  • No new investigations will run for this cluster
  • Historical investigations are preserved in the portal

Data Retention

After removing a cluster:

  • Past investigations and their data remain accessible in the portal
  • Alert history (signals) is retained
  • Data is only fully removed if the organization is deleted

Reinstalling

To reconnect a cluster after removal:

  1. Add the cluster again in the portal (generates a new token)
  2. Install the agent with the new token
  3. Previous investigation history remains available

Removing the Helm Repository

If you no longer use OpsWorker:

helm repo remove opsworker

Next Steps