Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: change pulsar bookies min-replica from 3 to 2 #840

Merged
merged 1 commit into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions addons-cluster/pulsar-cluster/templates/validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,10 @@
{{- end }}
{{- end }}
{{- if .Values.bookies.replicaCount }}
{{- if lt (int .Values.bookies.replicaCount) 3 }}
{{ fail "Pulsar bookies replicas cannot be less than 3." }}
{{- if lt (int .Values.bookies.replicaCount) 2 }}
{{ fail "Pulsar bookies replicas cannot be less than 2." }}
{{- end }}
{{- end }}
{{/*{{- if .Values.bookiesRecovery.replicaCount }}*/}}
{{/* {{- if lt (int .Values.bookiesRecovery.replicaCount) 3 }}*/}}
{{/* {{ fail "Pulsar bookiesRecovery replicas cannot be less than 3." }}*/}}
{{/* {{- end }}*/}}
{{/*{{- end }}*/}}
{{- if .Values.bookies.mode }}
{{- if and (ne .Values.bookies.mode "generic") (ne .Values.bookies.mode "selfVerifying") }}
{{ fail "pulsar bookies mode only supported [generic,selfVerifying]" }}
Expand Down
2 changes: 1 addition & 1 deletion addons/pulsar/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Apache Pulsar is an open-source, distributed messaging and streamin

type: application

version: 0.9.0
version: 0.9.1

# appVersion specifies the version of the Pulsar database to be created,
# and this value should be consistent with an existing clusterVersion.
Expand Down
Loading