-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: check and update part of 0.9 docs (#7507)
- Loading branch information
1 parent
67beb9b
commit 77ec530
Showing
13 changed files
with
400 additions
and
389 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
128 changes: 0 additions & 128 deletions
128
docs/api_docs/installation/uninstall-kbcli-and-kubeblocks.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
title: Uninstall KubeBlocks | ||
description: Handle exception and uninstall KubeBlocks | ||
keywords: [kubeblocks, exception, uninstall] | ||
sidebar_position: 5 | ||
sidebar_label: Uninstall KubeBlocks | ||
--- | ||
|
||
import Tabs from '@theme/Tabs'; | ||
import TabItem from '@theme/TabItem'; | ||
|
||
# Uninstall KubeBlocks | ||
|
||
Uninstallation order: | ||
|
||
1. Delete your cluster if you have created a cluster. | ||
|
||
```bash | ||
kbcli cluster delete <name> | ||
``` | ||
|
||
2. Uninstall KubeBlocks. | ||
|
||
## Uninstall KubeBlocks | ||
|
||
<Tabs> | ||
|
||
<TabItem value="Helm" label="Helm" default> | ||
|
||
Delete all the clusters and resources created before performing the following command, otherwise the uninstallation may not be successful. | ||
|
||
```bash | ||
helm uninstall kubeblocks --namespace kb-system | ||
``` | ||
|
||
Helm does not delete CRD objects. You can delete the ones KubeBlocks created with the following commands: | ||
|
||
```bash | ||
kubectl get crd -o name | grep kubeblocks.io | xargs kubectl delete | ||
``` | ||
|
||
</TabItem> | ||
|
||
<TabItem value="YAML" label="YAML"> | ||
|
||
You can generate YAMLs from the KubeBlocks chart and uninstall using `kubectl`. | ||
|
||
```bash | ||
helm template kubeblocks kubeblocks/kubeblocks --namespace kb-system | kubectl delete -f - | ||
``` | ||
|
||
</TabItem> | ||
|
||
</Tabs> |
Oops, something went wrong.