Skip to content

Commit

Permalink
Add option to configure minReadySeconds
Browse files Browse the repository at this point in the history
  • Loading branch information
Bloodyludi committed Sep 18, 2023
1 parent 9e64dcd commit 1834fbc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/pulsar/templates/bookkeeper-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ spec:
updateStrategy:
{{ toYaml .Values.bookkeeper.updateStrategy | indent 4 }}
podManagementPolicy: {{ .Values.bookkeeper.podManagementPolicy }}
minReadySeconds: {{ .Values.bookkeeper.minReadySeconds }}
template:
metadata:
labels:
Expand Down
1 change: 1 addition & 0 deletions charts/pulsar/templates/broker-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ spec:
updateStrategy:
type: RollingUpdate
podManagementPolicy: Parallel
minReadySeconds: {{.Values.broker.minReadySeconds }}
template:
metadata:
labels:
Expand Down
1 change: 1 addition & 0 deletions charts/pulsar/templates/zookeeper-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ spec:
updateStrategy:
{{ toYaml .Values.zookeeper.updateStrategy | indent 4 }}
podManagementPolicy: {{ .Values.zookeeper.podManagementPolicy }}
minReadySeconds: {{ .Values.zookeeper.minReadySeconds }}
template:
metadata:
labels:
Expand Down
3 changes: 3 additions & 0 deletions charts/pulsar/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ zookeeper:
# nodeSelector:
# cloud.google.com/gke-nodepool: default-pool
# priorityClassName: high-priority-nonpreempting
minReadySeconds: 60
probe:
liveness:
enabled: true
Expand Down Expand Up @@ -441,6 +442,7 @@ bookkeeper:
statestore: 4181
# nodeSelector:
# cloud.google.com/gke-nodepool: default-pool
minReadySeconds: 60
# priorityClassName: high-priority-nonpreempting
probe:
liveness:
Expand Down Expand Up @@ -702,6 +704,7 @@ broker:
# nodeSelector:
# cloud.google.com/gke-nodepool: default-pool
# priorityClassName: high-priority-nonpreempting
minReadySeconds: 60
probe:
liveness:
enabled: true
Expand Down

0 comments on commit 1834fbc

Please sign in to comment.