File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,18 @@ controller:
44 minReplicas : 1
55 maxReplicas : 5
66 targetCPUUtilizationPercentage : 80
7+ behavior :
8+ scaleUp :
9+ policies :
10+ - type : Percent
11+ value : 900
12+ periodSeconds : 60
13+ scaleDown :
14+ stabilizationWindowSeconds : 600
15+ policies :
16+ - type : Pods
17+ value : 1
18+ periodSeconds : 600
719
820defaultBackend :
921 autoscaling :
Original file line number Diff line number Diff line change 4444 name : {{ include "kubernetes-ingress.fullname" . }}
4545 minReplicas : {{ .Values.controller.autoscaling.minReplicas }}
4646 maxReplicas : {{ .Values.controller.autoscaling.maxReplicas }}
47+ {{- if .Values.controller.autoscaling.behavior }}
48+ behavior : {{- toYaml .Values.controller.autoscaling.behavior | nindent 4 }}
49+ {{- end }}
4750 metrics :
4851 {{- if .Values.controller.autoscaling.targetCPUUtilizationPercentage }}
4952 - type : Resource
Original file line number Diff line number Diff line change @@ -235,6 +235,12 @@ controller:
235235 annotations : {}
236236 # annotationKey: value
237237
238+ # # Behavior
239+ # # ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#configurable-scaling-behavior
240+ # behavior:
241+ # scaleDown:
242+ # stabilizationWindowSeconds: 3600
243+
238244 # # Custom metrics (example)
239245 # # ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics
240246 # custom:
You can’t perform that action at this time.
0 commit comments