Skip to content

Commit e2983f0

Browse files
committed
feat: Added support for HPA behavior
1 parent 37ce239 commit e2983f0

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

charts/emissary-ingress/templates/hpa.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ spec:
1414
name: {{ include "ambassador.fullname" . }}
1515
minReplicas: {{ .Values.autoscaling.minReplicas }}
1616
maxReplicas: {{ .Values.autoscaling.maxReplicas }}
17+
{{- with .Values.autoscaling.behavior }}
18+
behavior:
19+
{{- toYaml . | nindent 4 }}
20+
{{- end }}
1721
metrics:
1822
{{- toYaml .Values.autoscaling.metrics | nindent 4 }}
1923
{{- end }}

charts/emissary-ingress/values.yaml.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ autoscaling: # +doc-gen:break
4949
enabled: false
5050
minReplicas: 2
5151
maxReplicas: 5
52+
behavior: {}
5253
metrics:
5354
- type: Resource
5455
resource:

0 commit comments

Comments
 (0)