add support for keda fallback settings (#9993)
This commit is contained in:
parent
7043f6ae29
commit
051aa6d40d
2 changed files with 8 additions and 0 deletions
|
@ -25,6 +25,11 @@ spec:
|
||||||
cooldownPeriod: {{ .Values.controller.keda.cooldownPeriod }}
|
cooldownPeriod: {{ .Values.controller.keda.cooldownPeriod }}
|
||||||
minReplicaCount: {{ .Values.controller.keda.minReplicas }}
|
minReplicaCount: {{ .Values.controller.keda.minReplicas }}
|
||||||
maxReplicaCount: {{ .Values.controller.keda.maxReplicas }}
|
maxReplicaCount: {{ .Values.controller.keda.maxReplicas }}
|
||||||
|
{{- with .Values.controller.keda.fallback }}
|
||||||
|
fallback:
|
||||||
|
failureThreshold: {{ .failureThreshold | default 3 }}
|
||||||
|
replicas: {{ .replicas | default $.Values.controller.keda.maxReplicas }}
|
||||||
|
{{- end }}
|
||||||
triggers:
|
triggers:
|
||||||
{{- with .Values.controller.keda.triggers }}
|
{{- with .Values.controller.keda.triggers }}
|
||||||
{{ toYaml . | indent 2 }}
|
{{ toYaml . | indent 2 }}
|
||||||
|
|
|
@ -368,6 +368,9 @@ controller:
|
||||||
maxReplicas: 11
|
maxReplicas: 11
|
||||||
pollingInterval: 30
|
pollingInterval: 30
|
||||||
cooldownPeriod: 300
|
cooldownPeriod: 300
|
||||||
|
# fallback:
|
||||||
|
# failureThreshold: 3
|
||||||
|
# replicas: 11
|
||||||
restoreToOriginalReplicaCount: false
|
restoreToOriginalReplicaCount: false
|
||||||
scaledObject:
|
scaledObject:
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
|
Loading…
Reference in a new issue