wangyang0918 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_r368784996
########## File path: flink-kubernetes/src/main/java/org/apache/flink/kubernetes/KubernetesClusterDescriptor.java ########## @@ -168,6 +185,13 @@ public String getClusterDescription() { final String nameSpace = flinkConfig.getString(KubernetesConfigOptions.NAMESPACE); flinkConfig.setString(JobManagerOptions.ADDRESS, clusterId + "." + nameSpace); + if (HighAvailabilityMode.isHighAvailabilityModeActivated(flinkConfig)) { + flinkConfig.setString(HighAvailabilityOptions.HA_CLUSTER_ID, clusterId); Review comment: It is necessary when high-availability enabled. So do you mean to separate it to another commit? ---------------------------------------------------------------- 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