You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aitozi (Jira)" <ji...@apache.org> on 2022/02/14 14:47:00 UTC

[jira] [Commented] (FLINK-16601) Correct the way to get Endpoint address for NodePort rest Service

    [ https://issues.apache.org/jira/browse/FLINK-16601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17492038#comment-17492038 ] 

Aitozi commented on FLINK-16601:
--------------------------------

Hi [~felixzheng], I think this issue have already been solved by [FLINK-23507|https://issues.apache.org/jira/browse/FLINK-23507]. This one should be closed. cc [~wangyang0918]

> Correct the way to get Endpoint address for NodePort rest Service
> -----------------------------------------------------------------
>
>                 Key: FLINK-16601
>                 URL: https://issues.apache.org/jira/browse/FLINK-16601
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Deployment / Kubernetes
>    Affects Versions: 1.10.0
>            Reporter: Canbin Zheng
>            Priority: Major
>              Labels: auto-unassigned
>
> Currently, if one sets the type of the rest-service to {{NodePort}}, then the way to get the Endpoint address is by calling the method of {{KubernetesClient.getMasterUrl().getHost()}}. This solution works fine for the case of the non-managed Kubernetes cluster but not for the managed ones.
> For the managed Kubernetes cluster setups, the Kubernetes masters are deployed in a pool different from the Kubernetes nodes and the master node does not expose a NodePort for the NodePort Service.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)