Skip to content

Commit 2fcace5

Browse files
authored
GT-233 Change Operator default ReplicasCount to 1 (#1255)
1 parent 4d8decd commit 2fcace5

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
- (Feature) Improve CRD Management and deprecate CRD Chart
1717
- (Bugfix) Fix invalid Timeout calculation in case of ActionList
1818
- (Feature) Optional JSON logger format
19+
- (Improvement) Change Operator default ReplicasCount to 1
1920

2021
## [1.2.24](https://github.com/arangodb/kube-arangodb/tree/1.2.24) (2023-01-25)
2122
- (Bugfix) Fix deployment creation on ARM64

chart/kube-arangodb/Chart.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1+
apiVersion: v2
12
name: kube-arangodb
23
version: 1.2.24
34
description: "ArangoDB Kubernetes Operator"
4-
tillerVersion: ">2.7"
5-
appVersion: 3.5.0

chart/kube-arangodb/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ spec:
105105
{{ if .Values.operator.features.backup }}
106106
- --operator.backup
107107
{{- end }}
108-
{{- if .Values.operator.debug }}
108+
{{- if or .Values.operator.debug (eq .Values.operator.replicaCount 1.0) }}
109109
- --mode.single
110110
{{- end }}
111111
{{ if .Values.operator.features.apps }}

chart/kube-arangodb/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ operator:
1313
resources:
1414
limits:
1515
cpu: 1
16-
memory: 256Mi
16+
memory: 512Mi
1717
requests:
1818
cpu: 250m
1919
memory: 256Mi
2020
securityContext:
2121
runAsUser: 1000
22-
replicaCount: 2
22+
replicaCount: 1
2323
updateStrategy:
2424
type: Recreate
2525
allowChaos: false

0 commit comments

Comments
 (0)