Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-17196 Improve the implementation of Fabric8FlinkKubeClient#getRestEndpoint
  3. FLINK-16601

Correct the way to get Endpoint address for NodePort rest Service

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              felixzheng Canbin Zheng
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: