From 386cfc923913e4f0b813e8b65ee49df903aa7594 Mon Sep 17 00:00:00 2001 From: sarthak gupta Date: Wed, 13 Dec 2023 23:01:53 +0530 Subject: [PATCH] chore: update the memory limits and request for the pipeline backend containers --- charts/vdp/templates/pipeline-backend/deployment.yaml | 8 ++++---- charts/vdp/values.yaml | 6 +++++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/charts/vdp/templates/pipeline-backend/deployment.yaml b/charts/vdp/templates/pipeline-backend/deployment.yaml index f07ff2bc..8ec3d847 100644 --- a/charts/vdp/templates/pipeline-backend/deployment.yaml +++ b/charts/vdp/templates/pipeline-backend/deployment.yaml @@ -168,9 +168,9 @@ spec: initialDelaySeconds: 120 tcpSocket: port: rpc - {{- if .Values.pipelineBackend.resources }} + {{- if .Values.pipelineBackend.containers.pipelineBackendWorker.resources }} resources: - {{- toYaml .Values.pipelineBackend.resources | nindent 12 }} + {{- toYaml .Values.pipelineBackend.containers.pipelineBackendWorker.resources | nindent 12 }} {{- end }} command: [./{{ .Values.pipelineBackend.commandName.worker }}] env: @@ -209,9 +209,9 @@ spec: port: {{ ternary "https" "http" .Values.internalTLS.enabled }}-public initialDelaySeconds: 5 periodSeconds: 10 - {{- if .Values.pipelineBackend.resources }} + {{- if .Values.pipelineBackend.containers.pipelineBackend.resources }} resources: - {{- toYaml .Values.pipelineBackend.resources | nindent 12 }} + {{- toYaml .Values.pipelineBackend.containers.pipelineBackend.resources | nindent 12 }} {{- end }} command: [./{{ .Values.pipelineBackend.commandName.main }}] ports: diff --git a/charts/vdp/values.yaml b/charts/vdp/values.yaml index 4fe41b39..73770f3b 100644 --- a/charts/vdp/values.yaml +++ b/charts/vdp/values.yaml @@ -172,7 +172,11 @@ controllerVDP: podAnnotations: {} # -- Additional service annotations serviceAnnotations: {} - resources: {} + containers: + pipelineBackend: + resources: {} + pipelineBackendWorker: + resources: {} loopinterval: 3 autoscaling: enabled: false