Skip to content

Commit

Permalink
scaling notes for nebula operator (#1672)
Browse files Browse the repository at this point in the history
* scaling note by operator

* updates
  • Loading branch information
abby-cyber authored Apr 21, 2022
1 parent 803b934 commit a031074
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@

## 扩缩容集群

!!! enterpriseonly

仅支持通过 v1.1.0 及以上版本的 Nebula Operator 扩缩容企业版的 Nebula Graph 集群;不支持扩缩容社区版的 Nebula Graph 集群。

用户可以通过编辑`apps_v1alpha1_nebulacluster.yaml`文件中的`replicas`的值进行 Nebula Graph 集群的扩缩容。

### 扩容集群
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@

## 扩缩容集群

!!! enterpriseonly

仅支持通过 v1.1.0 及以上版本的 Nebula Operator 扩缩容企业版的 Nebula Graph 集群;不支持扩缩容社区版的 Nebula Graph 集群。

用户可通过定义 Nebula Graph 中不同服务对应的`replicas`的值扩缩容 Nebuala Graph 集群。

例如,扩容 Nebula Graph 集群中 Storage 的副本数为 5(原始值为 2),命令如下:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# 均衡扩容后的 Storage 数据

!!! enterpriseonly

仅企业版 Nebula Graph 集群支持均衡扩容后的 Storage 数据。

用户在扩容 Storage 服务后,可以自主决定是否均衡 Storage 服务中的数据。本文介绍如何设置均衡 Storage 数据。

Nebula Graph 的 Storage 服务的扩容分为两个阶段,第一个阶段等待所有扩容的 Pods 为`Ready`的状态;第二个阶段执行`BALANCE DATA``BALANCE LEADER`命令均衡数据。这两个阶段将控制器副本的扩容过程与均衡数据过程解耦,使用户可以选择在低流量时进行均衡数据操作,有效降低数据迁移对在线服务的影响。
Expand Down

0 comments on commit a031074

Please sign in to comment.