Upgrading

The ArangoDB Kubernetes Operator supports upgrading an ArangoDB fromone version to the next.

Upgrade an ArangoDB deployment

To upgrade a cluster, change the version by changingthe spec.image setting and the apply the updatedcustom resource using:

  1. kubectl apply -f yourCustomResourceFile.yaml

The ArangoDB operator will perform an sequential upgradeof all servers in your deployment. Only one server is upgradedat a time.

For patch level upgrades (e.g. 3.3.9 to 3.3.10) each serveris stopped and restarted with the new version.

For minor level upgrades (e.g. 3.3.9 to 3.4.0) each serveris stopped, then the new version is started with —database.auto-upgradeand once that is finish the new version is started with the normal arguments.

The process for major level upgrades depends on the specific version.

Upgrade the operator itself

To update the ArangoDB Kubernetes Operator itself to a new version,update the image version of the deployment resourceand apply it using:

  1. kubectl apply -f examples/yourUpdatedDeployment.yaml

See also