Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions en/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,14 @@ The following diagram is an overview of the architecture of TiDB Operator.

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

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

* `TidbCluster` describes the desired state of the TiDB cluster.
* `TidbMonitor` describes the monitoring components of the TiDB cluster.
* `TidbInitializer` describes the desired initialization Job of the TiDB cluster.
* `Backup` describes the desired backup of the TiDB cluster.
* `Restore` describes the desired restoration of the TiDB cluster.
* `BackupSchedule` describes the scheduled backup of the TiDB cluster.
* `TidbClusterAutoScaler` describes the automatic scaling of the TiDB cluster.

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

Expand Down
16 changes: 0 additions & 16 deletions en/cheat-sheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,6 @@ This document is an overview of the commands used for TiDB cluster management.
kubectl -n ${namespace} get restore ${name}
```

* View TidbClusterAutoScaler:

{{< copyable "shell-regular" >}}

```shell
kubectl -n ${namespace} get tidbclusterautoscaler ${name}
```

* View TidbInitializer:

{{< copyable "shell-regular" >}}
Expand Down Expand Up @@ -416,14 +408,6 @@ This document is an overview of the commands used for TiDB cluster management.
kubectl delete -n ${namespace} tidbmonitor ${tidb_monitor_name}
```

* Delete TidbClusterAutoScaler:

{{< copyable "shell-regular" >}}

```shell
kubectl -n ${namespace} delete tidbclusterautoscaler ${name}
```

### More

See [kubectl Cheat Sheet](https://kubernetes.io/docs/reference/kubectl/cheatsheet/) for more kubectl usage.
Expand Down
1 change: 0 additions & 1 deletion en/deploy-tidb-operator.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ NAME CREATED AT
backups.pingcap.com 2020-06-11T07:59:40Z
backupschedules.pingcap.com 2020-06-11T07:59:41Z
restores.pingcap.com 2020-06-11T07:59:40Z
tidbclusterautoscalers.pingcap.com 2020-06-11T07:59:42Z
tidbclusters.pingcap.com 2020-06-11T07:59:38Z
tidbinitializers.pingcap.com 2020-06-11T07:59:42Z
tidbmonitors.pingcap.com 2020-06-11T07:59:41Z
Expand Down
1 change: 0 additions & 1 deletion en/get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ customresourcedefinition.apiextensions.k8s.io/restores.pingcap.com created
customresourcedefinition.apiextensions.k8s.io/backupschedules.pingcap.com created
customresourcedefinition.apiextensions.k8s.io/tidbmonitors.pingcap.com created
customresourcedefinition.apiextensions.k8s.io/tidbinitializers.pingcap.com created
customresourcedefinition.apiextensions.k8s.io/tidbclusterautoscalers.pingcap.com created
```

</details>
Expand Down
Binary file modified media/tidb-operator-overview-1.2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions zh/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,14 @@ aliases: ['/docs-cn/tidb-in-kubernetes/dev/architecture/']

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

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

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

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

Expand Down
16 changes: 0 additions & 16 deletions zh/cheat-sheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,6 @@ aliases: ['/docs-cn/tidb-in-kubernetes/dev/cheat-sheet/']
kubectl -n ${namespace} get restore ${name}
```

* 查看 TidbClusterAutoScaler:

{{< copyable "shell-regular" >}}

```shell
kubectl -n ${namespace} get tidbclusterautoscaler ${name}
```

* 查看 TidbInitializer:

{{< copyable "shell-regular" >}}
Expand Down Expand Up @@ -416,14 +408,6 @@ aliases: ['/docs-cn/tidb-in-kubernetes/dev/cheat-sheet/']
kubectl delete -n ${namespace} tidbmonitor ${tidb_monitor_name}
```

* 删除 TidbClusterAutoScaler:

{{< copyable "shell-regular" >}}

```shell
kubectl -n ${namespace} delete tidbclusterautoscaler ${name}
```

### 更多

其他更多 kubectl 的使用,请参考 [Kubectl Cheat Sheet](https://kubernetes.io/docs/reference/kubectl/cheatsheet/)。
Expand Down
1 change: 0 additions & 1 deletion zh/deploy-tidb-operator.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ NAME CREATED AT
backups.pingcap.com 2020-06-11T07:59:40Z
backupschedules.pingcap.com 2020-06-11T07:59:41Z
restores.pingcap.com 2020-06-11T07:59:40Z
tidbclusterautoscalers.pingcap.com 2020-06-11T07:59:42Z
tidbclusters.pingcap.com 2020-06-11T07:59:38Z
tidbinitializers.pingcap.com 2020-06-11T07:59:42Z
tidbmonitors.pingcap.com 2020-06-11T07:59:41Z
Expand Down
1 change: 0 additions & 1 deletion zh/get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ customresourcedefinition.apiextensions.k8s.io/restores.pingcap.com created
customresourcedefinition.apiextensions.k8s.io/backupschedules.pingcap.com created
customresourcedefinition.apiextensions.k8s.io/tidbmonitors.pingcap.com created
customresourcedefinition.apiextensions.k8s.io/tidbinitializers.pingcap.com created
customresourcedefinition.apiextensions.k8s.io/tidbclusterautoscalers.pingcap.com created
```

</details>
Expand Down