Using the ArangoDB Kubernetes Operator
To do so, run (replace with the version of the operator that you want to install):
To use ArangoLocalStorage
resources, also run:
kubectl apply -f $URLPREFIX/arango-storage.yaml
To use resources, also run:
Once the operator is running, you can create your ArangoDB database deploymentby creating a ArangoDeployment
custom resource and deploying it into yourKubernetes cluster.
For example (all examples can be found in the kube-arangodb repository):
kubectl apply -f examples/simple-cluster.yaml
To remove an existing ArangoDB deployment, delete the customresource. The operator will then delete all created resources.
Note that this will also delete all data in your ArangoDB deployment!
If you want to keep your data, make sure to create a backup before removing the deployment.
To remove the entire ArangoDB Kubernetes Operator, remove allclusters first and then remove the operator by running:
# If `ArangoLocalStorage` operator is installed
kubectl delete deployment arango-deployment-replication-operator