zhuzhurk commented on a change in pull request #10898: 
[FLINK-15632][kubernetes] Make zookeeper HA service could work for active 
kubernetes integration
URL: https://github.com/apache/flink/pull/10898#discussion_r368534005
 
 

 ##########
 File path: 
flink-kubernetes/src/main/java/org/apache/flink/kubernetes/KubernetesClusterDescriptor.java
 ##########
 @@ -91,7 +104,11 @@ public String getClusterDescription() {
                        }
 
                        try {
-                               return new RestClusterClient<>(configuration, 
clusterId);
+                               return new RestClusterClient<>(
+                                       configuration,
+                                       clusterId,
+                                       new 
StandaloneClientHAServices(HighAvailabilityServicesUtils.getWebMonitorAddress(
 
 Review comment:
   It would be better to leave a comment here for why we use 
StandaloneClientHAServices for k8s client.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to