wangyang0918 commented on code in PR #217:
URL: 
https://github.com/apache/flink-kubernetes-operator/pull/217#discussion_r873497824


##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/observer/deployment/AbstractDeploymentObserver.java:
##########
@@ -85,16 +86,29 @@ public void observe(FlinkDeployment flinkApp, Context 
context) {
         if (!isJmDeploymentReady(flinkApp)) {
             observeJmDeployment(flinkApp, context, observeConfig);
         }
+
         if (isJmDeploymentReady(flinkApp)) {
+            observeClusterInfo(flinkApp, observeConfig);

Review Comment:
   Since the cluster info does not change except for upgrading/rollback, we do 
not need to fetch it for every observation. The rest HTTP call is a little 
heavy :)



-- 
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

Reply via email to