Cluster offboarding
Offboarding an existing Kubernetes cluster in Greenhouse.
Content Overview
This guides describes how to off-board an existing Kubernetes cluster in your Greenhouse organization.
While all members of an organization can see existing clusters, their management requires org-admin or
cluster-admin privileges. See RBAC with the Organization namespace for details.
:information_source: The UI is currently in development. For now this guide describes the onboarding workflow via command line.
Pre-requisites
Off-boarding a Cluster in Greenhouse requires authenticating to the greenhouse cluster via kubeconfig file:
greenhouse: The cluster where Greenhouse installation is running on.organization-adminorcluster-adminprivileges is needed for deleting aClusterresource.
Off-boarding
Off-board a Cluster in Greenhouse is initiated by calling the command:
kubectl --namespace=<greenhouse-organization-name> delete cluster <cluster-name>
❗ Deleting the Cluster resource automatically uninstalls any deployed plugins as part of the cleanup process. |
|---|
Troubleshooting
If the cluster deletion has failed, you can troubleshoot the issue by inspecting -
Clusterresource status conditions, specifically theKubeConfigValidcondition.- status conditions of the
Pluginresources associated with theClusterresource. There will be a clear indication of the issue in theHelmReleaseDeployedcondition (set tofalsewhen Helm reconciliation fails).