Add and Remove Clusters
Adding a Cluster
Steps
- Go to Configurations → Add Cluster
- Name the cluster (e.g.,
production-us-east) - Select workspace the cluster belongs to
- Choose integrations to enable (Alert Manager, Grafana Alerting, Grafana MCP)
- Copy the Helm install command with your unique cluster token
- Install the agent in your cluster using the Helm command
- Verify connection — cluster status should show Connected in the portal
See Add a Cluster for the detailed walkthrough.
Removing a Cluster
Steps
- Remove from portal:
- Go to the cluster's settings page
- Click Remove Cluster
- Confirm the removal
- Uninstall the agent from your cluster:
helm uninstall opsworker-agent -n opsworker - Clean up the namespace (optional):
kubectl delete namespace opsworker
What Happens When You Remove a Cluster
- The cluster is removed from the portal
- No new investigations will run for this cluster
- Historical investigations are preserved — you can still view past investigations
- The agent will stop receiving commands (if still running, it will idle)
Cluster Token Rotation
If you need to regenerate a cluster token (e.g., token may have been exposed):
- Go to the cluster settings in the portal
- Click Regenerate Token
- Update the agent with the new token:
helm upgrade opsworker-agent opsworker/opsworker-agent \
-n opsworker \
--set clusterToken=NEW_TOKEN
Next Steps
- Cluster Settings — Configure cluster options
- Install Agent — Agent installation guide