mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
[Bugfix] Fix Rebalancer V2 Job (From/To) (#1355)
This commit is contained in:
parent
c8e6b00258
commit
934d68c796
4 changed files with 29 additions and 2 deletions
|
@ -10,6 +10,7 @@
|
|||
- (Bugfix) Fix for ContextExceeded error during backup upload
|
||||
- (Feature) Version Check V2
|
||||
- (Bugfix) Disable VersionCheck V2 by default
|
||||
- (Bugfix) Fix Rebalancer V2 Job (From/To)
|
||||
|
||||
## [1.2.30](https://github.com/arangodb/kube-arangodb/tree/1.2.30) (2023-06-16)
|
||||
- (Feature) AgencyCache Interface
|
||||
|
|
|
@ -72,6 +72,7 @@ covers individual newer features separately.
|
|||
| [Failover Leader service](docs/design/features/failover_leader_service.md) | 1.2.13 | >= 3.7.0 | Community, Enterprise | 1.2.13 | Production | False | --deployment.feature.failover-leadership | N/A |
|
||||
| [Spec Default Restore](docs/design/features/deployment_spec_defaults.md) | 1.2.21 | >= 3.7.0 | Community, Enterprise | 1.2.21 | Beta | True | --deployment.feature.deployment-spec-defaults-restore | If set to False Operator will not change ArangoDeployment Spec |
|
||||
| [Force Rebuild Out Synced Shards](docs/design/features/rebuild_out_synced_shards.md) | 1.2.27 | >= 3.8.0 | Community, Enterprise | 1.2.27 | Beta | False | --deployment.feature.force-rebuild-out-synced-shards | It should be used only if user is aware of the risks. |
|
||||
| [Rebalancer V2](docs/design/features/rebalancer_v2.md) | 1.2.31 | >= 3.10.0 | Community, Enterprise | 1.2.31 | Alpha | False | --deployment.feature.rebalancer-v2 | N/A |
|
||||
|
||||
## Operator Community Edition (CE)
|
||||
|
||||
|
|
25
docs/design/features/rebalancer_v2.md
Normal file
25
docs/design/features/rebalancer_v2.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
# ArangoDB Rebalancer Support
|
||||
|
||||
## Overview
|
||||
|
||||
ArangoDB as of 3.10.0 provide Cluster Rebalancer functionality via [api](https://www.arangodb.com/docs/stable/http/cluster.html#rebalance).
|
||||
|
||||
Operator will use above functionality to check shard movement plan and enforce it on the Cluster.
|
||||
|
||||
|
||||
## How to use
|
||||
|
||||
To enable this feature use `--deployment.feature.rabalancer-v2` arg, which needs be passed to the operator:
|
||||
|
||||
```shell
|
||||
helm upgrade --install kube-arangodb \
|
||||
https://github.com/arangodb/kube-arangodb/releases/download/$VER/kube-arangodb-$VER.tgz \
|
||||
--set "operator.args={--deployment.feature.rabalancer-v2}"
|
||||
```
|
||||
|
||||
To enable Rebalancer in ArangoDeployment:
|
||||
```yaml
|
||||
spec:
|
||||
rebalancer:
|
||||
enabled: true
|
||||
```
|
|
@ -104,8 +104,8 @@ func (r actionRebalancerGenerateV2) Start(ctx context.Context) (bool, error) {
|
|||
Database: db,
|
||||
Collection: move.Collection.String(),
|
||||
Shard: move.Shard,
|
||||
From: move.To,
|
||||
To: move.From,
|
||||
From: move.From,
|
||||
To: move.To,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue