feat: Support to customize broker podManagementPolicy from values.yaml (#525)
This commit is contained in:
parent
0031827761
commit
54401c0b9a
@ -48,7 +48,9 @@ spec:
|
|||||||
{{- if $stsObj }}
|
{{- if $stsObj }}
|
||||||
podManagementPolicy: {{ $stsObj.spec.podManagementPolicy }}
|
podManagementPolicy: {{ $stsObj.spec.podManagementPolicy }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- if not .Values.components.functions }}
|
{{- if .Values.broker.podManagementPolicy }}
|
||||||
|
podManagementPolicy: {{ .Values.broker.podManagementPolicy }}
|
||||||
|
{{- else if not .Values.components.functions }}
|
||||||
podManagementPolicy: Parallel
|
podManagementPolicy: Parallel
|
||||||
{{- else }}
|
{{- else }}
|
||||||
podManagementPolicy: OrderedReady
|
podManagementPolicy: OrderedReady
|
||||||
|
|||||||
@ -806,6 +806,8 @@ broker:
|
|||||||
maxReplicas: 3
|
maxReplicas: 3
|
||||||
metrics: ~
|
metrics: ~
|
||||||
behavior: ~
|
behavior: ~
|
||||||
|
# The podManagementPolicy cannot be modified for an existing deployment. If you need to change this value, you will need to manually delete the existing broker StatefulSet and then redeploy the chart.
|
||||||
|
podManagementPolicy:
|
||||||
initContainers: []
|
initContainers: []
|
||||||
# This is how prometheus discovers this component
|
# This is how prometheus discovers this component
|
||||||
podMonitor:
|
podMonitor:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user