|
|
|
@ -42,8 +42,8 @@ spec:
|
|
|
|
|
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 }} |
|
|
|
|
{{- if and (eq .Values.api.service.type "NodePort") .Values.api.service.pythonNodePort }} |
|
|
|
|
nodePort: {{ .Values.api.service.pythonNodePort }} |
|
|
|
|
{{- end }} |
|
|
|
|
protocol: TCP |
|
|
|
|
name: python-api-port |
|
|
|
@ -58,4 +58,4 @@ spec:
|
|
|
|
|
loadBalancerIP: {{ .Values.api.service.loadBalancerIP }} |
|
|
|
|
{{- end }} |
|
|
|
|
selector: |
|
|
|
|
{{- include "dolphinscheduler.api.labels" . | nindent 4 }} |
|
|
|
|
{{- include "dolphinscheduler.api.labels" . | nindent 4 }} |
|
|
|
|