This repository was archived by the owner on Dec 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsample-vars.yml
67 lines (63 loc) · 1.61 KB
/
sample-vars.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
arangodb_operator_release: myrelease
## Do not deploy the operator for replication, set to empty
arangodb_operator_manifest_replication:
## Reduce replicas from default of 2
kustomizations:
patchesStrategicMerge:
- apiVersion: apps/v1
kind: Deployment
metadata:
name: arango-backup-operator
spec:
replicas: 1
- apiVersion: apps/v1
kind: Deployment
metadata:
name: arango-deployment-operator
spec:
replicas: 1
- apiVersion: apps/v1
kind: Deployment
metadata:
name: arango-storage-operator
spec:
replicas: 1
## Create a local storage to be used by the cluster
arangodb_local_storages:
- apiVersion: "storage.arangodb.com/v1"
kind: "ArangoLocalStorage"
metadata:
## Kustomize will prepend name prefix
name: "arangodb-storage"
spec:
storageClass:
name: "{{ arangodb_operator_release }}-arangodb-local"
localPath:
- /mnt/arangodb-local-data
## Create a production grade ArangoDB cluster
arangodb_clusters:
- apiVersion: "database.arangodb.com/v1"
kind: "ArangoDeployment"
metadata:
## Kustomize will prepend name prefix
name: "arangodb-cluster"
spec:
mode: Cluster
environment: Production
agents:
count: 3
# args:
# - --log.level=debug
resources:
requests:
storage: 1Gi
storageClassName: "{{ arangodb_operator_release }}-arangodb-local"
dbservers:
count: 3
resources:
requests:
storage: 4Gi
storageClassName: "{{ arangodb_operator_release }}-arangodb-local"
coordinators:
count: 3
image: "arangodb/arangodb:3.8.0"