Skip to content

Commit

Permalink
chore: update the memory limits and request for the pipeline backend …
Browse files Browse the repository at this point in the history
…containers
  • Loading branch information
Sarthak-instill committed Dec 13, 2023
1 parent 0bfdd34 commit 386cfc9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 4 additions & 4 deletions charts/vdp/templates/pipeline-backend/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
6 changes: 5 additions & 1 deletion charts/vdp/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,11 @@ controllerVDP:
podAnnotations: {}
# -- Additional service annotations
serviceAnnotations: {}
resources: {}
containers:
pipelineBackend:
resources: {}
pipelineBackendWorker:
resources: {}
loopinterval: 3
autoscaling:
enabled: false
Expand Down

0 comments on commit 386cfc9

Please sign in to comment.