Skip to content

Modular logistics and supply chain operating system (LSOS)

Scale deployment of the app to 2 by default

Eugene Dementyev83791ea91c63
diff --git a/infra/helm/templates/deployment_services.yaml b/infra/helm/templates/deployment_services.yaml
index 26ba20b8..8c1be99e 100644
--- a/infra/helm/templates/deployment_services.yaml
+++ b/infra/helm/templates/deployment_services.yaml
@@ -7,7 +7,7 @@ metadata:
{{- include "helm.labels" . | nindent 4 }}
spec:
{{- if not .Values.autoscaling.enabled }}
- replicas: {{ .Values.replicaCount }}
+ replicas: 1
{{- end }}
selector:
matchLabels:
@@ -66,7 +66,7 @@ metadata:
{{- include "helm.labels" . | nindent 4 }}
spec:
{{- if not .Values.autoscaling.enabled }}
- replicas: {{ .Values.replicaCount }}
+ replicas: 1
{{- end }}
selector:
matchLabels:
diff --git a/infra/helm/values.yaml b/infra/helm/values.yaml
index b830926c..32fb9776 100644
--- a/infra/helm/values.yaml
+++ b/infra/helm/values.yaml
@@ -2,7 +2,7 @@
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
-replicaCount: 1
+replicaCount: 2
image:
repository: OVERRIDE
@@ -25,10 +25,12 @@ serviceAccount:
podAnnotations: {}
-podSecurityContext: {}
+podSecurityContext:
+ {}
# fsGroup: 2000
-securityContext: {}
+securityContext:
+ {}
# capabilities:
# drop:
# - ALL
@@ -54,7 +56,8 @@ ingress:
# hosts:
# - chart-example.local
-resources: {}
+resources:
+ {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following