wangyang0918 commented on a change in pull request #18119: URL: https://github.com/apache/flink/pull/18119#discussion_r786396085
########## File path: flink-kubernetes/src/main/java/org/apache/flink/kubernetes/KubernetesClusterDescriptor.java ########## @@ -240,20 +238,11 @@ private String getWebMonitorAddress(Configuration configuration) throws Exceptio flinkConfig.setString(KubernetesConfigOptionsInternal.ENTRY_POINT_CLASS, entryPoint); - // Rpc, blob, rest, taskManagerRpc ports need to be exposed, so update them to fixed values. - KubernetesUtils.checkAndUpdatePortConfigOption( - flinkConfig, BlobServerOptions.PORT, Constants.BLOB_SERVER_PORT); - KubernetesUtils.checkAndUpdatePortConfigOption( - flinkConfig, TaskManagerOptions.RPC_PORT, Constants.TASK_MANAGER_RPC_PORT); - KubernetesUtils.checkAndUpdatePortConfigOption( - flinkConfig, RestOptions.BIND_PORT, Constants.REST_PORT); + KubernetesUtils.updatePorts(flinkConfig); Review comment: Hmm. Could you please get this resolved carefully? I believe this PR is almost ready for merge. -- 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. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org