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

feat: support kop proxy in chart #1190

Merged
merged 2 commits into from
Nov 22, 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
5 changes: 5 additions & 0 deletions charts/sn-platform-slim/templates/proxy/proxy-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ spec:
{{- if .Values.pulsar_metadata.clusterName }}
clusterName: {{ .Values.pulsar_metadata.clusterName }}
{{- end }}
{{- if .Values.proxy.kopProxy.enabled }}
kopProxy:
enabled: {{ .Values.proxy.kopProxy.enabled }}
kafkaAdvertisedListener: {{ .Values.proxy.kopProxy.kafkaAdvertisedListener }}
{{- end }}
usePodIPAsAdvertisedAddress: {{ .Values.broker.usePodIPAsAdvertisedAddress | default "false" }}
tls:
enabled: {{ and (.Values.tls.enabled) (.Values.tls.proxy.enabled) }}
Expand Down
5 changes: 5 additions & 0 deletions charts/sn-platform-slim/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1488,6 +1488,11 @@ proxy:
# limits:
# memory: "512Mi"
# cpu: "0.8"
# Kafka Proxy supports forward the kafka client request to Pulsar Broker, make sure you enable the kop on the Broker component.
kopProxy:
enabled: false
# Specifies the listeners for Kafka clients. In Kubernetes environments, you should configure the external Proxy LoadBalancer type service address or NodePort type service address for this field.
kafkaAdvertisedListener:
# extra environment variable to define for the containers
extraEnv: []
# extra secrets to mount for the pods
Expand Down
5 changes: 5 additions & 0 deletions charts/sn-platform/templates/proxy/proxy-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ spec:
{{- if .Values.pulsar_metadata.clusterName }}
clusterName: {{ .Values.pulsar_metadata.clusterName }}
{{- end }}
{{- if .Values.proxy.kopProxy.enabled }}
kopProxy:
enabled: {{ .Values.proxy.kopProxy.enabled }}
kafkaAdvertisedListener: {{ .Values.proxy.kopProxy.kafkaAdvertisedListener }}
{{- end }}
usePodIPAsAdvertisedAddress: {{ .Values.broker.usePodIPAsAdvertisedAddress | default "false" }}
tls:
enabled: {{ and (.Values.tls.enabled) (.Values.tls.proxy.enabled) }}
Expand Down
5 changes: 5 additions & 0 deletions charts/sn-platform/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1564,6 +1564,11 @@ proxy:
# limits:
# memory: "512Mi"
# cpu: "0.8"
# Kafka Proxy supports forward the kafka client request to Pulsar Broker, make sure you enable the kop on the Broker component.
kopProxy:
enabled: false
# Specifies the listeners for Kafka clients. In Kubernetes environments, you should configure the external Proxy LoadBalancer type service address or NodePort type service address for this field.
kafkaAdvertisedListener:
# extra environment variable to define for the containers
extraEnv: []
# extra secrets to mount for the pods
Expand Down
Loading