[ https://issues.apache.org/jira/browse/FLINK-31863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Weijie Guo updated FLINK-31863: ------------------------------- Fix Version/s: 1.17.2 (was: 1.17.1) > Add 'Hostname' enum val to k8s NodeAddress type. > ------------------------------------------------ > > Key: FLINK-31863 > URL: https://issues.apache.org/jira/browse/FLINK-31863 > Project: Flink > Issue Type: Improvement > Components: Deployment / Kubernetes > Affects Versions: 1.17.0 > Environment: OS: CentOS 7 > Kubernetes: v1.18.5 > Reporter: Vince.Feng > Priority: Major > Labels: easyfix, kubernetes, pull-request-available > Fix For: 1.17.2 > > Attachments: image-2023-04-20-17-53-30-969.png > > Original Estimate: 1h > Remaining Estimate: 1h > > Class io.fabric8.kubernetes.api.model.NodeAddress.type contains > 'InternalIP','ExternalIP' and 'Hostname'. The InternalIP address is > unavailable in the private cloud environment. But the hostname can be > resolved by the DNS server. So > 'org.apache.flink.kubernetes.configuration.NodePortAddressType.NodePortAddressType' > should add 'Hostname' enumeration value. > {code:java} > //org.apache.flink.kubernetes.configuration.NodePortAddressType.NodePortAddressType > public enum NodePortAddressType { > InternalIP, > ExternalIP, > Hostname > } {code} > > !image-2023-04-20-17-53-30-969.png! -- This message was sent by Atlassian Jira (v8.20.10#820010)