Skip to content

Commit

Permalink
add-note-for-multiple-data-storage-directories- (#1741)
Browse files Browse the repository at this point in the history
  • Loading branch information
abby-cyber committed Nov 8, 2022
1 parent 5df3083 commit 0b5190c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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. |
Expand Down Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions docs-2.0/nebula-operator/9.upgrade-nebula-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0b5190c

Please sign in to comment.