[jira] [Created] (FLINK-15632) Zookeeper HA service could not work for active kubernetes integration

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-15632) Zookeeper HA service could not work for active kubernetes integration

Shang Yuanchun (Jira)
Yang Wang created FLINK-15632:
---------------------------------

             Summary: Zookeeper HA service could not work for active kubernetes integration
                 Key: FLINK-15632
                 URL: https://issues.apache.org/jira/browse/FLINK-15632
             Project: Flink
          Issue Type: Bug
          Components: Deployment / Kubernetes
            Reporter: Yang Wang


It will be some different, if we want to support HA for active Kubernetes integration.
 # The K8s service is designed for accessing the jobmanager out of K8s cluster. So Flink client will not use HA service to retrieve address of jobmanager. Instead, it always use Kubernetes service to contact with jobmanager via rest client. 
 # The Kubernetes DNS creates A and SRV records only for Services. It doesn't generate pods' A records. So the ip address, not hostname, will be used as jobmanager address.

 

All other behaviors will be same as Zookeeper HA for standalone and Yarn.

To fix this problem, we just need some minor changes to {{KubernetesClusterDescriptor}} and {{KubernetesSessionEntrypoint}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)