1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00
kube-arangodb/docs/usage.md
Ewout Prangsma 15df36608e
Elaborating
2018-02-05 16:23:15 +01:00

826 B

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 create -f examples/deployment.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 create -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 examples/deployment.yaml