Skip to content

Commit

Permalink
add note for multiple data storage directories (#2298)
Browse files Browse the repository at this point in the history
* add note for multiple data storage directories

* comment fix
  • Loading branch information
abby-cyber authored Nov 8, 2022
1 parent 9d3209f commit 3a2b3ac
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 @@ -83,13 +83,15 @@
requests:
storage: 2Gi
storageClassName: fast-disks
dataVolumeClaims:
dataVolumeClaims: # 从 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 @@ -119,7 +121,8 @@
| `spec.storaged.replicas` | `3` | Storaged 服务的副本数。 |
| `spec.storaged.images` | `vesoft/nebula-storaged` | Storaged 服务的容器镜像。 |
| `spec.storaged.version` | `{{nebula.tag}}` | Storaged 服务的版本号。 |
| `spec.storaged.dataVolumeClaims.resources.requests.storage` | - | Storaged 服务的数据盘存储大小,可指定多块数据盘存储数据。 |
| `spec.storaged.dataVolumeClaims.resources.requests.storage` | - | Storaged 服务的数据盘存储大小,可指定多块数据盘存储数据。当指定多块数据盘时,路径为:`/usr/local/nebula/data1`、`/usr/local/nebula/data2`等。 |
| `spec.storaged.dataVolumeClaims.resources.storageClassName` | - | Storaged 服务的数据盘存储配置。若不指定,则使用全局的存储配置。 |
| `spec.storaged.logVolumeClaim.storageClassName`|-|Storaged 服务的日志盘存储配置。|
| `spec.storaged.enableAutoBalance` | `true` | 是否自动均衡数据。 |
| `spec.reference.name` | - | 依赖的控制器名称。 |
Expand Down Expand Up @@ -266,9 +269,11 @@
- 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 @@ NebulaGraph Operator 使用持久化卷 PV(Persistent Volume)和持久化卷
- 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 @@ NebulaGraph 的 Storage 服务的扩容分为两个阶段,第一个阶段等
- 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 @@ -107,9 +107,11 @@
- resources:
requests:
storage: 2Gi
storageClassName: fast-disks
- resources:
requests:
storage: 2Gi
storageClassName: fast-disks
logVolumeClaim:
resources:
requests:
Expand Down

0 comments on commit 3a2b3ac

Please sign in to comment.