feat(k8s): enforce minimum 2 replicas for all services except email-worker
This commit is contained in:
parent
e7cf0c544f
commit
b6022e824d
@ -9,7 +9,7 @@ metadata:
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||
spec:
|
||||
replicas: 1
|
||||
replicas: {{ .Values.operator.replicaCount | default 2 }}
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: {{ include "gitdata.fullname" . }}-operator
|
||||
|
||||
@ -256,7 +256,7 @@ static:
|
||||
# =============================================================================
|
||||
gitserver:
|
||||
enabled: true
|
||||
replicaCount: 1
|
||||
replicaCount: 2
|
||||
|
||||
image:
|
||||
repository: gitserver
|
||||
@ -405,6 +405,7 @@ migrate:
|
||||
# =============================================================================
|
||||
operator:
|
||||
enabled: false
|
||||
replicaCount: 2
|
||||
|
||||
image:
|
||||
repository: operator
|
||||
|
||||
Loading…
Reference in New Issue
Block a user