[Fix-10652] fix docker-compose.yml (#10653)
* [Fix-10652] fix docker-compose.yml
* [Fix-10652] fix docker-stack.yml
* [Fix-10652] fix python api port in k8s config
* Update deploy/kubernetes/dolphinscheduler/templates/deployment-dolphinscheduler-api.yaml
Co-authored-by: Jiajie Zhong <zhongjiajie955@gmail.com>
* [Fix-10652] fix { { to {{
* [Fix-10652] del space between {{ and -
Co-authored-by: Jiajie Zhong <zhongjiajie955@gmail.com>
This commit is contained in:
parent
4e282782f0
commit
c3425715a0
|
|
@ -71,6 +71,7 @@ services:
|
|||
image: ${HUB}/dolphinscheduler-api:${TAG}
|
||||
ports:
|
||||
- "12345:12345"
|
||||
- "25333:25333"
|
||||
profiles: ["all"]
|
||||
env_file: .env
|
||||
healthcheck:
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ services:
|
|||
image: apache/dolphinscheduler-api
|
||||
ports:
|
||||
- 12345:12345
|
||||
- 25333:25333
|
||||
env_file: .env
|
||||
healthcheck:
|
||||
test: [ "CMD", "curl", "http://localhost:12345/actuator/health" ]
|
||||
|
|
|
|||
|
|
@ -62,6 +62,8 @@ spec:
|
|||
ports:
|
||||
- containerPort: 12345
|
||||
name: "api-port"
|
||||
- containerPort: 25333
|
||||
name: "python-api-port"
|
||||
env:
|
||||
- name: TZ
|
||||
value: {{ .Values.timezone }}
|
||||
|
|
|
|||
|
|
@ -40,6 +40,13 @@ spec:
|
|||
{{- end }}
|
||||
protocol: TCP
|
||||
name: api-port
|
||||
- port: 25333
|
||||
targetPort: python-api-port
|
||||
{{- if and (eq .Values.api.service.type "NodePort") .Values.api.service.nodePort }}
|
||||
nodePort: {{ .Values.api.service.nodePort }}
|
||||
{{- end }}
|
||||
protocol: TCP
|
||||
name: python-api-port
|
||||
{{- if .Values.api.service.externalIPs }}
|
||||
externalIPs:
|
||||
{{- toYaml .Values.api.service.externalIPs | nindent 4 }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue