diff --git a/charts/vdp/templates/pipeline-backend/hpa.yml b/charts/vdp/templates/pipeline-backend/hpa.yml index 612af32ff..36c0d8799 100644 --- a/charts/vdp/templates/pipeline-backend/hpa.yml +++ b/charts/vdp/templates/pipeline-backend/hpa.yml @@ -30,4 +30,22 @@ spec: type: AverageValue averageValue: {{ . }} {{- end }} +{{- with .Values.pipelineBackend.autoscaling.containerAverageMemoryUtilization }} + - type: ContainerResource + containerResource: + name: memory + container: pipeline-backend-worker + target: + type: Utilization + averageUtilization: {{ . }} +{{- end }} +{{- with .Values.pipelineBackend.autoscaling.containerAverageMemoryUtilization }} + - type: ContainerResource + containerResource: + name: memory + container: pipeline-backend + target: + type: Utilization + averageUtilization: {{ . }} +{{- end }} {{- end }} diff --git a/charts/vdp/values.yaml b/charts/vdp/values.yaml index f28817fd8..5717c5562 100644 --- a/charts/vdp/values.yaml +++ b/charts/vdp/values.yaml @@ -180,6 +180,7 @@ controllerVDP: maxReplicas: targetCPUUtilizationPercentage: targetAverageMemoryUtilization: + containerAverageMemoryUtilization: nodeSelector: {} tolerations: [] affinity: {}