TCGOGOGO opened a new issue, #17255:
URL: https://github.com/apache/dolphinscheduler/issues/17255

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar feature requirement.
   
   
   ### Description
   
   Their is a configuration item in MasterConfig called masterAddress, which 
value should be ip:port (shown in the comment). I think the host used for 
heartbeat should firstly extracted from masterAddress if it is not empty, 
otherwise use "NetUtils.getHost()" as alternative.
   
   In my scenario, I put master servers into k8s cluster and use nodeport to 
export master server port, while NetUtils.getHost() turns out the pod name of 
the corresponding master server pod rather than the masterAddress I configured, 
the pod name, accutually is not accessed out of the cluster
   
   ### Are you willing to submit a PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to