Set default number of replicas to 2

There is a need to set the number of replicas to 2 for
redundancies/resiliency

Change-Id: I876c74d0a71d5d03c9158228eff9f819e227b837
This commit is contained in:
Anthony Lin 2017-12-06 19:30:45 +00:00
parent e009f1a88c
commit 55ae811742
2 changed files with 7 additions and 6 deletions

View File

@ -23,7 +23,7 @@ kind: Deployment
metadata:
name: shipyard
spec:
replicas: {{ .Values.pod.replicas.shipyard }}
replicas: {{ .Values.pod.replicas.shipyard.api }}
{{ tuple $envAll | include "helm-toolkit.snippets.kubernetes_upgrades_deployment" | indent 2 }}
template:
metadata:

View File

@ -456,12 +456,13 @@ pod:
init_container: null
shipyard:
replicas:
shipyard: 1
shipyard:
api: 2
airflow:
web: 1
worker: 1
flower: 1
scheduler: 1
web: 2
worker: 2
flower: 2
scheduler: 2
lifecycle:
upgrades:
deployments: