diff --git a/charts/pulsar/templates/pulsar-manager-deployment.yaml b/charts/pulsar/templates/pulsar-manager-deployment.yaml index 11290e53..b1b14342 100644 --- a/charts/pulsar/templates/pulsar-manager-deployment.yaml +++ b/charts/pulsar/templates/pulsar-manager-deployment.yaml @@ -64,6 +64,7 @@ spec: {{- end }} ports: - containerPort: {{ .Values.pulsar_manager.service.targetPort }} + - containerPort: {{ .Values.pulsar_manager.service.adminTargetPort }} volumeMounts: - name: pulsar-manager-data mountPath: /data diff --git a/charts/pulsar/templates/pulsar-manager-service.yaml b/charts/pulsar/templates/pulsar-manager-service.yaml index 26455a6b..031c9294 100644 --- a/charts/pulsar/templates/pulsar-manager-service.yaml +++ b/charts/pulsar/templates/pulsar-manager-service.yaml @@ -41,6 +41,10 @@ spec: port: {{ .Values.pulsar_manager.service.port }} targetPort: {{ .Values.pulsar_manager.service.targetPort }} protocol: TCP + - name: admin + port: {{ .Values.pulsar_manager.service.adminPort }} + targetPort: {{ .Values.pulsar_manager.service.adminTargetPort }} + protocol: TCP selector: {{- include "pulsar.matchLabels" . | nindent 4 }} component: {{ .Values.pulsar_manager.component }} diff --git a/charts/pulsar/values.yaml b/charts/pulsar/values.yaml index 5a8c96f5..5e2d9614 100644 --- a/charts/pulsar/values.yaml +++ b/charts/pulsar/values.yaml @@ -1300,8 +1300,12 @@ pulsar_manager: ## service: type: LoadBalancer + port: 9527 targetPort: 9527 + adminPort: 7750 + adminTargetPort: 7750 + annotations: {} ## Set external traffic policy to: "Local" to preserve source IP on providers supporting it. ## Ref: https://kubernetes.io/docs/tutorials/services/source-ip/#source-ip-for-services-with-typeloadbalancer