Skip to content

Commit

Permalink
chore: add service port for oteld (#5657)
Browse files Browse the repository at this point in the history
(cherry picked from commit 7714cda)
  • Loading branch information
kubeJocker committed Nov 7, 2023
1 parent 4a9be37 commit 57d452d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 2 additions & 0 deletions deploy/apecloud-mysql/templates/clusterdefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 13 additions & 1 deletion deploy/kafka/templates/clusterdefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ spec:
ports:
- name: metrics
containerPort: 5556
env:
- name: SERVICE_PORT
value: "5556"
volumeMounts:
- name: jmx-config
mountPath: /etc/jmx-kafka
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -484,6 +490,9 @@ spec:
volumeMounts:
- name: jmx-config
mountPath: /etc/jmx-kafka
env:
- name: SERVICE_PORT
value: "5556"

- name: kafka-exporter
workloadType: Stateless
Expand Down Expand Up @@ -517,4 +526,7 @@ spec:
volumeMounts:
- name: scripts
mountPath: /scripts/setup.sh
subPath: kafka-exporter-setup.sh
subPath: kafka-exporter-setup.sh
env:
- name: SERVICE_PORT
value: "9308"
2 changes: 2 additions & 0 deletions deploy/qdrant/templates/clusterdefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ spec:
env:
- name: QDRANT__TELEMETRY_DISABLED
value: "true"
- name: SERVICE_PORT
value: "6333"
volumes:
- name: annotations
downwardAPI:
Expand Down

0 comments on commit 57d452d

Please sign in to comment.