diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 29aefef..205ec2b 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -86,6 +86,8 @@ spec: periodSeconds: 10 successThreshold: 1 timeoutSeconds: 10 + resources: + {{- toYaml .Values.resources | nindent 10 }} env: {{- $envVals := .Values.global.env -}} {{- if (.Values.env) }} diff --git a/values.yaml b/values.yaml index 6995af4..bc74e0f 100644 --- a/values.yaml +++ b/values.yaml @@ -47,6 +47,13 @@ readinessProbe: startupProbe: url: /healthcheck +# Define the resources for main container +resources: + requests: + memory: 200Mi + limits: + memory: 300Mi + # node selector for the pods nodeSelector: