Skip to content

Commit 6389fc0

Browse files
committed
add doc about how to destroy a tidb cluster
1 parent ca5e822 commit 6389fc0

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

zh/TOC.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
- 使用持久卷
2121
- 基于快照的备份和恢复
2222
- 运维
23+
- [销毁 TiDB 集群](destroy-a-tidb-cluster.md)
2324
- 为 TiDB 集群更换节点
2425
- 灾难恢复
2526
- 故障诊断

zh/destroy-a-tidb-cluster.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: 销毁 Kubernetes 上的 TiDB 集群
3+
summary: 介绍如何销毁 Kubernetes 集群上的 TiDB 集群。
4+
aliases: ['/docs-cn/tidb-in-kubernetes/dev/destroy-a-tidb-cluster/']
5+
---
6+
7+
# 销毁 Kubernetes 上的 TiDB 集群
8+
9+
本文描述了如何销毁 Kubernetes 集群上的 TiDB 集群。
10+
11+
## 销毁使用 Cluster 管理的 TiDB 集群
12+
13+
要销毁使用 Cluster 管理的 TiDB 集群,执行以下命令:
14+
15+
{{< copyable "shell-regular" >}}
16+
17+
```shell
18+
kubectl delete cluster ${cluster_name} -n ${namespace}
19+
```

0 commit comments

Comments
 (0)