Skip to content

Commit 516f9e5

Browse files
authored
en,zh: remove TidbClusterAutoScaler references as it is deprecated (#3105) (#3110)
1 parent 59e16c7 commit 516f9e5

9 files changed

Lines changed: 2 additions & 40 deletions

en/architecture.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@ The following diagram is an overview of the architecture of TiDB Operator.
1313

1414
![TiDB Operator Overview](/media/tidb-operator-overview-1.2.png)
1515

16-
`TidbCluster`, `TidbMonitor`, `TidbInitializer`, `Backup`, `Restore`, `BackupSchedule`, and `TidbClusterAutoScaler` are custom resources defined by CRD (`CustomResourceDefinition`).
16+
`TidbCluster`, `TidbMonitor`, `TidbInitializer`, `Backup`, `Restore`, and `BackupSchedule` are custom resources defined by CRD (`CustomResourceDefinition`).
1717

1818
* `TidbCluster` describes the desired state of the TiDB cluster.
1919
* `TidbMonitor` describes the monitoring components of the TiDB cluster.
2020
* `TidbInitializer` describes the desired initialization Job of the TiDB cluster.
2121
* `Backup` describes the desired backup of the TiDB cluster.
2222
* `Restore` describes the desired restoration of the TiDB cluster.
2323
* `BackupSchedule` describes the scheduled backup of the TiDB cluster.
24-
* `TidbClusterAutoScaler` describes the automatic scaling of the TiDB cluster.
2524

2625
The following components are responsible for the orchestration and scheduling logic in a TiDB cluster:
2726

en/cheat-sheet.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,6 @@ This document is an overview of the commands used for TiDB cluster management.
5959
kubectl -n ${namespace} get restore ${name}
6060
```
6161

62-
* View TidbClusterAutoScaler:
63-
64-
{{< copyable "shell-regular" >}}
65-
66-
```shell
67-
kubectl -n ${namespace} get tidbclusterautoscaler ${name}
68-
```
69-
7062
* View TidbInitializer:
7163

7264
{{< copyable "shell-regular" >}}
@@ -415,14 +407,6 @@ This document is an overview of the commands used for TiDB cluster management.
415407
kubectl delete -n ${namespace} tidbmonitor ${tidb_monitor_name}
416408
```
417409

418-
* Delete TidbClusterAutoScaler:
419-
420-
{{< copyable "shell-regular" >}}
421-
422-
```shell
423-
kubectl -n ${namespace} delete tidbclusterautoscaler ${name}
424-
```
425-
426410
### More
427411

428412
See [kubectl Cheat Sheet](https://kubernetes.io/docs/reference/kubectl/cheatsheet/) for more kubectl usage.

en/deploy-tidb-operator.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ NAME CREATED AT
7373
backups.pingcap.com 2020-06-11T07:59:40Z
7474
backupschedules.pingcap.com 2020-06-11T07:59:41Z
7575
restores.pingcap.com 2020-06-11T07:59:40Z
76-
tidbclusterautoscalers.pingcap.com 2020-06-11T07:59:42Z
7776
tidbclusters.pingcap.com 2020-06-11T07:59:38Z
7877
tidbinitializers.pingcap.com 2020-06-11T07:59:42Z
7978
tidbmonitors.pingcap.com 2020-06-11T07:59:41Z

en/get-started.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ customresourcedefinition.apiextensions.k8s.io/restores.pingcap.com created
187187
customresourcedefinition.apiextensions.k8s.io/backupschedules.pingcap.com created
188188
customresourcedefinition.apiextensions.k8s.io/tidbmonitors.pingcap.com created
189189
customresourcedefinition.apiextensions.k8s.io/tidbinitializers.pingcap.com created
190-
customresourcedefinition.apiextensions.k8s.io/tidbclusterautoscalers.pingcap.com created
191190
```
192191

193192
</details>
-37 KB
Loading

zh/architecture.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@ summary: 了解 TiDB Operator 架构及其工作原理。
1313

1414
![TiDB Operator Overview](/media/tidb-operator-overview-1.2.png)
1515

16-
其中,`TidbCluster``TidbMonitor``TidbInitializer``Backup``Restore``BackupSchedule``TidbClusterAutoScaler` 是由 CRD(`CustomResourceDefinition`)定义的自定义资源:
16+
其中,`TidbCluster``TidbMonitor``TidbInitializer``Backup``Restore``BackupSchedule` 是由 CRD(`CustomResourceDefinition`)定义的自定义资源:
1717

1818
* `TidbCluster` 用于描述用户期望的 TiDB 集群
1919
* `TidbMonitor` 用于描述用户期望的 TiDB 集群监控组件
2020
* `TidbInitializer` 用于描述用户期望的 TiDB 集群初始化 Job
2121
* `Backup` 用于描述用户期望的 TiDB 集群备份
2222
* `Restore` 用于描述用户期望的 TiDB 集群恢复
2323
* `BackupSchedule` 用于描述用户期望的 TiDB 集群周期性备份
24-
* `TidbClusterAutoScaler` 用于描述用户期望的 TiDB 集群自动伸缩
2524

2625
TiDB 集群的编排和调度逻辑则由下列组件负责:
2726

zh/cheat-sheet.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,6 @@ summary: 介绍管理 TiDB 集群的 Command Cheat Sheet。
5959
kubectl -n ${namespace} get restore ${name}
6060
```
6161

62-
* 查看 TidbClusterAutoScaler:
63-
64-
{{< copyable "shell-regular" >}}
65-
66-
```shell
67-
kubectl -n ${namespace} get tidbclusterautoscaler ${name}
68-
```
69-
7062
* 查看 TidbInitializer:
7163

7264
{{< copyable "shell-regular" >}}
@@ -415,14 +407,6 @@ summary: 介绍管理 TiDB 集群的 Command Cheat Sheet。
415407
kubectl delete -n ${namespace} tidbmonitor ${tidb_monitor_name}
416408
```
417409

418-
* 删除 TidbClusterAutoScaler:
419-
420-
{{< copyable "shell-regular" >}}
421-
422-
```shell
423-
kubectl -n ${namespace} delete tidbclusterautoscaler ${name}
424-
```
425-
426410
### 更多
427411

428412
其他更多 kubectl 的使用,请参考 [Kubectl Cheat Sheet](https://kubernetes.io/docs/reference/kubectl/cheatsheet/)。

zh/deploy-tidb-operator.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ NAME CREATED AT
7373
backups.pingcap.com 2020-06-11T07:59:40Z
7474
backupschedules.pingcap.com 2020-06-11T07:59:41Z
7575
restores.pingcap.com 2020-06-11T07:59:40Z
76-
tidbclusterautoscalers.pingcap.com 2020-06-11T07:59:42Z
7776
tidbclusters.pingcap.com 2020-06-11T07:59:38Z
7877
tidbinitializers.pingcap.com 2020-06-11T07:59:42Z
7978
tidbmonitors.pingcap.com 2020-06-11T07:59:41Z

zh/get-started.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ customresourcedefinition.apiextensions.k8s.io/restores.pingcap.com created
208208
customresourcedefinition.apiextensions.k8s.io/backupschedules.pingcap.com created
209209
customresourcedefinition.apiextensions.k8s.io/tidbmonitors.pingcap.com created
210210
customresourcedefinition.apiextensions.k8s.io/tidbinitializers.pingcap.com created
211-
customresourcedefinition.apiextensions.k8s.io/tidbclusterautoscalers.pingcap.com created
212211
```
213212

214213
</details>

0 commit comments

Comments
 (0)