Scale deployment of the app to 2 by default

This commit is contained in:
Eugene Dementyev
2024-02-10 19:57:37 +13:00
parent 8aae8cd025
commit 83791ea91c
2 changed files with 9 additions and 6 deletions

View File

@@ -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:

View File

@@ -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