mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
990 B
990 B
layout | title | parent |
---|---|---|
page | How to use maintenance mode | How to ... |
How to use maintenance mode
ArangoDeployment maintenance
When enabled, operator will pause reconciliation loop for specified ArangoDeployment.
Maintenance on ArangoDeployment can be enabled using annotation.
Key: deployment.arangodb.com/maintenance
Value: true
To enable maintenance mode for ArangoDeployment kubectl command can be used:
kubectl annotate arangodeployment deployment deployment.arangodb.com/maintenance=true
To disable maintenance mode for ArangoDeployment kubectl command can be used:
kubectl annotate --overwrite arangodeployment deployment deployment.arangodb.com/maintenance-
Cluster maintenance
It is possible to put ArangoDB cluster into agecy supervision mode.
Use spec.database.maintenance
field of ArangoDeployment CR to configure that:
spec:
# ...
database:
maintenance: true