wangyang0918 commented on a change in pull request #18119:
URL: https://github.com/apache/flink/pull/18119#discussion_r776690581
##########
File path:
flink-kubernetes/src/main/java/org/apache/flink/kubernetes/kubeclient/FlinkKubeClient.java
##########
@@ -201,6 +203,20 @@ KubernetesLeaderElector createLeaderElector(
*/
KubernetesPod loadPodFromTemplateFile(File podTemplateFile);
+ /**
+ * Update service to real targetPort value.
+ *
+ * @param serviceType The ServiceType serviceType that needs to be modified
+ * @param portName The port name which to modified
+ * @param targetPort Real targetPort value
+ * @return
+ */
+ CompletableFuture<Void> updateServicePort(
Review comment:
Maybe the name `updateServiceTargetPort` is more descriptive
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]