From a2443782587e7dd1ef8e547e2629ad7e93366528 Mon Sep 17 00:00:00 2001 From: Abby <78209557+abby-cyber@users.noreply.github.com> Date: Tue, 8 Nov 2022 11:12:13 +0800 Subject: [PATCH] add-note-for-multiple-data-storage-directories- --- .../3.1create-cluster-with-kubectl.md | 9 +++++++-- .../8.custom-cluster-configurations/8.2.pv-reclaim.md | 2 ++ .../8.3.balance-data-when-scaling-storage.md | 2 ++ docs-2.0/nebula-operator/9.upgrade-nebula-cluster.md | 2 ++ 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/docs-2.0/nebula-operator/3.deploy-nebula-graph-cluster/3.1create-cluster-with-kubectl.md b/docs-2.0/nebula-operator/3.deploy-nebula-graph-cluster/3.1create-cluster-with-kubectl.md index 894fda2ec9c..760d97aacd0 100644 --- a/docs-2.0/nebula-operator/3.deploy-nebula-graph-cluster/3.1create-cluster-with-kubectl.md +++ b/docs-2.0/nebula-operator/3.deploy-nebula-graph-cluster/3.1create-cluster-with-kubectl.md @@ -82,13 +82,15 @@ The following example shows how to create a NebulaGraph cluster by creating a cl requests: storage: 2Gi storageClassName: fast-disks - dataVolumeClaims: + dataVolumeClaims: // You can mount multiple disks starting from NebulaGraph Operator 1.3.0. - resources: requests: storage: 2Gi + storageClassName: fast-disks - resources: requests: storage: 2Gi + storageClassName: fast-disks enableAutoBalance: true reference: name: statefulsets.apps @@ -168,7 +170,8 @@ The following example shows how to create a NebulaGraph cluster by creating a cl | `spec.storaged.replicas` | `3` | The numeric value of replicas of the Storaged service. | | `spec.storaged.images` | `vesoft/nebula-storaged` | The container image of the Storaged service. | | `spec.storaged.version` | `{{nebula.tag}}` | The version of the Storaged service. | - | `spec.storaged.dataVolumeClaims.resources.requests.storage` | - | Data disk storage size for the Storaged service. You can specify multiple data disks to store data. | + | `spec.storaged.dataVolumeClaims.resources.requests.storage` | - | Data disk storage size for the Storaged service. You can specify multiple data disks to store data. When multiple disks are specified, the storage path is `/usr/local/nebula/data1`, `/usr/local/nebula/data2`, etc.| + | `spec.storaged.dataVolumeClaims.resources.storageClassName` | - | The data disk storage configurations for Storaged. If not specified, the global storage parameter is applied. | | `spec.storaged.logVolumeClaim.storageClassName`|- | The log disk storage configurations for the Storaged service.| | `spec.storaged.enableAutoBalance` | `true` |Whether to balance data automatically. | | `spec.reference.name` | - | The name of the dependent controller. | @@ -258,9 +261,11 @@ The following shows how to scale out a NebulaGraph cluster by changing the numbe - resources: requests: storage: 2Gi + storageClassName: fast-disks - resources: requests: storage: 2Gi + storageClassName: fast-disks logVolumeClaim: resources: requests: diff --git a/docs-2.0/nebula-operator/8.custom-cluster-configurations/8.2.pv-reclaim.md b/docs-2.0/nebula-operator/8.custom-cluster-configurations/8.2.pv-reclaim.md index 6ac769e7170..ee93d59aab0 100644 --- a/docs-2.0/nebula-operator/8.custom-cluster-configurations/8.2.pv-reclaim.md +++ b/docs-2.0/nebula-operator/8.custom-cluster-configurations/8.2.pv-reclaim.md @@ -78,9 +78,11 @@ The following example uses a cluster named `nebula` and the cluster's configurat - resources: requests: storage: 2Gi + storageClassName: fast-disks - resources: requests: storage: 2Gi + storageClassName: fast-disks image: vesoft/nebula-storaged logVolumeClaim: resources: diff --git a/docs-2.0/nebula-operator/8.custom-cluster-configurations/8.3.balance-data-when-scaling-storage.md b/docs-2.0/nebula-operator/8.custom-cluster-configurations/8.3.balance-data-when-scaling-storage.md index 5f8b08c5ee5..2b41e8ed539 100644 --- a/docs-2.0/nebula-operator/8.custom-cluster-configurations/8.3.balance-data-when-scaling-storage.md +++ b/docs-2.0/nebula-operator/8.custom-cluster-configurations/8.3.balance-data-when-scaling-storage.md @@ -82,9 +82,11 @@ The following example uses a cluster named `nebula` and the cluster's configurat - resources: requests: storage: 2Gi + storageClassName: fast-disks - resources: requests: storage: 2Gi + storageClassName: fast-disks image: vesoft/nebula-storaged logVolumeClaim: resources: diff --git a/docs-2.0/nebula-operator/9.upgrade-nebula-cluster.md b/docs-2.0/nebula-operator/9.upgrade-nebula-cluster.md index 22be039d037..ac697b3aff1 100644 --- a/docs-2.0/nebula-operator/9.upgrade-nebula-cluster.md +++ b/docs-2.0/nebula-operator/9.upgrade-nebula-cluster.md @@ -108,9 +108,11 @@ The version of the NebulaGraph cluster to be upgraded in this topic is `{{operat - resources: requests: storage: 2Gi + storageClassName: fast-disks - resources: requests: storage: 2Gi + storageClassName: fast-disks logVolumeClaim: resources: requests: