Adding resource type to default HPA configuration to resolve issues with Terraform helm chart usage (#9803)

This commit is contained in:
plynch-magnolia 2023-04-24 11:33:02 -04:00 committed by GitHub
parent 200fc7eff5
commit 7fcda3e220

View file

@ -22,12 +22,16 @@ spec:
- type: Resource
resource:
name: cpu
targetAverageUtilization: {{ . }}
target:
type: Utilization
averageUtilization: {{ . }}
{{- end }}
{{- with .Values.defaultBackend.autoscaling.targetMemoryUtilizationPercentage }}
- type: Resource
resource:
name: memory
targetAverageUtilization: {{ . }}
target:
type: Utilization
averageUtilization: {{ . }}
{{- end }}
{{- end }}