Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1 KB

usage.md

File metadata and controls

49 lines (33 loc) · 1 KB

Using the ArangoDB operator

Installation

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

Cluster creation

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

Cluster removal

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

Operator removal

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