Skip to content

Commit

Permalink
Upgrade pulsar standalone image version to 2.7.3 (#216)
Browse files Browse the repository at this point in the history
Signed-off-by: quicksilver <[email protected]>
  • Loading branch information
jeffoverflow authored Aug 31, 2021
1 parent 9cbdaf6 commit d8587dc
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion charts/milvus/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: milvus
appVersion: "2.0.0-rc.5"
kubeVersion: "^1.10.0-0"
description: Milvus is an open-source vector database built to power AI applications and vector similarity search.
version: 2.1.7
version: 2.1.8
keywords:
- milvus
- elastic
Expand Down
22 changes: 13 additions & 9 deletions charts/milvus/templates/pulsar-standalone-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,22 @@ spec:
- name: pulsar
image: "{{ .Values.pulsarStandalone.image.repository }}:{{ .Values.pulsarStandalone.image.tag }}"
imagePullPolicy: {{ .Values.pulsarStandalone.image.pullPolicy }}
command: ["/bin/sh", "-c"]
command: ["/bin/bash", "-c"]
args:
- pulsar_conf_path=/pulsar/conf/standalone.conf;
echo "" >> $pulsar_conf_path;
echo "maxMessageSize=104857600" >> $pulsar_conf_path;
echo "" >> $pulsar_conf_path;
echo "nettyMaxFrameSizeBytes=104857600" >> $pulsar_conf_path;
sed -i 's/^defaultRetentionTimeInMinutes=.*/defaultRetentionTimeInMinutes=10080/' /pulsar/conf/broker.conf;
- bin/apply-config-from-env.py conf/standalone.conf;
bin/pulsar standalone --no-functions-worker --no-stream-storage;

{{- if .Values.pulsarStandalone.extraEnv }}
env:
- name: nettyMaxFrameSizeBytes
value: "104867840"
- name: defaultRetentionTimeInMinutes
value: "10080"
- name: defaultRetentionSizeInMB
value: "-1"
- name: PULSAR_PREFIX_maxMessageSize
value: "104857600"
- name: PULSAR_GC
value: "-XX:+UseG1GC"
{{- if .Values.pulsarStandalone.extraEnv }}
{{- toYaml .Values.pulsarStandalone.extraEnv | nindent 10 }}
{{- end }}
ports:
Expand Down
2 changes: 1 addition & 1 deletion charts/milvus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ dataNode:
pulsarStandalone:
image:
repository: apachepulsar/pulsar
tag: 2.6.1
tag: 2.7.3
pullPolicy: IfNotPresent
# pullSecrets:
# - myRegistryKeySecretName
Expand Down

0 comments on commit d8587dc

Please sign in to comment.