gyfora commented on code in PR #513:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/513#discussion_r1090570504
##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/reconciler/deployment/ApplicationReconciler.java:
##########
@@ -145,6 +147,15 @@ public void deploy(
var relatedResource = ctx.getResource();
var status = relatedResource.getStatus();
var flinkService = ctx.getFlinkService();
+
+ if (spec.getJob().getState().equals(JobState.SUSPENDED)
+ || status.getReconciliationStatus()
+ .getState()
+ .equals(ReconciliationState.UPGRADING)) {
Review Comment:
Do we need any of these checks? If we are deploying a job then the previous
health info should probably be cleared always
--
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]