Skip to content

Commit

Permalink
chore(helm): update the HPA for pipeline backend containers
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarthak-instill committed Dec 11, 2023
1 parent 859cca7 commit fdae7af
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
18 changes: 18 additions & 0 deletions charts/vdp/templates/pipeline-backend/hpa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,22 @@ spec:
type: AverageValue
averageValue: {{ . }}
{{- end }}
{{- with .Values.pipelineBackend.autoscaling.pipelineBackendWorkerMemoryUtilization }}
- type: ContainerResource
containerResource:
name: memory
container: pipeline-backend-worker
target:
type: Utilization
averageUtilization: {{ . }}
{{- end }}
{{- with .Values.pipelineBackend.autoscaling.pipelineBackendMemoryUtilization }}
- type: ContainerResource
containerResource:
name: memory
container: pipeline-backend
target:
type: Utilization
averageUtilization: {{ . }}
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/vdp/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ controllerVDP:
maxReplicas:
targetCPUUtilizationPercentage:
targetAverageMemoryUtilization:
pipelineBackendWorkerMemoryUtilization:
pipelineBackendMemoryUtilization:
nodeSelector: {}
tolerations: []
affinity: {}
Expand Down

0 comments on commit fdae7af

Please sign in to comment.