2023-07-24 15:10:59 +00:00
|
|
|
# ArangoDB Rebalancer V2 Support
|
2023-07-14 07:30:41 +00:00
|
|
|
|
|
|
|
## Overview
|
|
|
|
|
2023-11-08 10:21:22 +00:00
|
|
|
ArangoDB as of 3.10.0 provides Cluster Rebalancer functionality via [api](https://www.arangodb.com/docs/stable/http/cluster.html#rebalance).
|
2023-07-14 07:30:41 +00:00
|
|
|
|
2023-11-08 10:21:22 +00:00
|
|
|
Operator will use the above functionality to check shard movement plan and enforce it on the Cluster.
|
2023-07-14 07:30:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
## How to use
|
|
|
|
|
2023-07-17 14:07:17 +00:00
|
|
|
To enable this feature use `--deployment.feature.rebalancer-v2` arg, which needs be passed to the operator:
|
2023-07-14 07:30:41 +00:00
|
|
|
|
|
|
|
```shell
|
|
|
|
helm upgrade --install kube-arangodb \
|
|
|
|
https://github.com/arangodb/kube-arangodb/releases/download/$VER/kube-arangodb-$VER.tgz \
|
2023-07-17 14:07:17 +00:00
|
|
|
--set "operator.args={--deployment.feature.rebalancer-v2}"
|
2023-07-14 07:30:41 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
To enable Rebalancer in ArangoDeployment:
|
|
|
|
```yaml
|
|
|
|
spec:
|
|
|
|
rebalancer:
|
|
|
|
enabled: true
|
|
|
|
```
|