diff --git a/platform/how-to/uninstall.mdx b/platform/how-to/uninstall.mdx index 65a04ea3..a22ecfab 100644 --- a/platform/how-to/uninstall.mdx +++ b/platform/how-to/uninstall.mdx @@ -28,13 +28,13 @@ There are two ways to uninstall the platform. - + ### Delete the platform Note that the [VirtualClusterInstances](/platform/api/resources/virtualclusterinstance) -CDRs managed with driver Helm are deleted, but the underlying virtual clusters +CRDs managed with driver Helm are deleted, but the underlying virtual clusters are not uninstalled. On the Kubernetes cluster where the platform is installed, and all connected clusters, run: @@ -46,9 +46,9 @@ vcluster destroy platform :::info The command does the following: - Uninstalls Helm releases related to Loft. -- Deletes CustomResourceDefinitions (CRDs). -- Optionally deletes when the `--delete-namespace` flag is provided. -- Removes default cluster roles and cluster role bindings. +- Deletes CustomResourceDefinitions (CRDs) created by the platform. +- Optionally deletes the namespace where the platform is installed when the `--delete-namespace` flag is provided. +- Removes cluster roles and cluster role bindings created by the platform. ::: @@ -60,12 +60,6 @@ The command does the following: helm delete -n vcluster-platform loft ``` -Ensure you also uninstall the platform agent if you have connected the loft cluster: - -```bash title="Delete the loft-agent Helm release" -helm delete -n vcluster-platform loft-agent -``` - ### Delete namespace (optional) Deleting the namespace ensures that all resources associated with the platform are removed. If you have deleted the namespace **without** deleting the vcluster-platform and loft-agent Helm releases beforehand, ensure the api-services and webhooks are deleted correctly: