From 455787c852d6d2aa18c22379f5710a715f318d23 Mon Sep 17 00:00:00 2001 From: hongshaoyang Date: Wed, 8 Nov 2023 10:01:11 +0000 Subject: [PATCH] Update mountOptions to separate options --- en/deploy-on-aws-eks.md | 9 ++++++--- en/deploy-on-azure-aks.md | 6 ++++-- en/deploy-on-gcp-gke.md | 3 ++- zh/deploy-on-aws-eks.md | 9 ++++++--- zh/deploy-on-azure-aks.md | 6 ++++-- zh/deploy-on-gcp-gke.md | 3 ++- 6 files changed, 24 insertions(+), 12 deletions(-) diff --git a/en/deploy-on-aws-eks.md b/en/deploy-on-aws-eks.md index 679cb0a33..1ed033455 100644 --- a/en/deploy-on-aws-eks.md +++ b/en/deploy-on-aws-eks.md @@ -187,7 +187,8 @@ kind: StorageClass apiVersion: storage.k8s.io/v1 # ... mountOptions: -- nodelalloc,noatime + - nodelalloc + - noatime ``` For more information on the mount options, see [TiDB Environment and System Configuration Check](https://docs.pingcap.com/tidb/stable/check-before-deployment#mount-the-data-disk-ext4-filesystem-with-options-on-the-target-machines-that-deploy-tikv). @@ -230,7 +231,8 @@ The following example shows how to create and configure a StorageClass for the ` iops: "4000" throughput: "400" mountOptions: - - nodelalloc,noatime + - nodelalloc + - noatime ``` 4. In the TidbCluster YAML file, configure `gp3` in the `storageClassName` field. For example: @@ -249,7 +251,8 @@ The following example shows how to create and configure a StorageClass for the ` apiVersion: storage.k8s.io/v1 # ... mountOptions: - - nodelalloc,noatime + - nodelalloc + - noatime ``` For more information on the mount options, see [TiDB Environment and System Configuration Check](https://docs.pingcap.com/tidb/stable/check-before-deployment#mount-the-data-disk-ext4-filesystem-with-options-on-the-target-machines-that-deploy-tikv). diff --git a/en/deploy-on-azure-aks.md b/en/deploy-on-azure-aks.md index 8d2d8071f..0ef7b49f0 100644 --- a/en/deploy-on-azure-aks.md +++ b/en/deploy-on-azure-aks.md @@ -205,7 +205,8 @@ kind: StorageClass apiVersion: storage.k8s.io/v1 # ... mountOptions: -- nodelalloc,noatime + - nodelalloc + - noatime ``` ## Deploy TiDB Operator @@ -547,7 +548,8 @@ Azure disks support multiple volume types. Among them, `UltraSSD` delivers low l allowVolumeExpansion: true volumeBindingMode: WaitForFirstConsumer mountOptions: - - nodelalloc,noatime + - nodelalloc + - noatime ``` You can add more [Driver Parameters](https://github.com/kubernetes-sigs/azuredisk-csi-driver/blob/master/docs/driver-parameters.md) as required. diff --git a/en/deploy-on-gcp-gke.md b/en/deploy-on-gcp-gke.md index cbef498cd..f9a93040a 100644 --- a/en/deploy-on-gcp-gke.md +++ b/en/deploy-on-gcp-gke.md @@ -98,7 +98,8 @@ allowVolumeExpansion: true parameters: type: pd-ssd mountOptions: - - nodelalloc,noatime + - nodelalloc + - noatime ``` > **Note:** diff --git a/zh/deploy-on-aws-eks.md b/zh/deploy-on-aws-eks.md index 1359fd110..c05d14489 100644 --- a/zh/deploy-on-aws-eks.md +++ b/zh/deploy-on-aws-eks.md @@ -184,7 +184,8 @@ kind: StorageClass apiVersion: storage.k8s.io/v1 # ... mountOptions: -- nodelalloc,noatime + - nodelalloc + - noatime ``` ### gp3 存储类型(推荐)或其他 EBS 存储类型 @@ -225,7 +226,8 @@ mountOptions: iops: "4000" throughput: "400" mountOptions: - - nodelalloc,noatime + - nodelalloc + - noatime ``` 4. 在 TidbCluster 的 YAML 文件中,通过 `storageClassName` 字段指定 gp3 存储类来申请 `gp3` 类型的 EBS 存储。可以参考以下 TiKV 配置示例: @@ -244,7 +246,8 @@ mountOptions: apiVersion: storage.k8s.io/v1 # ... mountOptions: - - nodelalloc,noatime + - nodelalloc + - noatime ``` 如果想了解更多 EBS 存储类型选择和配置信息,请查看 [AWS 官方文档](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html) 和 [Storage Class 官方文档](https://kubernetes.io/docs/concepts/storage/storage-classes/)。 diff --git a/zh/deploy-on-azure-aks.md b/zh/deploy-on-azure-aks.md index 1c7af6cd1..cc68910fd 100644 --- a/zh/deploy-on-azure-aks.md +++ b/zh/deploy-on-azure-aks.md @@ -201,7 +201,8 @@ kind: StorageClass apiVersion: storage.k8s.io/v1 # ... mountOptions: -- nodelalloc,noatime + - nodelalloc + - noatime ``` ## 部署 TiDB Operator @@ -535,7 +536,8 @@ Azure Disk 支持多种磁盘类型。若需要低延迟、高吞吐,可以选 allowVolumeExpansion: true volumeBindingMode: WaitForFirstConsumer mountOptions: - - nodelalloc,noatime + - nodelalloc + - noatime ``` 你可以根据实际需要额外配置[驱动参数](https://github.com/kubernetes-sigs/azuredisk-csi-driver/blob/master/docs/driver-parameters.md)。 diff --git a/zh/deploy-on-gcp-gke.md b/zh/deploy-on-gcp-gke.md index 92bf0a359..c273ff9cb 100644 --- a/zh/deploy-on-gcp-gke.md +++ b/zh/deploy-on-gcp-gke.md @@ -96,7 +96,8 @@ allowVolumeExpansion: true parameters: type: pd-ssd mountOptions: - - nodelalloc,noatime + - nodelalloc + - noatime ``` > **注意:**