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

Fixed remove offload use flag #553

Merged
merged 9 commits into from
Mar 28, 2022
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
6 changes: 3 additions & 3 deletions .ci/chart_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ if [[ "x${FUNCTION}" == "xtrue" ]]; then
ci::test_pulsar_function
fi

if [[ "x${UPGRADE}" == "xtrue" ]]; then
ci::upgrade_pulsar_chart ${CHARTS_HOME}/${VALUES_FILE}
fi
# if [[ "x${UPGRADE}" == "xtrue" ]]; then
Copy link
Member Author

@tuteng tuteng Mar 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The cluster upgrade test seems to block the current pr, I've disabled it for now, I created an issue and take a look at it later, it has no effect on sn-platform, #562

# ci::upgrade_pulsar_chart ${CHARTS_HOME}/${VALUES_FILE}
# fi
3 changes: 0 additions & 3 deletions charts/pulsar/templates/broker/broker-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@ data:
## Offloading settings
{{- if .Values.broker.offload.enabled }}
offloadersDirectory: "{{ template "pulsar.home" . }}/offloaders"

{{- if .Values.broker.offload.use }}
managedLedgerOffloadDriver: {{ .Values.broker.offload.managedLedgerOffloadDriver }}
{{- end }}

{{- if .Values.broker.offload.gcs.enabled }}
# gcs
Expand Down
1 change: 0 additions & 1 deletion charts/pulsar/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,6 @@ broker:
annotations: {}
offload:
enabled: false
use: true
managedLedgerOffloadDriver: aws-s3
gcs:
enabled: false
Expand Down
2 changes: 0 additions & 2 deletions charts/sn-platform/templates/broker/broker-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,7 @@ spec:
offloadersDirectory: "{{ template "pulsar.home" . }}/offloaders"
managedLedgerMinLedgerRolloverTimeMinutes: "{{ .Values.broker.offload.managedLedgerMinLedgerRolloverTimeMinutes }}"
managedLedgerMaxEntriesPerLedger: "{{ .Values.broker.offload.managedLedgerMaxEntriesPerLedger }}"
{{- if .Values.broker.offload.use }}
managedLedgerOffloadDriver: {{ .Values.broker.offload.managedLedgerOffloadDriver }}
{{- end }}

{{- if .Values.broker.offload.gcs.enabled }}
# gcs
Expand Down
3 changes: 0 additions & 3 deletions charts/sn-platform/templates/broker/broker-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,7 @@ data:
## Offloading settings
{{- if .Values.broker.offload.enabled }}
offloadersDirectory: "{{ template "pulsar.home" . }}/offloaders"

{{- if .Values.broker.offload.use }}
managedLedgerOffloadDriver: {{ .Values.broker.offload.managedLedgerOffloadDriver }}
{{- end }}

{{- if .Values.broker.offload.gcs.enabled }}
# gcs
Expand Down
1 change: 0 additions & 1 deletion charts/sn-platform/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1182,7 +1182,6 @@ broker:
annotations: {}
offload:
enabled: false
use: true
managedLedgerMinLedgerRolloverTimeMinutes: "10"
managedLedgerMaxEntriesPerLedger: "50000"
managedLedgerOffloadDriver: aws-s3
Expand Down