diff --git a/deploy/helm/templates/addons/pulsar-addon.yaml b/deploy/helm/templates/addons/pulsar-addon.yaml index 6f362194bc5..b8a774dace6 100644 --- a/deploy/helm/templates/addons/pulsar-addon.yaml +++ b/deploy/helm/templates/addons/pulsar-addon.yaml @@ -23,6 +23,13 @@ spec: version: {{ default .Chart.Version .Values.versionOverride }} {{- end }} + installValues: + {{- $cloudProvider := (include "kubeblocks.cloudProvider" .) }} + {{- if eq $cloudProvider "huaweiCloud" }} + setValues: + - cloudProvider=huaweiCloud + {{- end }} + installable: autoInstall: true diff --git a/deploy/pulsar/templates/pulsar-config-configmap.yaml b/deploy/pulsar/templates/pulsar-config-configmap.yaml index a9f6da272b7..c3418e5434f 100644 --- a/deploy/pulsar/templates/pulsar-config-configmap.yaml +++ b/deploy/pulsar/templates/pulsar-config-configmap.yaml @@ -18,6 +18,9 @@ metadata: data: broker.conf: |- {{- .Files.Get "config/broker-config.tpl" | nindent 4 }} + {{- if eq .Values.cloudProvider "huaweiCloud" }} + loadBalancerOverrideBrokerNicSpeedGbps=2 + {{- end }} --- apiVersion: v1 diff --git a/deploy/pulsar/values.yaml b/deploy/pulsar/values.yaml index 7dd1468b7ae..0ae1ce420e2 100644 --- a/deploy/pulsar/values.yaml +++ b/deploy/pulsar/values.yaml @@ -63,4 +63,6 @@ metrics: port: 1234 -clusterDomain: ".cluster.local" \ No newline at end of file +clusterDomain: ".cluster.local" + +cloudProvider: "" \ No newline at end of file