Browse Source

[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>
3.0.0/version-upgrade
Lyle Shaw 2 years ago committed by caishunfeng
parent
commit
c3425715a0
  1. 1
      deploy/docker/docker-compose.yml
  2. 1
      deploy/docker/docker-stack.yml
  3. 2
      deploy/kubernetes/dolphinscheduler/templates/deployment-dolphinscheduler-api.yaml
  4. 7
      deploy/kubernetes/dolphinscheduler/templates/svc-dolphinscheduler-api.yaml

1
deploy/docker/docker-compose.yml

@ -71,6 +71,7 @@ services:
image: ${HUB}/dolphinscheduler-api:${TAG}
ports:
- "12345:12345"
- "25333:25333"
profiles: ["all"]
env_file: .env
healthcheck:

1
deploy/docker/docker-stack.yml

@ -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" ]

2
deploy/kubernetes/dolphinscheduler/templates/deployment-dolphinscheduler-api.yaml

@ -62,6 +62,8 @@ spec:
ports:
- containerPort: 12345
name: "api-port"
- containerPort: 25333
name: "python-api-port"
env:
- name: TZ
value: {{ .Values.timezone }}

7
deploy/kubernetes/dolphinscheduler/templates/svc-dolphinscheduler-api.yaml

@ -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…
Cancel
Save