|
|
@ -360,18 +360,18 @@ spec:
|
|
|
|
minReplicas: {{ .Values.autoscaling.minReplicas }}
|
|
|
|
minReplicas: {{ .Values.autoscaling.minReplicas }}
|
|
|
|
maxReplicas: {{ .Values.autoscaling.maxReplicas }}
|
|
|
|
maxReplicas: {{ .Values.autoscaling.maxReplicas }}
|
|
|
|
metrics:
|
|
|
|
metrics:
|
|
|
|
{{- if .Values.autoscaling.targetCPUUtilizationPercentage }}
|
|
|
|
{{- if .Values.autoscaling.targetCPUUtilizationPercentage }}
|
|
|
|
- type: Resource
|
|
|
|
- type: Resource
|
|
|
|
resource:
|
|
|
|
resource:
|
|
|
|
name: cpu
|
|
|
|
name: cpu
|
|
|
|
targetAverageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
|
|
|
|
targetAverageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
{{- if .Values.autoscaling.targetMemoryUtilizationPercentage }}
|
|
|
|
{{- if .Values.autoscaling.targetMemoryUtilizationPercentage }}
|
|
|
|
- type: Resource
|
|
|
|
- type: Resource
|
|
|
|
resource:
|
|
|
|
resource:
|
|
|
|
name: memory
|
|
|
|
name: memory
|
|
|
|
targetAverageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
|
|
|
|
targetAverageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
`
|
|
|
|
`
|
|
|
|
|
|
|
|
|
|
|
|