The ArangoDB operator needs to be installed in your Kubernetes cluster first. To do so, clone this repository and run:
kubectl apply -f manifests/arango-deployment.yaml
To use ArangoLocalStorage
, also run:
kubectl apply -f manifests/arango-storage.yaml
Once the operator is running, you can create your ArangoDB cluster by creating a custom resource and deploying it.
For example:
kubectl apply -f examples/simple-cluster.yaml
To remove an existing cluster, delete the custom resource. The operator will then delete all created resources.
For example:
kubectl delete -f examples/simple-cluster.yaml
To remove the entire ArangoDB operator, remove all clusters first and then remove the operator by running:
kubectl delete -f manifests/arango-deployment.yaml
# If `ArangoLocalStorage` is installed
kubectl delete -f manifests/arango-storage.yaml