Skip to content

Commit dfad5be

Browse files
authored
Handle replicas with kustomize (canada-ca#1640)
This commit moves the handling of replica counts into kustomization.yaml. The only difference between this and our current config is an extra instance of the api.
1 parent c7ca42b commit dfad5be

4 files changed

Lines changed: 22 additions & 48 deletions

File tree

app/gke/arangodb.yaml

Lines changed: 0 additions & 23 deletions
This file was deleted.

app/gke/kustomization.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,20 @@ resources:
44
- ../bases
55
- letsencrypt-issuer.yaml
66
patchesStrategicMerge:
7-
- arangodb.yaml
87
- tracker-api-deployment.yaml
98
- tracker-frontend-deployment.yaml
109
- publicgateway.yaml
1110
- certificate.yaml
1211
- knative/config/queues.yaml
1312
- arangodb-deployment.yaml
13+
replicas:
14+
- name: tracker-frontend
15+
count: 2
16+
- name: tracker-api
17+
count: 2
18+
- name: arango-deployment-replication-operator
19+
count: 1
20+
- name: arango-deployment-operator
21+
count: 1
22+
- name: arango-storage-operator
23+
count: 1

app/test/arangodb.yaml

Lines changed: 0 additions & 23 deletions
This file was deleted.

app/test/kustomization.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,17 @@ resources:
66
patchesStrategicMerge:
77
- publicgateway.yaml
88
- knative/config/queues.yaml
9-
- arangodb.yaml
9+
replicas:
10+
- name: tracker-frontend
11+
count: 2
12+
- name: tracker-api
13+
count: 2
14+
- name: arango-deployment-replication-operator
15+
count: 1
16+
- name: arango-deployment-operator
17+
count: 1
18+
- name: arango-storage-operator
19+
count: 1
1020
secretGenerator:
1121
- envs:
1222
- arangodb.env

0 commit comments

Comments
 (0)