From 4abd91b43e8a9292532b10899fff8f4f8b86f106 Mon Sep 17 00:00:00 2001 From: Chad Beaulac Date: Thu, 4 Jan 2024 15:08:14 -0800 Subject: [PATCH] Changed initialDelaySeconds to 120 and set CPU to 1vcpu and memory to 4G --- charts/localstack/templates/deployment.yaml | 1 + charts/localstack/values.yaml | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/charts/localstack/templates/deployment.yaml b/charts/localstack/templates/deployment.yaml index 7b56cbc..22ce46f 100644 --- a/charts/localstack/templates/deployment.yaml +++ b/charts/localstack/templates/deployment.yaml @@ -60,6 +60,7 @@ spec: httpGet: path: /_localstack/health port: {{ .Values.service.edgeService.name }} + initialDelaySeconds: 120 resources: {{- toYaml .Values.resources | nindent 12 }} {{- if coalesce (and (.Values.mountDind.enabled) (.Values.mountDind.forceTLS)) .Values.enableStartupScripts .Values.persistence.enabled .Values.volumeMounts }} diff --git a/charts/localstack/values.yaml b/charts/localstack/values.yaml index 2e73220..91a678c 100644 --- a/charts/localstack/values.yaml +++ b/charts/localstack/values.yaml @@ -162,7 +162,7 @@ persistence: annotations: {} -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 @@ -173,6 +173,10 @@ resources: {} # requests: # cpu: 100m # memory: 128Mi +resources: + requests: + cpu: 1000m + memory: 4Gi # All settings inside the lambda values section are only applicable to the new v2 lambda provider lambda: