diff --git a/deploy/apecloud-mysql/templates/clusterdefinition.yaml b/deploy/apecloud-mysql/templates/clusterdefinition.yaml index 3329dff0e2c..277e77f0a23 100644 --- a/deploy/apecloud-mysql/templates/clusterdefinition.yaml +++ b/deploy/apecloud-mysql/templates/clusterdefinition.yaml @@ -541,6 +541,8 @@ spec: optional: false - name: CELL value: {{ .Values.wesqlscale.cell | default "zone1" | quote }} + - name: SERVICE_PORT + value: "15001" - name: VTGATE_MYSQL_PORT value: "15306" - name: VTGATE_WEB_PORT diff --git a/deploy/kafka/templates/clusterdefinition.yaml b/deploy/kafka/templates/clusterdefinition.yaml index 19902083a1f..71ac97a4ee5 100644 --- a/deploy/kafka/templates/clusterdefinition.yaml +++ b/deploy/kafka/templates/clusterdefinition.yaml @@ -185,6 +185,9 @@ spec: ports: - name: metrics containerPort: 5556 + env: + - name: SERVICE_PORT + value: "5556" volumeMounts: - name: jmx-config mountPath: /etc/jmx-kafka @@ -348,6 +351,9 @@ spec: volumeMounts: - name: jmx-config mountPath: /etc/jmx-kafka + env: + - name: SERVICE_PORT + value: "5556" # controller(kraft) Ref: https://kafka.apache.org/documentation/#kraft_role - name: controller @@ -484,6 +490,9 @@ spec: volumeMounts: - name: jmx-config mountPath: /etc/jmx-kafka + env: + - name: SERVICE_PORT + value: "5556" - name: kafka-exporter workloadType: Stateless @@ -517,4 +526,7 @@ spec: volumeMounts: - name: scripts mountPath: /scripts/setup.sh - subPath: kafka-exporter-setup.sh \ No newline at end of file + subPath: kafka-exporter-setup.sh + env: + - name: SERVICE_PORT + value: "9308" \ No newline at end of file diff --git a/deploy/qdrant/templates/clusterdefinition.yaml b/deploy/qdrant/templates/clusterdefinition.yaml index 8b6df98132a..674004737dc 100644 --- a/deploy/qdrant/templates/clusterdefinition.yaml +++ b/deploy/qdrant/templates/clusterdefinition.yaml @@ -135,6 +135,8 @@ spec: env: - name: QDRANT__TELEMETRY_DISABLED value: "true" + - name: SERVICE_PORT + value: "6333" volumes: - name: annotations downwardAPI: