Update uninstall-ks-and-k8s-zh (#1536)

* Update uninstall-ks-and-k8s-zh

Signed-off-by: adakisme <serenashe@yunify.com>

* File modified.

Signed-off-by: adakisme <serenashe@yunify.com>
This commit is contained in:
serenashe 2021-05-11 14:25:49 +08:00 committed by GitHub
parent f348895b68
commit 242cbf3648
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,27 +1,22 @@
---
title: "卸载 KubeSphere 和 Kubernetes"
keywords: 'kubernetes, kubesphere, uninstalling, remove-cluster'
description: '从机器上删除 KubeSphere 和 Kubernetes。'
keywords: 'kubernetes, kubesphere, 卸载, 移除集群'
description: '从机器上移除 KubeSphere 和 Kubernetes。'
linkTitle: "卸载 KubeSphere 和 Kubernetes"
weight: 3700
---
您可以通过以下命令删除集群
卸载 KubeSphere 和 Kubernetes 意味着将其从您的机器上移除。该操作不可逆,且不会进行任何备份。请谨慎操作
{{< notice tip >}}
如需删除集群,请执行以下命令。
卸载将会从计算机中删除 KubeSphere 和 Kubernetes。此操作是不可逆的没有任何自动备份请谨慎操作。
{{</ notice >}}
- 如果是按照快速入门([all-in-one](../../quick-start/all-in-one-on-linux/))安装的集群,则可以用下面的命令直接删除:
- 如果是按照快速入门 ([All-in-One](../../quick-start/all-in-one-on-linux/)) 安装的 KubeSphere
```bash
./kk delete cluster
```
- 如果用高级模式安装的集群[使用配置文件创建](../introduction/multioverview/)
- 如果是使用高级模式安装的 KubeSphere[使用配置文件创建](../introduction/multioverview/)
```bash
./kk delete cluster [-f config-sample.yaml]