Skip to content

Commit

Permalink
chore: address PR feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Piotr Zaniewski <[email protected]>
  • Loading branch information
Piotr1215 committed Dec 18, 2024
1 parent d7deed3 commit ab54817
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions platform/how-to/uninstall.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ There are two ways to uninstall the platform.

<Tabs>
<TabItem value="Using vCluster CLI">
<VersionBadge version="v4.2" vclusterVersion="v0.22" />
<VersionBadge vclusterVersion="v0.22" />

### 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:
Expand All @@ -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.
:::

</TabItem>
Expand All @@ -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:
Expand Down

0 comments on commit ab54817

Please sign in to comment.