Allow Proxy and Broker HPA to specify scaling policies on scaleUp or scaleDown. (#391)
This commit is contained in:
parent
ea5404c421
commit
8cb3c18377
@ -33,6 +33,10 @@ spec:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
minReplicas: {{ .Values.broker.autoscaling.minReplicas }}
|
||||
{{- with .Values.broker.autoscaling.behavior }}
|
||||
behavior:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
scaleTargetRef:
|
||||
apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
|
||||
@ -33,6 +33,10 @@ spec:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
minReplicas: {{ .Values.proxy.autoscaling.minReplicas }}
|
||||
{{- with .Values.proxy.autoscaling.behavior }}
|
||||
behavior:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
scaleTargetRef:
|
||||
apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
|
||||
@ -684,6 +684,7 @@ broker:
|
||||
minReplicas: 1
|
||||
maxReplicas: 3
|
||||
metrics: ~
|
||||
behavior: ~
|
||||
# This is how prometheus discovers this component
|
||||
podMonitor:
|
||||
enabled: true
|
||||
@ -818,6 +819,7 @@ proxy:
|
||||
minReplicas: 1
|
||||
maxReplicas: 3
|
||||
metrics: ~
|
||||
behavior: ~
|
||||
# This is how prometheus discovers this component
|
||||
podMonitor:
|
||||
enabled: true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user