Add pythonNodePort in config file (#12685)
This commit is contained in:
parent
2481e68a19
commit
43650bf721
|
|
@ -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 }}
|
||||
|
|
|
|||
|
|
@ -474,8 +474,10 @@ api:
|
|||
type: "ClusterIP"
|
||||
## clusterIP is the IP address of the service and is usually assigned randomly by the master
|
||||
clusterIP: ""
|
||||
## nodePort is the port on each node on which this service is exposed when type=NodePort
|
||||
## nodePort is the port on each node on which this api service is exposed when type=NodePort
|
||||
nodePort: ""
|
||||
## pythonNodePort is the port on each node on which this python api service is exposed when type=NodePort
|
||||
pythonNodePort: ""
|
||||
## externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service
|
||||
externalIPs: []
|
||||
## externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service, requires Type to be ExternalName
|
||||
|
|
|
|||
Loading…
Reference in New Issue