From c6353a71097eaaad71caefc6809826292bec1276 Mon Sep 17 00:00:00 2001 From: csuzhangxc Date: Fri, 13 Dec 2024 14:47:09 +0800 Subject: [PATCH 1/5] en,zh: Bump tidb components to v8.5.0 --- en/access-dashboard.md | 2 +- en/advanced-statefulset.md | 6 +- en/aggregate-multiple-cluster-monitor-data.md | 2 +- en/backup-restore-cr.md | 8 +-- en/backup-restore-faq.md | 2 +- en/configure-a-tidb-cluster.md | 4 +- en/deploy-cluster-on-arm64.md | 2 +- en/deploy-heterogeneous-tidb-cluster.md | 6 +- en/deploy-on-aws-eks.md | 2 +- en/deploy-on-azure-aks.md | 2 +- en/deploy-on-gcp-gke.md | 2 +- en/deploy-on-general-kubernetes.md | 58 +++++++++---------- en/deploy-tidb-binlog.md | 6 +- ...tidb-cluster-across-multiple-kubernetes.md | 8 +-- en/deploy-tidb-dm.md | 16 ++--- ...tidb-monitor-across-multiple-kubernetes.md | 2 +- en/enable-tls-between-components.md | 4 +- en/enable-tls-for-dm.md | 4 +- en/enable-tls-for-mysql-client.md | 2 +- en/get-started.md | 8 +-- en/monitor-a-tidb-cluster.md | 10 ++-- en/pd-recover.md | 2 +- en/restart-a-tidb-cluster.md | 2 +- en/restore-from-aws-s3-by-snapshot.md | 2 +- en/upgrade-a-tidb-cluster.md | 2 +- zh/access-dashboard.md | 2 +- zh/advanced-statefulset.md | 6 +- zh/aggregate-multiple-cluster-monitor-data.md | 2 +- zh/backup-restore-faq.md | 2 +- zh/configure-a-tidb-cluster.md | 4 +- zh/deploy-heterogeneous-tidb-cluster.md | 6 +- zh/deploy-on-gcp-gke.md | 2 +- zh/deploy-on-general-kubernetes.md | 58 +++++++++---------- zh/deploy-tidb-binlog.md | 6 +- ...tidb-cluster-across-multiple-kubernetes.md | 8 +-- zh/deploy-tidb-dm.md | 16 ++--- ...tidb-monitor-across-multiple-kubernetes.md | 8 +-- zh/enable-monitor-shards.md | 2 +- zh/enable-tls-between-components.md | 4 +- zh/enable-tls-for-dm.md | 4 +- zh/enable-tls-for-mysql-client.md | 2 +- zh/get-started.md | 10 ++-- zh/monitor-a-tidb-cluster.md | 10 ++-- zh/pd-recover.md | 2 +- zh/restart-a-tidb-cluster.md | 2 +- zh/restore-from-aws-s3-by-snapshot.md | 2 +- 46 files changed, 161 insertions(+), 161 deletions(-) diff --git a/en/access-dashboard.md b/en/access-dashboard.md index b3a36d7d8..63fcb8160 100644 --- a/en/access-dashboard.md +++ b/en/access-dashboard.md @@ -238,7 +238,7 @@ To enable this feature, you need to deploy TidbNGMonitoring CR using TiDB Operat ngMonitoring: requests: storage: 10Gi - version: v8.1.0 + version: v8.5.0 # storageClassName: default baseImage: pingcap/ng-monitoring EOF diff --git a/en/advanced-statefulset.md b/en/advanced-statefulset.md index 5696814f9..47f743370 100644 --- a/en/advanced-statefulset.md +++ b/en/advanced-statefulset.md @@ -85,7 +85,7 @@ kind: TidbCluster metadata: name: asts spec: - version: v8.1.0 + version: v8.5.0 timezone: UTC pvReclaimPolicy: Delete pd: @@ -137,7 +137,7 @@ metadata: tikv.tidb.pingcap.com/delete-slots: '[1]' name: asts spec: - version: v8.1.0 + version: v8.5.0 timezone: UTC pvReclaimPolicy: Delete pd: @@ -191,7 +191,7 @@ metadata: tikv.tidb.pingcap.com/delete-slots: '[]' name: asts spec: - version: v8.1.0 + version: v8.5.0 timezone: UTC pvReclaimPolicy: Delete pd: diff --git a/en/aggregate-multiple-cluster-monitor-data.md b/en/aggregate-multiple-cluster-monitor-data.md index ddf79d634..9b94c8263 100644 --- a/en/aggregate-multiple-cluster-monitor-data.md +++ b/en/aggregate-multiple-cluster-monitor-data.md @@ -170,7 +170,7 @@ spec: version: 7.5.11 initializer: baseImage: registry.cn-beijing.aliyuncs.com/tidb/tidb-monitor-initializer - version: v8.1.0 + version: v8.5.0 reloader: baseImage: registry.cn-beijing.aliyuncs.com/tidb/tidb-monitor-reloader version: v1.0.1 diff --git a/en/backup-restore-cr.md b/en/backup-restore-cr.md index 2408858fd..739f2f120 100644 --- a/en/backup-restore-cr.md +++ b/en/backup-restore-cr.md @@ -20,10 +20,10 @@ This section introduces the fields in the `Backup` CR. - When using BR for backup, you can specify the BR version in this field. - If the field is not specified or the value is empty, the `pingcap/br:${tikv_version}` image is used for backup by default. - - If the BR version is specified in this field, such as `.spec.toolImage: pingcap/br:v8.1.0`, the image of the specified version is used for backup. + - If the BR version is specified in this field, such as `.spec.toolImage: pingcap/br:v8.5.0`, the image of the specified version is used for backup. - If an image is specified without the version, such as `.spec.toolImage: private/registry/br`, the `private/registry/br:${tikv_version}` image is used for backup. - When using Dumpling for backup, you can specify the Dumpling version in this field. - - If the Dumpling version is specified in this field, such as `spec.toolImage: pingcap/dumpling:v8.1.0`, the image of the specified version is used for backup. + - If the Dumpling version is specified in this field, such as `spec.toolImage: pingcap/dumpling:v8.5.0`, the image of the specified version is used for backup. - If the field is not specified, the Dumpling version specified in `TOOLKIT_VERSION` of the [Backup Manager Dockerfile](https://github.com/pingcap/tidb-operator/blob/v1.6.0/images/tidb-backup-manager/Dockerfile) is used for backup by default. * `.spec.backupType`: the backup type. This field is valid only when you use BR for backup. Currently, the following three types are supported, and this field can be combined with the `.spec.tableFilter` field to configure table filter rules: @@ -260,8 +260,8 @@ This section introduces the fields in the `Restore` CR. * `.spec.metadata.namespace`: the namespace where the `Restore` CR is located. * `.spec.toolImage`:the tools image used by `Restore`. TiDB Operator supports this configuration starting from v1.1.9. - - When using BR for restoring, you can specify the BR version in this field. For example,`spec.toolImage: pingcap/br:v8.1.0`. If not specified, `pingcap/br:${tikv_version}` is used for restoring by default. - - When using Lightning for restoring, you can specify the Lightning version in this field. For example, `spec.toolImage: pingcap/lightning:v8.1.0`. If not specified, the Lightning version specified in `TOOLKIT_VERSION` of the [Backup Manager Dockerfile](https://github.com/pingcap/tidb-operator/blob/v1.6.0/images/tidb-backup-manager/Dockerfile) is used for restoring by default. + - When using BR for restoring, you can specify the BR version in this field. For example,`spec.toolImage: pingcap/br:v8.5.0`. If not specified, `pingcap/br:${tikv_version}` is used for restoring by default. + - When using Lightning for restoring, you can specify the Lightning version in this field. For example, `spec.toolImage: pingcap/lightning:v8.5.0`. If not specified, the Lightning version specified in `TOOLKIT_VERSION` of the [Backup Manager Dockerfile](https://github.com/pingcap/tidb-operator/blob/v1.6.0/images/tidb-backup-manager/Dockerfile) is used for restoring by default. * `.spec.backupType`: the restore type. This field is valid only when you use BR to restore data. Currently, the following three types are supported, and this field can be combined with the `.spec.tableFilter` field to configure table filter rules: * `full`: restore all databases in a TiDB cluster. diff --git a/en/backup-restore-faq.md b/en/backup-restore-faq.md index 47d40884e..e56fa3dd8 100644 --- a/en/backup-restore-faq.md +++ b/en/backup-restore-faq.md @@ -212,7 +212,7 @@ Solution: backupType: full restoreMode: volume-snapshot serviceAccount: tidb-backup-manager - toolImage: pingcap/br:v8.1.0 + toolImage: pingcap/br:v8.5.0 br: cluster: basic clusterNamespace: tidb-cluster diff --git a/en/configure-a-tidb-cluster.md b/en/configure-a-tidb-cluster.md index a40f7aeac..ebe01f7eb 100644 --- a/en/configure-a-tidb-cluster.md +++ b/en/configure-a-tidb-cluster.md @@ -41,11 +41,11 @@ Usually, components in a cluster are in the same version. It is recommended to c Here are the formats of the parameters: -- `spec.version`: the format is `imageTag`, such as `v8.1.0` +- `spec.version`: the format is `imageTag`, such as `v8.5.0` - `spec..baseImage`: the format is `imageName`, such as `pingcap/tidb` -- `spec..version`: the format is `imageTag`, such as `v8.1.0` +- `spec..version`: the format is `imageTag`, such as `v8.5.0` ### Recommended configuration diff --git a/en/deploy-cluster-on-arm64.md b/en/deploy-cluster-on-arm64.md index ef5dabd1a..b594158cb 100644 --- a/en/deploy-cluster-on-arm64.md +++ b/en/deploy-cluster-on-arm64.md @@ -38,7 +38,7 @@ Before starting the process, make sure that Kubernetes clusters are deployed on name: ${cluster_name} namespace: ${cluster_namespace} spec: - version: "v8.1.0" + version: "v8.5.0" # ... helper: image: busybox:1.33.0 diff --git a/en/deploy-heterogeneous-tidb-cluster.md b/en/deploy-heterogeneous-tidb-cluster.md index e872b9492..9040070a0 100644 --- a/en/deploy-heterogeneous-tidb-cluster.md +++ b/en/deploy-heterogeneous-tidb-cluster.md @@ -48,7 +48,7 @@ To deploy a heterogeneous cluster, do the following: name: ${heterogeneous_cluster_name} spec: configUpdateStrategy: RollingUpdate - version: v8.1.0 + version: v8.5.0 timezone: UTC pvReclaimPolicy: Delete discovery: {} @@ -129,7 +129,7 @@ After creating certificates, take the following steps to deploy a TLS-enabled he tlsCluster: enabled: true configUpdateStrategy: RollingUpdate - version: v8.1.0 + version: v8.5.0 timezone: UTC pvReclaimPolicy: Delete discovery: {} @@ -218,7 +218,7 @@ If you need to deploy a monitoring component for a heterogeneous cluster, take t version: 7.5.11 initializer: baseImage: pingcap/tidb-monitor-initializer - version: v8.1.0 + version: v8.5.0 reloader: baseImage: pingcap/tidb-monitor-reloader version: v1.0.1 diff --git a/en/deploy-on-aws-eks.md b/en/deploy-on-aws-eks.md index acdaa780c..49ba75f09 100644 --- a/en/deploy-on-aws-eks.md +++ b/en/deploy-on-aws-eks.md @@ -496,7 +496,7 @@ After the bastion host is created, you can connect to the bastion host via SSH a $ mysql --comments -h abfc623004ccb4cc3b363f3f37475af1-9774d22c27310bc1.elb.us-west-2.amazonaws.com -P 4000 -u root Welcome to the MariaDB monitor. Commands end with ; or \g. Your MySQL connection id is 1189 - Server version: 8.0.11-TiDB-v8.1.0 TiDB Server (Apache License 2.0) Community Edition, MySQL 8.0 compatible + Server version: 8.0.11-TiDB-v8.5.0 TiDB Server (Apache License 2.0) Community Edition, MySQL 8.0 compatible Copyright (c) 2000, 2022, Oracle and/or its affiliates. diff --git a/en/deploy-on-azure-aks.md b/en/deploy-on-azure-aks.md index 02a622d15..63f9b39b9 100644 --- a/en/deploy-on-azure-aks.md +++ b/en/deploy-on-azure-aks.md @@ -312,7 +312,7 @@ After access to the internal host via SSH, you can access the TiDB cluster throu $ mysql --comments -h 20.240.0.7 -P 4000 -u root Welcome to the MariaDB monitor. Commands end with ; or \g. Your MySQL connection id is 1189 - Server version: 8.0.11-TiDB-v8.1.0 TiDB Server (Apache License 2.0) Community Edition, MySQL 8.0 compatible + Server version: 8.0.11-TiDB-v8.5.0 TiDB Server (Apache License 2.0) Community Edition, MySQL 8.0 compatible Copyright (c) 2000, 2022, Oracle and/or its affiliates. diff --git a/en/deploy-on-gcp-gke.md b/en/deploy-on-gcp-gke.md index 3ff694278..2f7f56c55 100644 --- a/en/deploy-on-gcp-gke.md +++ b/en/deploy-on-gcp-gke.md @@ -278,7 +278,7 @@ After the bastion host is created, you can connect to the bastion host via SSH a $ mysql --comments -h 10.128.15.243 -P 4000 -u root Welcome to the MariaDB monitor. Commands end with ; or \g. Your MySQL connection id is 7823 - Server version: 8.0.11-TiDB-v8.1.0 TiDB Server (Apache License 2.0) Community Edition, MySQL 8.0 compatible + Server version: 8.0.11-TiDB-v8.5.0 TiDB Server (Apache License 2.0) Community Edition, MySQL 8.0 compatible Copyright (c) 2000, 2022, Oracle and/or its affiliates. diff --git a/en/deploy-on-general-kubernetes.md b/en/deploy-on-general-kubernetes.md index a4108a14f..78ec52728 100644 --- a/en/deploy-on-general-kubernetes.md +++ b/en/deploy-on-general-kubernetes.md @@ -42,18 +42,18 @@ This document describes how to deploy a TiDB cluster on general Kubernetes. If the server does not have an external network, you need to download the Docker image used by the TiDB cluster on a machine with Internet access and upload it to the server, and then use `docker load` to install the Docker image on the server. - To deploy a TiDB cluster, you need the following Docker images (assuming the version of the TiDB cluster is v8.1.0): + To deploy a TiDB cluster, you need the following Docker images (assuming the version of the TiDB cluster is v8.5.0): ```shell - pingcap/pd:v8.1.0 - pingcap/tikv:v8.1.0 - pingcap/tidb:v8.1.0 - pingcap/tidb-binlog:v8.1.0 - pingcap/ticdc:v8.1.0 - pingcap/tiflash:v8.1.0 + pingcap/pd:v8.5.0 + pingcap/tikv:v8.5.0 + pingcap/tidb:v8.5.0 + pingcap/tidb-binlog:v8.5.0 + pingcap/ticdc:v8.5.0 + pingcap/tiflash:v8.5.0 pingcap/tiproxy:latest pingcap/tidb-monitor-reloader:v1.0.1 - pingcap/tidb-monitor-initializer:v8.1.0 + pingcap/tidb-monitor-initializer:v8.5.0 grafana/grafana:7.5.11 prom/prometheus:v2.18.1 busybox:1.26.2 @@ -64,28 +64,28 @@ This document describes how to deploy a TiDB cluster on general Kubernetes. {{< copyable "shell-regular" >}} ```shell - docker pull pingcap/pd:v8.1.0 - docker pull pingcap/tikv:v8.1.0 - docker pull pingcap/tidb:v8.1.0 - docker pull pingcap/tidb-binlog:v8.1.0 - docker pull pingcap/ticdc:v8.1.0 - docker pull pingcap/tiflash:v8.1.0 + docker pull pingcap/pd:v8.5.0 + docker pull pingcap/tikv:v8.5.0 + docker pull pingcap/tidb:v8.5.0 + docker pull pingcap/tidb-binlog:v8.5.0 + docker pull pingcap/ticdc:v8.5.0 + docker pull pingcap/tiflash:v8.5.0 docker pull pingcap/tiproxy:latest docker pull pingcap/tidb-monitor-reloader:v1.0.1 - docker pull pingcap/tidb-monitor-initializer:v8.1.0 + docker pull pingcap/tidb-monitor-initializer:v8.5.0 docker pull grafana/grafana:7.5.11 docker pull prom/prometheus:v2.18.1 docker pull busybox:1.26.2 - docker save -o pd-v8.1.0.tar pingcap/pd:v8.1.0 - docker save -o tikv-v8.1.0.tar pingcap/tikv:v8.1.0 - docker save -o tidb-v8.1.0.tar pingcap/tidb:v8.1.0 - docker save -o tidb-binlog-v8.1.0.tar pingcap/tidb-binlog:v8.1.0 - docker save -o ticdc-v8.1.0.tar pingcap/ticdc:v8.1.0 + docker save -o pd-v8.5.0.tar pingcap/pd:v8.5.0 + docker save -o tikv-v8.5.0.tar pingcap/tikv:v8.5.0 + docker save -o tidb-v8.5.0.tar pingcap/tidb:v8.5.0 + docker save -o tidb-binlog-v8.5.0.tar pingcap/tidb-binlog:v8.5.0 + docker save -o ticdc-v8.5.0.tar pingcap/ticdc:v8.5.0 docker save -o tiproxy-latest.tar pingcap/tiproxy:latest - docker save -o tiflash-v8.1.0.tar pingcap/tiflash:v8.1.0 + docker save -o tiflash-v8.5.0.tar pingcap/tiflash:v8.5.0 docker save -o tidb-monitor-reloader-v1.0.1.tar pingcap/tidb-monitor-reloader:v1.0.1 - docker save -o tidb-monitor-initializer-v8.1.0.tar pingcap/tidb-monitor-initializer:v8.1.0 + docker save -o tidb-monitor-initializer-v8.5.0.tar pingcap/tidb-monitor-initializer:v8.5.0 docker save -o grafana-6.0.1.tar grafana/grafana:7.5.11 docker save -o prometheus-v2.18.1.tar prom/prometheus:v2.18.1 docker save -o busybox-1.26.2.tar busybox:1.26.2 @@ -96,15 +96,15 @@ This document describes how to deploy a TiDB cluster on general Kubernetes. {{< copyable "shell-regular" >}} ```shell - docker load -i pd-v8.1.0.tar - docker load -i tikv-v8.1.0.tar - docker load -i tidb-v8.1.0.tar - docker load -i tidb-binlog-v8.1.0.tar - docker load -i ticdc-v8.1.0.tar + docker load -i pd-v8.5.0.tar + docker load -i tikv-v8.5.0.tar + docker load -i tidb-v8.5.0.tar + docker load -i tidb-binlog-v8.5.0.tar + docker load -i ticdc-v8.5.0.tar docker load -i tiproxy-latest.tar - docker load -i tiflash-v8.1.0.tar + docker load -i tiflash-v8.5.0.tar docker load -i tidb-monitor-reloader-v1.0.1.tar - docker load -i tidb-monitor-initializer-v8.1.0.tar + docker load -i tidb-monitor-initializer-v8.5.0.tar docker load -i grafana-6.0.1.tar docker load -i prometheus-v2.18.1.tar docker load -i busybox-1.26.2.tar diff --git a/en/deploy-tidb-binlog.md b/en/deploy-tidb-binlog.md index e6968e211..384673ca5 100644 --- a/en/deploy-tidb-binlog.md +++ b/en/deploy-tidb-binlog.md @@ -32,7 +32,7 @@ TiDB Binlog is disabled in the TiDB cluster by default. To create a TiDB cluster ... pump: baseImage: pingcap/tidb-binlog - version: v8.1.0 + version: v8.5.0 replicas: 1 storageClassName: local-storage requests: @@ -51,7 +51,7 @@ TiDB Binlog is disabled in the TiDB cluster by default. To create a TiDB cluster ... pump: baseImage: pingcap/tidb-binlog - version: v8.1.0 + version: v8.5.0 replicas: 1 storageClassName: local-storage requests: @@ -192,7 +192,7 @@ To deploy multiple drainers using the `tidb-drainer` Helm chart for a TiDB clust ```yaml clusterName: example-tidb - clusterVersion: v8.1.0 + clusterVersion: v8.5.0 baseImage:pingcap/tidb-binlog storageClassName: local-storage storage: 10Gi diff --git a/en/deploy-tidb-cluster-across-multiple-kubernetes.md b/en/deploy-tidb-cluster-across-multiple-kubernetes.md index 6ddd02c6d..26142bb90 100644 --- a/en/deploy-tidb-cluster-across-multiple-kubernetes.md +++ b/en/deploy-tidb-cluster-across-multiple-kubernetes.md @@ -52,7 +52,7 @@ kind: TidbCluster metadata: name: "${tc_name_1}" spec: - version: v8.1.0 + version: v8.5.0 timezone: UTC pvReclaimPolicy: Delete enableDynamicConfiguration: true @@ -106,7 +106,7 @@ kind: TidbCluster metadata: name: "${tc_name_2}" spec: - version: v8.1.0 + version: v8.5.0 timezone: UTC pvReclaimPolicy: Delete enableDynamicConfiguration: true @@ -383,7 +383,7 @@ kind: TidbCluster metadata: name: "${tc_name_1}" spec: - version: v8.1.0 + version: v8.5.0 timezone: UTC tlsCluster: enabled: true @@ -441,7 +441,7 @@ kind: TidbCluster metadata: name: "${tc_name_2}" spec: - version: v8.1.0 + version: v8.5.0 timezone: UTC tlsCluster: enabled: true diff --git a/en/deploy-tidb-dm.md b/en/deploy-tidb-dm.md index 0a3365fdb..615f4adb9 100644 --- a/en/deploy-tidb-dm.md +++ b/en/deploy-tidb-dm.md @@ -29,9 +29,9 @@ Usually, components in a cluster are in the same version. It is recommended to c The formats of the related parameters are as follows: -- `spec.version`: the format is `imageTag`, such as `v8.1.0`. +- `spec.version`: the format is `imageTag`, such as `v8.5.0`. - `spec..baseImage`: the format is `imageName`, such as `pingcap/dm`. -- `spec..version`: the format is `imageTag`, such as `v8.1.0`. +- `spec..version`: the format is `imageTag`, such as `v8.5.0`. TiDB Operator only supports deploying DM 2.0 and later versions. @@ -50,7 +50,7 @@ metadata: name: ${dm_cluster_name} namespace: ${namespace} spec: - version: v8.1.0 + version: v8.5.0 configUpdateStrategy: RollingUpdate pvReclaimPolicy: Retain discovery: {} @@ -136,10 +136,10 @@ kubectl apply -f ${dm_cluster_name}.yaml -n ${namespace} If the server does not have an external network, you need to download the Docker image used by the DM cluster and upload the image to the server, and then execute `docker load` to install the Docker image on the server: -1. Deploy a DM cluster requires the following Docker image (assuming the version of the DM cluster is v8.1.0): +1. Deploy a DM cluster requires the following Docker image (assuming the version of the DM cluster is v8.5.0): ```shell - pingcap/dm:v8.1.0 + pingcap/dm:v8.5.0 ``` 2. To download the image, execute the following command: @@ -147,8 +147,8 @@ If the server does not have an external network, you need to download the Docker {{< copyable "shell-regular" >}} ```shell - docker pull pingcap/dm:v8.1.0 - docker save -o dm-v8.1.0.tar pingcap/dm:v8.1.0 + docker pull pingcap/dm:v8.5.0 + docker save -o dm-v8.5.0.tar pingcap/dm:v8.5.0 ``` 3. Upload the Docker image to the server, and execute `docker load` to install the image on the server: @@ -156,7 +156,7 @@ If the server does not have an external network, you need to download the Docker {{< copyable "shell-regular" >}} ```shell - docker load -i dm-v8.1.0.tar + docker load -i dm-v8.5.0.tar ``` After deploying the DM cluster, execute the following command to view the Pod status: diff --git a/en/deploy-tidb-monitor-across-multiple-kubernetes.md b/en/deploy-tidb-monitor-across-multiple-kubernetes.md index c4ff111e0..6daea3537 100644 --- a/en/deploy-tidb-monitor-across-multiple-kubernetes.md +++ b/en/deploy-tidb-monitor-across-multiple-kubernetes.md @@ -302,7 +302,7 @@ After collecting data using Prometheus, you can visualize multi-cluster monitori ```shell # set tidb version here - version=v8.1.0 + version=v8.5.0 docker run --rm -i -v ${PWD}/dashboards:/dashboards/ pingcap/tidb-monitor-initializer:${version} && \ cd dashboards ``` diff --git a/en/enable-tls-between-components.md b/en/enable-tls-between-components.md index 28cb719f6..be783373f 100644 --- a/en/enable-tls-between-components.md +++ b/en/enable-tls-between-components.md @@ -1399,7 +1399,7 @@ In this step, you need to perform the following operations: spec: tlsCluster: enabled: true - version: v8.1.0 + version: v8.5.0 timezone: UTC pvReclaimPolicy: Retain pd: @@ -1458,7 +1458,7 @@ In this step, you need to perform the following operations: version: 7.5.11 initializer: baseImage: pingcap/tidb-monitor-initializer - version: v8.1.0 + version: v8.5.0 reloader: baseImage: pingcap/tidb-monitor-reloader version: v1.0.1 diff --git a/en/enable-tls-for-dm.md b/en/enable-tls-for-dm.md index aa5d602a4..c30d40926 100644 --- a/en/enable-tls-for-dm.md +++ b/en/enable-tls-for-dm.md @@ -518,7 +518,7 @@ metadata: spec: tlsCluster: enabled: true - version: v8.1.0 + version: v8.5.0 pvReclaimPolicy: Retain discovery: {} master: @@ -588,7 +588,7 @@ metadata: name: ${cluster_name} namespace: ${namespace} spec: - version: v8.1.0 + version: v8.5.0 pvReclaimPolicy: Retain discovery: {} tlsClientSecretNames: diff --git a/en/enable-tls-for-mysql-client.md b/en/enable-tls-for-mysql-client.md index 0752188f1..fc73bc8b1 100644 --- a/en/enable-tls-for-mysql-client.md +++ b/en/enable-tls-for-mysql-client.md @@ -554,7 +554,7 @@ In this step, you create a TiDB cluster and perform the following operations: name: ${cluster_name} namespace: ${namespace} spec: - version: v8.1.0 + version: v8.5.0 timezone: UTC pvReclaimPolicy: Retain pd: diff --git a/en/get-started.md b/en/get-started.md index 7128d92ff..2fa7e367f 100644 --- a/en/get-started.md +++ b/en/get-started.md @@ -459,10 +459,10 @@ APPROXIMATE_KEYS: 0 ```sql mysql> select tidb_version()\G *************************** 1. row *************************** - tidb_version(): Release Version: v8.1.0 + tidb_version(): Release Version: v8.5.0 Edition: Community Git Commit Hash: 700beafa79844b7b48dcba1c452ea3ff49d8f271 - Git Branch: heads/refs/tags/v8.1.0 + Git Branch: heads/refs/tags/v8.5.0 UTC Build Time: 2023-11-10 14:38:24 GoVersion: go1.21.3 Race Enabled: false @@ -648,10 +648,10 @@ Note that `nightly` is not a fixed version and the version might vary depending ``` *************************** 1. row *************************** -tidb_version(): Release Version: v8.1.0 +tidb_version(): Release Version: v8.5.0 Edition: Community Git Commit Hash: 700beafa79844b7b48dcba1c452ea3ff49d8f271 -Git Branch: heads/refs/tags/v8.1.0 +Git Branch: heads/refs/tags/v8.5.0 UTC Build Time: 2023-11-10 14:38:24 GoVersion: go1.21.3 Race Enabled: false diff --git a/en/monitor-a-tidb-cluster.md b/en/monitor-a-tidb-cluster.md index 16066ae29..64e1a2f1c 100644 --- a/en/monitor-a-tidb-cluster.md +++ b/en/monitor-a-tidb-cluster.md @@ -51,7 +51,7 @@ spec: type: NodePort initializer: baseImage: pingcap/tidb-monitor-initializer - version: v8.1.0 + version: v8.5.0 reloader: baseImage: pingcap/tidb-monitor-reloader version: v1.0.1 @@ -173,7 +173,7 @@ spec: type: NodePort initializer: baseImage: pingcap/tidb-monitor-initializer - version: v8.1.0 + version: v8.5.0 reloader: baseImage: pingcap/tidb-monitor-reloader version: v1.0.1 @@ -232,7 +232,7 @@ spec: foo: "bar" initializer: baseImage: pingcap/tidb-monitor-initializer - version: v8.1.0 + version: v8.5.0 reloader: baseImage: pingcap/tidb-monitor-reloader version: v1.0.1 @@ -274,7 +274,7 @@ spec: type: ClusterIP initializer: baseImage: pingcap/tidb-monitor-initializer - version: v8.1.0 + version: v8.5.0 reloader: baseImage: pingcap/tidb-monitor-reloader version: v1.0.1 @@ -357,7 +357,7 @@ spec: type: NodePort initializer: baseImage: pingcap/tidb-monitor-initializer - version: v8.1.0 + version: v8.5.0 reloader: baseImage: pingcap/tidb-monitor-reloader version: v1.0.1 diff --git a/en/pd-recover.md b/en/pd-recover.md index 431c2c178..a99ed5c15 100644 --- a/en/pd-recover.md +++ b/en/pd-recover.md @@ -18,7 +18,7 @@ PD Recover is a disaster recovery tool of [PD](https://docs.pingcap.com/tidb/sta wget https://download.pingcap.org/tidb-community-toolkit-${version}-linux-amd64.tar.gz ``` - In the command above, `${version}` is the version of the TiDB cluster, such as `v8.1.0`. + In the command above, `${version}` is the version of the TiDB cluster, such as `v8.5.0`. 2. Unpack the TiDB package: diff --git a/en/restart-a-tidb-cluster.md b/en/restart-a-tidb-cluster.md index 6a79bc14f..9f3fa9b1b 100644 --- a/en/restart-a-tidb-cluster.md +++ b/en/restart-a-tidb-cluster.md @@ -32,7 +32,7 @@ kind: TidbCluster metadata: name: basic spec: - version: v8.1.0 + version: v8.5.0 timezone: UTC pvReclaimPolicy: Delete pd: diff --git a/en/restore-from-aws-s3-by-snapshot.md b/en/restore-from-aws-s3-by-snapshot.md index 7f0c00fd2..d415948f8 100644 --- a/en/restore-from-aws-s3-by-snapshot.md +++ b/en/restore-from-aws-s3-by-snapshot.md @@ -25,7 +25,7 @@ The restore method described in this document is implemented based on CustomReso backupType: full restoreMode: volume-snapshot serviceAccount: tidb-backup-manager - toolImage: pingcap/br:v8.1.0 + toolImage: pingcap/br:v8.5.0 br: cluster: basic clusterNamespace: tidb-cluster diff --git a/en/upgrade-a-tidb-cluster.md b/en/upgrade-a-tidb-cluster.md index ba053645d..737fd729e 100644 --- a/en/upgrade-a-tidb-cluster.md +++ b/en/upgrade-a-tidb-cluster.md @@ -58,7 +58,7 @@ During the rolling update, TiDB Operator automatically completes Leader transfer The `version` field has following formats: - - `spec.version`: the format is `imageTag`, such as `v8.1.0` + - `spec.version`: the format is `imageTag`, such as `v8.5.0` - `spec..version`: the format is `imageTag`, such as `v3.1.0` 2. Check the upgrade progress: diff --git a/zh/access-dashboard.md b/zh/access-dashboard.md index 57c3e8540..24bfb726f 100644 --- a/zh/access-dashboard.md +++ b/zh/access-dashboard.md @@ -235,7 +235,7 @@ spec: ngMonitoring: requests: storage: 10Gi - version: v8.1.0 + version: v8.5.0 # storageClassName: default baseImage: pingcap/ng-monitoring EOF diff --git a/zh/advanced-statefulset.md b/zh/advanced-statefulset.md index 75248002c..043c40bae 100644 --- a/zh/advanced-statefulset.md +++ b/zh/advanced-statefulset.md @@ -83,7 +83,7 @@ kind: TidbCluster metadata: name: asts spec: - version: v8.1.0 + version: v8.5.0 timezone: UTC pvReclaimPolicy: Delete pd: @@ -135,7 +135,7 @@ metadata: tikv.tidb.pingcap.com/delete-slots: '[1]' name: asts spec: - version: v8.1.0 + version: v8.5.0 timezone: UTC pvReclaimPolicy: Delete pd: @@ -189,7 +189,7 @@ metadata: tikv.tidb.pingcap.com/delete-slots: '[]' name: asts spec: - version: v8.1.0 + version: v8.5.0 timezone: UTC pvReclaimPolicy: Delete pd: diff --git a/zh/aggregate-multiple-cluster-monitor-data.md b/zh/aggregate-multiple-cluster-monitor-data.md index e1f4586fd..9e5f9e353 100644 --- a/zh/aggregate-multiple-cluster-monitor-data.md +++ b/zh/aggregate-multiple-cluster-monitor-data.md @@ -170,7 +170,7 @@ spec: version: 7.5.11 initializer: baseImage: registry.cn-beijing.aliyuncs.com/tidb/tidb-monitor-initializer - version: v8.1.0 + version: v8.5.0 reloader: baseImage: registry.cn-beijing.aliyuncs.com/tidb/tidb-monitor-reloader version: v1.0.1 diff --git a/zh/backup-restore-faq.md b/zh/backup-restore-faq.md index bbf1d96ed..b698f97b9 100644 --- a/zh/backup-restore-faq.md +++ b/zh/backup-restore-faq.md @@ -208,7 +208,7 @@ error="rpc error: code = Unavailable desc = keepalive watchdog timeout" backupType: full restoreMode: volume-snapshot serviceAccount: tidb-backup-manager - toolImage: pingcap/br:v8.1.0 + toolImage: pingcap/br:v8.5.0 br: cluster: basic clusterNamespace: tidb-cluster diff --git a/zh/configure-a-tidb-cluster.md b/zh/configure-a-tidb-cluster.md index 5ffb0e230..d8dcc9bcf 100644 --- a/zh/configure-a-tidb-cluster.md +++ b/zh/configure-a-tidb-cluster.md @@ -41,9 +41,9 @@ aliases: ['/docs-cn/tidb-in-kubernetes/dev/configure-a-tidb-cluster/','/zh/tidb- 相关参数的格式如下: -- `spec.version`,格式为 `imageTag`,例如 `v8.1.0` +- `spec.version`,格式为 `imageTag`,例如 `v8.5.0` - `spec..baseImage`,格式为 `imageName`,例如 `pingcap/tidb` -- `spec..version`,格式为 `imageTag`,例如 `v8.1.0` +- `spec..version`,格式为 `imageTag`,例如 `v8.5.0` ### 推荐配置 diff --git a/zh/deploy-heterogeneous-tidb-cluster.md b/zh/deploy-heterogeneous-tidb-cluster.md index 950c6a117..847055404 100644 --- a/zh/deploy-heterogeneous-tidb-cluster.md +++ b/zh/deploy-heterogeneous-tidb-cluster.md @@ -50,7 +50,7 @@ summary: 本文档介绍如何为已有的 TiDB 集群部署一个异构集群 name: ${heterogeneous_cluster_name} spec: configUpdateStrategy: RollingUpdate - version: v8.1.0 + version: v8.5.0 timezone: UTC pvReclaimPolicy: Delete discovery: {} @@ -129,7 +129,7 @@ summary: 本文档介绍如何为已有的 TiDB 集群部署一个异构集群 tlsCluster: enabled: true configUpdateStrategy: RollingUpdate - version: v8.1.0 + version: v8.5.0 timezone: UTC pvReclaimPolicy: Delete discovery: {} @@ -219,7 +219,7 @@ summary: 本文档介绍如何为已有的 TiDB 集群部署一个异构集群 version: 7.5.11 initializer: baseImage: pingcap/tidb-monitor-initializer - version: v8.1.0 + version: v8.5.0 reloader: baseImage: pingcap/tidb-monitor-reloader version: v1.0.1 diff --git a/zh/deploy-on-gcp-gke.md b/zh/deploy-on-gcp-gke.md index 0c66ee3f9..08d6acbb3 100644 --- a/zh/deploy-on-gcp-gke.md +++ b/zh/deploy-on-gcp-gke.md @@ -269,7 +269,7 @@ gcloud compute instances create bastion \ $ mysql --comments -h 10.128.15.243 -P 4000 -u root Welcome to the MariaDB monitor. Commands end with ; or \g. Your MySQL connection id is 7823 - Server version: 8.0.11-TiDB-v8.1.0 TiDB Server (Apache License 2.0) Community Edition, MySQL 8.0 compatible + Server version: 8.0.11-TiDB-v8.5.0 TiDB Server (Apache License 2.0) Community Edition, MySQL 8.0 compatible Copyright (c) 2000, 2022, Oracle and/or its affiliates. diff --git a/zh/deploy-on-general-kubernetes.md b/zh/deploy-on-general-kubernetes.md index bec54fbe3..b90bd40a8 100644 --- a/zh/deploy-on-general-kubernetes.md +++ b/zh/deploy-on-general-kubernetes.md @@ -44,18 +44,18 @@ aliases: ['/docs-cn/tidb-in-kubernetes/dev/deploy-on-general-kubernetes/','/zh/t 如果服务器没有外网,需要在有外网的机器上将 TiDB 集群用到的 Docker 镜像下载下来并上传到服务器上,然后使用 `docker load` 将 Docker 镜像安装到服务器上。 - 部署一套 TiDB 集群会用到下面这些 Docker 镜像(假设 TiDB 集群的版本是 v8.1.0): + 部署一套 TiDB 集群会用到下面这些 Docker 镜像(假设 TiDB 集群的版本是 v8.5.0): ```shell - pingcap/pd:v8.1.0 - pingcap/tikv:v8.1.0 - pingcap/tidb:v8.1.0 - pingcap/tidb-binlog:v8.1.0 - pingcap/ticdc:v8.1.0 - pingcap/tiflash:v8.1.0 + pingcap/pd:v8.5.0 + pingcap/tikv:v8.5.0 + pingcap/tidb:v8.5.0 + pingcap/tidb-binlog:v8.5.0 + pingcap/ticdc:v8.5.0 + pingcap/tiflash:v8.5.0 pingcap/tiproxy:latest pingcap/tidb-monitor-reloader:v1.0.1 - pingcap/tidb-monitor-initializer:v8.1.0 + pingcap/tidb-monitor-initializer:v8.5.0 grafana/grafana:7.5.11 prom/prometheus:v2.18.1 busybox:1.26.2 @@ -66,28 +66,28 @@ aliases: ['/docs-cn/tidb-in-kubernetes/dev/deploy-on-general-kubernetes/','/zh/t {{< copyable "shell-regular" >}} ```shell - docker pull pingcap/pd:v8.1.0 - docker pull pingcap/tikv:v8.1.0 - docker pull pingcap/tidb:v8.1.0 - docker pull pingcap/tidb-binlog:v8.1.0 - docker pull pingcap/ticdc:v8.1.0 - docker pull pingcap/tiflash:v8.1.0 + docker pull pingcap/pd:v8.5.0 + docker pull pingcap/tikv:v8.5.0 + docker pull pingcap/tidb:v8.5.0 + docker pull pingcap/tidb-binlog:v8.5.0 + docker pull pingcap/ticdc:v8.5.0 + docker pull pingcap/tiflash:v8.5.0 docker pull pingcap/tiproxy:latest docker pull pingcap/tidb-monitor-reloader:v1.0.1 - docker pull pingcap/tidb-monitor-initializer:v8.1.0 + docker pull pingcap/tidb-monitor-initializer:v8.5.0 docker pull grafana/grafana:7.5.11 docker pull prom/prometheus:v2.18.1 docker pull busybox:1.26.2 - docker save -o pd-v8.1.0.tar pingcap/pd:v8.1.0 - docker save -o tikv-v8.1.0.tar pingcap/tikv:v8.1.0 - docker save -o tidb-v8.1.0.tar pingcap/tidb:v8.1.0 - docker save -o tidb-binlog-v8.1.0.tar pingcap/tidb-binlog:v8.1.0 - docker save -o ticdc-v8.1.0.tar pingcap/ticdc:v8.1.0 + docker save -o pd-v8.5.0.tar pingcap/pd:v8.5.0 + docker save -o tikv-v8.5.0.tar pingcap/tikv:v8.5.0 + docker save -o tidb-v8.5.0.tar pingcap/tidb:v8.5.0 + docker save -o tidb-binlog-v8.5.0.tar pingcap/tidb-binlog:v8.5.0 + docker save -o ticdc-v8.5.0.tar pingcap/ticdc:v8.5.0 docker save -o tiproxy-latest.tar pingcap/tiproxy:latest - docker save -o tiflash-v8.1.0.tar pingcap/tiflash:v8.1.0 + docker save -o tiflash-v8.5.0.tar pingcap/tiflash:v8.5.0 docker save -o tidb-monitor-reloader-v1.0.1.tar pingcap/tidb-monitor-reloader:v1.0.1 - docker save -o tidb-monitor-initializer-v8.1.0.tar pingcap/tidb-monitor-initializer:v8.1.0 + docker save -o tidb-monitor-initializer-v8.5.0.tar pingcap/tidb-monitor-initializer:v8.5.0 docker save -o grafana-6.0.1.tar grafana/grafana:7.5.11 docker save -o prometheus-v2.18.1.tar prom/prometheus:v2.18.1 docker save -o busybox-1.26.2.tar busybox:1.26.2 @@ -98,15 +98,15 @@ aliases: ['/docs-cn/tidb-in-kubernetes/dev/deploy-on-general-kubernetes/','/zh/t {{< copyable "shell-regular" >}} ```shell - docker load -i pd-v8.1.0.tar - docker load -i tikv-v8.1.0.tar - docker load -i tidb-v8.1.0.tar - docker load -i tidb-binlog-v8.1.0.tar - docker load -i ticdc-v8.1.0.tar + docker load -i pd-v8.5.0.tar + docker load -i tikv-v8.5.0.tar + docker load -i tidb-v8.5.0.tar + docker load -i tidb-binlog-v8.5.0.tar + docker load -i ticdc-v8.5.0.tar docker load -i tiproxy-latest.tar - docker load -i tiflash-v8.1.0.tar + docker load -i tiflash-v8.5.0.tar docker load -i tidb-monitor-reloader-v1.0.1.tar - docker load -i tidb-monitor-initializer-v8.1.0.tar + docker load -i tidb-monitor-initializer-v8.5.0.tar docker load -i grafana-6.0.1.tar docker load -i prometheus-v2.18.1.tar docker load -i busybox-1.26.2.tar diff --git a/zh/deploy-tidb-binlog.md b/zh/deploy-tidb-binlog.md index 6ae58db61..5423be4a2 100644 --- a/zh/deploy-tidb-binlog.md +++ b/zh/deploy-tidb-binlog.md @@ -30,7 +30,7 @@ spec ... pump: baseImage: pingcap/tidb-binlog - version: v8.1.0 + version: v8.5.0 replicas: 1 storageClassName: local-storage requests: @@ -49,7 +49,7 @@ spec ... pump: baseImage: pingcap/tidb-binlog - version: v8.1.0 + version: v8.5.0 replicas: 1 storageClassName: local-storage requests: @@ -186,7 +186,7 @@ spec ```yaml clusterName: example-tidb - clusterVersion: v8.1.0 + clusterVersion: v8.5.0 baseImage: pingcap/tidb-binlog storageClassName: local-storage storage: 10Gi diff --git a/zh/deploy-tidb-cluster-across-multiple-kubernetes.md b/zh/deploy-tidb-cluster-across-multiple-kubernetes.md index 73086d367..1f5bad891 100644 --- a/zh/deploy-tidb-cluster-across-multiple-kubernetes.md +++ b/zh/deploy-tidb-cluster-across-multiple-kubernetes.md @@ -52,7 +52,7 @@ kind: TidbCluster metadata: name: "${tc_name_1}" spec: - version: v8.1.0 + version: v8.5.0 timezone: UTC pvReclaimPolicy: Delete enableDynamicConfiguration: true @@ -106,7 +106,7 @@ kind: TidbCluster metadata: name: "${tc_name_2}" spec: - version: v8.1.0 + version: v8.5.0 timezone: UTC pvReclaimPolicy: Delete enableDynamicConfiguration: true @@ -379,7 +379,7 @@ kind: TidbCluster metadata: name: "${tc_name_1}" spec: - version: v8.1.0 + version: v8.5.0 timezone: UTC tlsCluster: enabled: true @@ -437,7 +437,7 @@ kind: TidbCluster metadata: name: "${tc_name_2}" spec: - version: v8.1.0 + version: v8.5.0 timezone: UTC tlsCluster: enabled: true diff --git a/zh/deploy-tidb-dm.md b/zh/deploy-tidb-dm.md index f9184a25f..dde2a3d7b 100644 --- a/zh/deploy-tidb-dm.md +++ b/zh/deploy-tidb-dm.md @@ -29,9 +29,9 @@ summary: 了解如何在 Kubernetes 上部署 TiDB DM 集群。 相关参数的格式如下: -- `spec.version`,格式为 `imageTag`,例如 `v8.1.0` +- `spec.version`,格式为 `imageTag`,例如 `v8.5.0` - `spec..baseImage`,格式为 `imageName`,例如 `pingcap/dm` -- `spec..version`,格式为 `imageTag`,例如 `v8.1.0` +- `spec..version`,格式为 `imageTag`,例如 `v8.5.0` TiDB Operator 仅支持部署 DM 2.0 及更新版本。 @@ -50,7 +50,7 @@ metadata: name: ${dm_cluster_name} namespace: ${namespace} spec: - version: v8.1.0 + version: v8.5.0 configUpdateStrategy: RollingUpdate pvReclaimPolicy: Retain discovery: {} @@ -135,10 +135,10 @@ kubectl apply -f ${dm_cluster_name}.yaml -n ${namespace} 如果服务器没有外网,需要按下述步骤在有外网的机器上将 DM 集群用到的 Docker 镜像下载下来并上传到服务器上,然后使用 `docker load` 将 Docker 镜像安装到服务器上: -1. 部署一套 DM 集群会用到下面这些 Docker 镜像(假设 DM 集群的版本是 v8.1.0): +1. 部署一套 DM 集群会用到下面这些 Docker 镜像(假设 DM 集群的版本是 v8.5.0): ```shell - pingcap/dm:v8.1.0 + pingcap/dm:v8.5.0 ``` 2. 通过下面的命令将所有这些镜像下载下来: @@ -146,9 +146,9 @@ kubectl apply -f ${dm_cluster_name}.yaml -n ${namespace} {{< copyable "shell-regular" >}} ```shell - docker pull pingcap/dm:v8.1.0 + docker pull pingcap/dm:v8.5.0 - docker save -o dm-v8.1.0.tar pingcap/dm:v8.1.0 + docker save -o dm-v8.5.0.tar pingcap/dm:v8.5.0 ``` 3. 将这些 Docker 镜像上传到服务器上,并执行 `docker load` 将这些 Docker 镜像安装到服务器上: @@ -156,7 +156,7 @@ kubectl apply -f ${dm_cluster_name}.yaml -n ${namespace} {{< copyable "shell-regular" >}} ```shell - docker load -i dm-v8.1.0.tar + docker load -i dm-v8.5.0.tar ``` 部署 DM 集群完成后,通过下面命令查看 Pod 状态: diff --git a/zh/deploy-tidb-monitor-across-multiple-kubernetes.md b/zh/deploy-tidb-monitor-across-multiple-kubernetes.md index e5f2579d6..2e7b06b95 100644 --- a/zh/deploy-tidb-monitor-across-multiple-kubernetes.md +++ b/zh/deploy-tidb-monitor-across-multiple-kubernetes.md @@ -75,7 +75,7 @@ Push 方式指利用 Prometheus remote-write 的特性,使位于不同 Kuberne #region: us-east-1 initializer: baseImage: pingcap/tidb-monitor-initializer - version: v8.1.0 + version: v8.5.0 persistent: true storage: 100Gi storageClassName: ${storageclass_name} @@ -159,7 +159,7 @@ Pull 方式是指从不同 Kubernetes 集群的 Prometheus 实例中拉取监控 #region: us-east-1 initializer: baseImage: pingcap/tidb-monitor-initializer - version: v8.1.0 + version: v8.5.0 persistent: true storage: 20Gi storageClassName: ${storageclass_name} @@ -245,7 +245,7 @@ Pull 方式是指从不同 Kubernetes 集群的 Prometheus 实例中拉取监控 #region: us-east-1 initializer: baseImage: pingcap/tidb-monitor-initializer - version: v8.1.0 + version: v8.5.0 persistent: true storage: 20Gi storageClassName: ${storageclass_name} @@ -293,7 +293,7 @@ scrape_configs: ```shell # set tidb version here - version=v8.1.0 + version=v8.5.0 docker run --rm -i -v ${PWD}/dashboards:/dashboards/ pingcap/tidb-monitor-initializer:${version} && \ cd dashboards ``` diff --git a/zh/enable-monitor-shards.md b/zh/enable-monitor-shards.md index f8af3027e..b93aa3439 100644 --- a/zh/enable-monitor-shards.md +++ b/zh/enable-monitor-shards.md @@ -34,7 +34,7 @@ spec: version: v2.27.1 initializer: baseImage: pingcap/tidb-monitor-initializer - version: v8.1.0 + version: v8.5.0 reloader: baseImage: pingcap/tidb-monitor-reloader version: v1.0.1 diff --git a/zh/enable-tls-between-components.md b/zh/enable-tls-between-components.md index 06c177686..430b4878a 100644 --- a/zh/enable-tls-between-components.md +++ b/zh/enable-tls-between-components.md @@ -1385,7 +1385,7 @@ aliases: ['/docs-cn/tidb-in-kubernetes/dev/enable-tls-between-components/'] spec: tlsCluster: enabled: true - version: v8.1.0 + version: v8.5.0 timezone: UTC pvReclaimPolicy: Retain pd: @@ -1444,7 +1444,7 @@ aliases: ['/docs-cn/tidb-in-kubernetes/dev/enable-tls-between-components/'] version: 7.5.11 initializer: baseImage: pingcap/tidb-monitor-initializer - version: v8.1.0 + version: v8.5.0 reloader: baseImage: pingcap/tidb-monitor-reloader version: v1.0.1 diff --git a/zh/enable-tls-for-dm.md b/zh/enable-tls-for-dm.md index 0cf7f7a0e..d55d77e5c 100644 --- a/zh/enable-tls-for-dm.md +++ b/zh/enable-tls-for-dm.md @@ -491,7 +491,7 @@ metadata: spec: tlsCluster: enabled: true - version: v8.1.0 + version: v8.5.0 pvReclaimPolicy: Retain discovery: {} master: @@ -559,7 +559,7 @@ metadata: name: ${cluster_name} namespace: ${namespace} spec: - version: v8.1.0 + version: v8.5.0 pvReclaimPolicy: Retain discovery: {} tlsClientSecretNames: diff --git a/zh/enable-tls-for-mysql-client.md b/zh/enable-tls-for-mysql-client.md index 3e7b443d1..4dfdeeb13 100644 --- a/zh/enable-tls-for-mysql-client.md +++ b/zh/enable-tls-for-mysql-client.md @@ -550,7 +550,7 @@ aliases: ['/docs-cn/tidb-in-kubernetes/dev/enable-tls-for-mysql-client/'] name: ${cluster_name} namespace: ${namespace} spec: - version: v8.1.0 + version: v8.5.0 timezone: UTC pvReclaimPolicy: Retain pd: diff --git a/zh/get-started.md b/zh/get-started.md index e47856518..88bf6479b 100644 --- a/zh/get-started.md +++ b/zh/get-started.md @@ -487,7 +487,7 @@ mysql --comments -h 127.0.0.1 -P 14000 -u root ``` Welcome to the MariaDB monitor. Commands end with ; or \g. Your MySQL connection id is 178505 -Server version: 8.0.11-TiDB-v8.1.0 TiDB Server (Apache License 2.0) Community Edition, MySQL 8.0 compatible +Server version: 8.0.11-TiDB-v8.5.0 TiDB Server (Apache License 2.0) Community Edition, MySQL 8.0 compatible Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. @@ -536,10 +536,10 @@ mysql> select * from information_schema.tikv_region_status where db_name=databas ```sql mysql> select tidb_version()\G *************************** 1. row *************************** - tidb_version(): Release Version: v8.1.0 + tidb_version(): Release Version: v8.5.0 Edition: Community Git Commit Hash: 700beafa79844b7b48dcba1c452ea3ff49d8f271 - Git Branch: heads/refs/tags/v8.1.0 + Git Branch: heads/refs/tags/v8.5.0 UTC Build Time: 2023-11-10 14:38:24 GoVersion: go1.21.3 Race Enabled: false @@ -731,10 +731,10 @@ mysql --comments -h 127.0.0.1 -P 24000 -u root -e 'select tidb_version()\G' ``` *************************** 1. row *************************** -tidb_version(): Release Version: v8.1.0 +tidb_version(): Release Version: v8.5.0 Edition: Community Git Commit Hash: 700beafa79844b7b48dcba1c452ea3ff49d8f271 -Git Branch: heads/refs/tags/v8.1.0 +Git Branch: heads/refs/tags/v8.5.0 UTC Build Time: 2023-11-10 14:38:24 GoVersion: go1.21.3 Race Enabled: false diff --git a/zh/monitor-a-tidb-cluster.md b/zh/monitor-a-tidb-cluster.md index f7e23429d..0e2155e61 100644 --- a/zh/monitor-a-tidb-cluster.md +++ b/zh/monitor-a-tidb-cluster.md @@ -49,7 +49,7 @@ spec: type: NodePort initializer: baseImage: pingcap/tidb-monitor-initializer - version: v8.1.0 + version: v8.5.0 reloader: baseImage: pingcap/tidb-monitor-reloader version: v1.0.1 @@ -171,7 +171,7 @@ spec: type: NodePort initializer: baseImage: pingcap/tidb-monitor-initializer - version: v8.1.0 + version: v8.5.0 reloader: baseImage: pingcap/tidb-monitor-reloader version: v1.0.1 @@ -228,7 +228,7 @@ spec: foo: "bar" initializer: baseImage: pingcap/tidb-monitor-initializer - version: v8.1.0 + version: v8.5.0 reloader: baseImage: pingcap/tidb-monitor-reloader version: v1.0.1 @@ -270,7 +270,7 @@ spec: type: ClusterIP initializer: baseImage: pingcap/tidb-monitor-initializer - version: v8.1.0 + version: v8.5.0 reloader: baseImage: pingcap/tidb-monitor-reloader version: v1.0.1 @@ -351,7 +351,7 @@ spec: type: NodePort initializer: baseImage: pingcap/tidb-monitor-initializer - version: v8.1.0 + version: v8.5.0 reloader: baseImage: pingcap/tidb-monitor-reloader version: v1.0.1 diff --git a/zh/pd-recover.md b/zh/pd-recover.md index 1e3dad558..f299a37f8 100644 --- a/zh/pd-recover.md +++ b/zh/pd-recover.md @@ -18,7 +18,7 @@ PD Recover 是对 PD 进行灾难性恢复的工具,用于恢复无法正常 wget https://download.pingcap.org/tidb-community-toolkit-${version}-linux-amd64.tar.gz ``` - `${version}` 是 TiDB 集群版本,例如,`v8.1.0`。 + `${version}` 是 TiDB 集群版本,例如,`v8.5.0`。 2. 解压安装包: diff --git a/zh/restart-a-tidb-cluster.md b/zh/restart-a-tidb-cluster.md index beb84e658..98cfa56ca 100644 --- a/zh/restart-a-tidb-cluster.md +++ b/zh/restart-a-tidb-cluster.md @@ -22,7 +22,7 @@ kind: TidbCluster metadata: name: basic spec: - version: v8.1.0 + version: v8.5.0 timezone: UTC pvReclaimPolicy: Delete pd: diff --git a/zh/restore-from-aws-s3-by-snapshot.md b/zh/restore-from-aws-s3-by-snapshot.md index 4b449d77d..4834d0375 100644 --- a/zh/restore-from-aws-s3-by-snapshot.md +++ b/zh/restore-from-aws-s3-by-snapshot.md @@ -21,7 +21,7 @@ summary: 介绍如何将存储在 S3 上的备份元数据以及 EBS 卷快照 backupType: full restoreMode: volume-snapshot serviceAccount: tidb-backup-manager - toolImage: pingcap/br:v8.1.0 + toolImage: pingcap/br:v8.5.0 br: cluster: basic clusterNamespace: tidb-cluster From 90ea4b85821e821f1ba52a29072e9fb71842feee Mon Sep 17 00:00:00 2001 From: csuzhangxc Date: Mon, 23 Dec 2024 17:43:05 +0800 Subject: [PATCH 2/5] address comments --- en/deploy-on-general-kubernetes.md | 3 --- en/get-started.md | 12 ++++++------ zh/deploy-on-general-kubernetes.md | 3 --- zh/get-started.md | 12 ++++++------ 4 files changed, 12 insertions(+), 18 deletions(-) diff --git a/en/deploy-on-general-kubernetes.md b/en/deploy-on-general-kubernetes.md index 78ec52728..3bc8f0c05 100644 --- a/en/deploy-on-general-kubernetes.md +++ b/en/deploy-on-general-kubernetes.md @@ -48,7 +48,6 @@ This document describes how to deploy a TiDB cluster on general Kubernetes. pingcap/pd:v8.5.0 pingcap/tikv:v8.5.0 pingcap/tidb:v8.5.0 - pingcap/tidb-binlog:v8.5.0 pingcap/ticdc:v8.5.0 pingcap/tiflash:v8.5.0 pingcap/tiproxy:latest @@ -67,7 +66,6 @@ This document describes how to deploy a TiDB cluster on general Kubernetes. docker pull pingcap/pd:v8.5.0 docker pull pingcap/tikv:v8.5.0 docker pull pingcap/tidb:v8.5.0 - docker pull pingcap/tidb-binlog:v8.5.0 docker pull pingcap/ticdc:v8.5.0 docker pull pingcap/tiflash:v8.5.0 docker pull pingcap/tiproxy:latest @@ -80,7 +78,6 @@ This document describes how to deploy a TiDB cluster on general Kubernetes. docker save -o pd-v8.5.0.tar pingcap/pd:v8.5.0 docker save -o tikv-v8.5.0.tar pingcap/tikv:v8.5.0 docker save -o tidb-v8.5.0.tar pingcap/tidb:v8.5.0 - docker save -o tidb-binlog-v8.5.0.tar pingcap/tidb-binlog:v8.5.0 docker save -o ticdc-v8.5.0.tar pingcap/ticdc:v8.5.0 docker save -o tiproxy-latest.tar pingcap/tiproxy:latest docker save -o tiflash-v8.5.0.tar pingcap/tiflash:v8.5.0 diff --git a/en/get-started.md b/en/get-started.md index 2fa7e367f..ed9a385ae 100644 --- a/en/get-started.md +++ b/en/get-started.md @@ -461,10 +461,10 @@ mysql> select tidb_version()\G *************************** 1. row *************************** tidb_version(): Release Version: v8.5.0 Edition: Community - Git Commit Hash: 700beafa79844b7b48dcba1c452ea3ff49d8f271 + Git Commit Hash: d13e52ed6e22cc5789bed7c64c861578cd2ed55b Git Branch: heads/refs/tags/v8.5.0 - UTC Build Time: 2023-11-10 14:38:24 - GoVersion: go1.21.3 + UTC Build Time: 2024-12-19 14:38:24 + GoVersion: go1.23.2 Race Enabled: false Check Table Before Drop: false Store: tikv @@ -650,10 +650,10 @@ Note that `nightly` is not a fixed version and the version might vary depending *************************** 1. row *************************** tidb_version(): Release Version: v8.5.0 Edition: Community -Git Commit Hash: 700beafa79844b7b48dcba1c452ea3ff49d8f271 +Git Commit Hash: d13e52ed6e22cc5789bed7c64c861578cd2ed55b Git Branch: heads/refs/tags/v8.5.0 -UTC Build Time: 2023-11-10 14:38:24 -GoVersion: go1.21.3 +UTC Build Time: 2024-12-19 14:38:24 +GoVersion: go1.23.2 Race Enabled: false Check Table Before Drop: false Store: tikv diff --git a/zh/deploy-on-general-kubernetes.md b/zh/deploy-on-general-kubernetes.md index b90bd40a8..89e1f22f2 100644 --- a/zh/deploy-on-general-kubernetes.md +++ b/zh/deploy-on-general-kubernetes.md @@ -50,7 +50,6 @@ aliases: ['/docs-cn/tidb-in-kubernetes/dev/deploy-on-general-kubernetes/','/zh/t pingcap/pd:v8.5.0 pingcap/tikv:v8.5.0 pingcap/tidb:v8.5.0 - pingcap/tidb-binlog:v8.5.0 pingcap/ticdc:v8.5.0 pingcap/tiflash:v8.5.0 pingcap/tiproxy:latest @@ -69,7 +68,6 @@ aliases: ['/docs-cn/tidb-in-kubernetes/dev/deploy-on-general-kubernetes/','/zh/t docker pull pingcap/pd:v8.5.0 docker pull pingcap/tikv:v8.5.0 docker pull pingcap/tidb:v8.5.0 - docker pull pingcap/tidb-binlog:v8.5.0 docker pull pingcap/ticdc:v8.5.0 docker pull pingcap/tiflash:v8.5.0 docker pull pingcap/tiproxy:latest @@ -82,7 +80,6 @@ aliases: ['/docs-cn/tidb-in-kubernetes/dev/deploy-on-general-kubernetes/','/zh/t docker save -o pd-v8.5.0.tar pingcap/pd:v8.5.0 docker save -o tikv-v8.5.0.tar pingcap/tikv:v8.5.0 docker save -o tidb-v8.5.0.tar pingcap/tidb:v8.5.0 - docker save -o tidb-binlog-v8.5.0.tar pingcap/tidb-binlog:v8.5.0 docker save -o ticdc-v8.5.0.tar pingcap/ticdc:v8.5.0 docker save -o tiproxy-latest.tar pingcap/tiproxy:latest docker save -o tiflash-v8.5.0.tar pingcap/tiflash:v8.5.0 diff --git a/zh/get-started.md b/zh/get-started.md index 88bf6479b..11e9f6a5a 100644 --- a/zh/get-started.md +++ b/zh/get-started.md @@ -538,10 +538,10 @@ mysql> select tidb_version()\G *************************** 1. row *************************** tidb_version(): Release Version: v8.5.0 Edition: Community - Git Commit Hash: 700beafa79844b7b48dcba1c452ea3ff49d8f271 + Git Commit Hash: d13e52ed6e22cc5789bed7c64c861578cd2ed55b Git Branch: heads/refs/tags/v8.5.0 - UTC Build Time: 2023-11-10 14:38:24 - GoVersion: go1.21.3 + UTC Build Time: 2024-12-19 14:38:24 + GoVersion: go1.23.2 Race Enabled: false Check Table Before Drop: false Store: tikv @@ -733,10 +733,10 @@ mysql --comments -h 127.0.0.1 -P 24000 -u root -e 'select tidb_version()\G' *************************** 1. row *************************** tidb_version(): Release Version: v8.5.0 Edition: Community -Git Commit Hash: 700beafa79844b7b48dcba1c452ea3ff49d8f271 +Git Commit Hash: d13e52ed6e22cc5789bed7c64c861578cd2ed55b Git Branch: heads/refs/tags/v8.5.0 -UTC Build Time: 2023-11-10 14:38:24 -GoVersion: go1.21.3 +UTC Build Time: 2024-12-19 14:38:24 +GoVersion: go1.23.2 Race Enabled: false Check Table Before Drop: false Store: tikv From 3f550b56f75ea941f3e977a762a13c1707e462b5 Mon Sep 17 00:00:00 2001 From: "Cody (Xuecheng) Zhang" Date: Wed, 25 Dec 2024 11:17:15 +0800 Subject: [PATCH 3/5] Apply suggestions from code review Co-authored-by: Aolin --- en/deploy-on-general-kubernetes.md | 1 - zh/deploy-on-general-kubernetes.md | 1 - zh/deploy-tidb-binlog.md | 6 +++--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/en/deploy-on-general-kubernetes.md b/en/deploy-on-general-kubernetes.md index 3bc8f0c05..03c0d1692 100644 --- a/en/deploy-on-general-kubernetes.md +++ b/en/deploy-on-general-kubernetes.md @@ -96,7 +96,6 @@ This document describes how to deploy a TiDB cluster on general Kubernetes. docker load -i pd-v8.5.0.tar docker load -i tikv-v8.5.0.tar docker load -i tidb-v8.5.0.tar - docker load -i tidb-binlog-v8.5.0.tar docker load -i ticdc-v8.5.0.tar docker load -i tiproxy-latest.tar docker load -i tiflash-v8.5.0.tar diff --git a/zh/deploy-on-general-kubernetes.md b/zh/deploy-on-general-kubernetes.md index 89e1f22f2..40fbaba5d 100644 --- a/zh/deploy-on-general-kubernetes.md +++ b/zh/deploy-on-general-kubernetes.md @@ -98,7 +98,6 @@ aliases: ['/docs-cn/tidb-in-kubernetes/dev/deploy-on-general-kubernetes/','/zh/t docker load -i pd-v8.5.0.tar docker load -i tikv-v8.5.0.tar docker load -i tidb-v8.5.0.tar - docker load -i tidb-binlog-v8.5.0.tar docker load -i ticdc-v8.5.0.tar docker load -i tiproxy-latest.tar docker load -i tiflash-v8.5.0.tar diff --git a/zh/deploy-tidb-binlog.md b/zh/deploy-tidb-binlog.md index 5423be4a2..6ae58db61 100644 --- a/zh/deploy-tidb-binlog.md +++ b/zh/deploy-tidb-binlog.md @@ -30,7 +30,7 @@ spec ... pump: baseImage: pingcap/tidb-binlog - version: v8.5.0 + version: v8.1.0 replicas: 1 storageClassName: local-storage requests: @@ -49,7 +49,7 @@ spec ... pump: baseImage: pingcap/tidb-binlog - version: v8.5.0 + version: v8.1.0 replicas: 1 storageClassName: local-storage requests: @@ -186,7 +186,7 @@ spec ```yaml clusterName: example-tidb - clusterVersion: v8.5.0 + clusterVersion: v8.1.0 baseImage: pingcap/tidb-binlog storageClassName: local-storage storage: 10Gi From f5692fd2aac649f36ac3125e788ae5344e709507 Mon Sep 17 00:00:00 2001 From: "Cody (Xuecheng) Zhang" Date: Wed, 25 Dec 2024 11:18:49 +0800 Subject: [PATCH 4/5] Apply suggestions from code review Co-authored-by: Aolin --- en/deploy-tidb-binlog.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/en/deploy-tidb-binlog.md b/en/deploy-tidb-binlog.md index 384673ca5..e6968e211 100644 --- a/en/deploy-tidb-binlog.md +++ b/en/deploy-tidb-binlog.md @@ -32,7 +32,7 @@ TiDB Binlog is disabled in the TiDB cluster by default. To create a TiDB cluster ... pump: baseImage: pingcap/tidb-binlog - version: v8.5.0 + version: v8.1.0 replicas: 1 storageClassName: local-storage requests: @@ -51,7 +51,7 @@ TiDB Binlog is disabled in the TiDB cluster by default. To create a TiDB cluster ... pump: baseImage: pingcap/tidb-binlog - version: v8.5.0 + version: v8.1.0 replicas: 1 storageClassName: local-storage requests: @@ -192,7 +192,7 @@ To deploy multiple drainers using the `tidb-drainer` Helm chart for a TiDB clust ```yaml clusterName: example-tidb - clusterVersion: v8.5.0 + clusterVersion: v8.1.0 baseImage:pingcap/tidb-binlog storageClassName: local-storage storage: 10Gi From bf1664dcfa9761c634d2226c68ded523f1557e80 Mon Sep 17 00:00:00 2001 From: csuzhangxc Date: Wed, 25 Dec 2024 11:23:44 +0800 Subject: [PATCH 5/5] fix merge --- en/backup-restore-cr.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/backup-restore-cr.md b/en/backup-restore-cr.md index 739f2f120..89960a45c 100644 --- a/en/backup-restore-cr.md +++ b/en/backup-restore-cr.md @@ -24,7 +24,7 @@ This section introduces the fields in the `Backup` CR. - If an image is specified without the version, such as `.spec.toolImage: private/registry/br`, the `private/registry/br:${tikv_version}` image is used for backup. - When using Dumpling for backup, you can specify the Dumpling version in this field. - If the Dumpling version is specified in this field, such as `spec.toolImage: pingcap/dumpling:v8.5.0`, the image of the specified version is used for backup. - - If the field is not specified, the Dumpling version specified in `TOOLKIT_VERSION` of the [Backup Manager Dockerfile](https://github.com/pingcap/tidb-operator/blob/v1.6.0/images/tidb-backup-manager/Dockerfile) is used for backup by default. + - If the field is not specified, the Dumpling version specified in `TOOLKIT_VERSION` of the [Backup Manager Dockerfile](https://github.com/pingcap/tidb-operator/blob/v1.6.1/images/tidb-backup-manager/Dockerfile) is used for backup by default. * `.spec.backupType`: the backup type. This field is valid only when you use BR for backup. Currently, the following three types are supported, and this field can be combined with the `.spec.tableFilter` field to configure table filter rules: * `full`: back up all databases in a TiDB cluster. @@ -261,7 +261,7 @@ This section introduces the fields in the `Restore` CR. * `.spec.toolImage`:the tools image used by `Restore`. TiDB Operator supports this configuration starting from v1.1.9. - When using BR for restoring, you can specify the BR version in this field. For example,`spec.toolImage: pingcap/br:v8.5.0`. If not specified, `pingcap/br:${tikv_version}` is used for restoring by default. - - When using Lightning for restoring, you can specify the Lightning version in this field. For example, `spec.toolImage: pingcap/lightning:v8.5.0`. If not specified, the Lightning version specified in `TOOLKIT_VERSION` of the [Backup Manager Dockerfile](https://github.com/pingcap/tidb-operator/blob/v1.6.0/images/tidb-backup-manager/Dockerfile) is used for restoring by default. + - When using Lightning for restoring, you can specify the Lightning version in this field. For example, `spec.toolImage: pingcap/lightning:v8.5.0`. If not specified, the Lightning version specified in `TOOLKIT_VERSION` of the [Backup Manager Dockerfile](https://github.com/pingcap/tidb-operator/blob/v1.6.1/images/tidb-backup-manager/Dockerfile) is used for restoring by default. * `.spec.backupType`: the restore type. This field is valid only when you use BR to restore data. Currently, the following three types are supported, and this field can be combined with the `.spec.tableFilter` field to configure table filter rules: * `full`: restore all databases in a TiDB cluster.