TQJADE commented on code in PR #909:
URL: 
https://github.com/apache/spark-kubernetes-operator/pull/909#discussion_r4139171569


##########
spark-operator/src/main/java/org/apache/spark/k8s/operator/reconciler/reconcilesteps/SuspendUtils.java:
##########
@@ -88,4 +91,37 @@ static ReconcileProgress holdForSuspend(final BaseContext<?> 
context, final Stri
     return completeAndRequeueAfter(
         Duration.ofSeconds(SUSPEND_HOLD_REQUEUE_INTERVAL_SECONDS.getValue()));
   }
+
+  /**
+   * Reports a failed check of whether the resources of a suspended resource 
were requested, and
+   * returns the progress to retry it with. Whether they are live is unknown 
then, so the resource
+   * is neither held, which would claim in an event that none was requested 
and release the Kueue
+   * quota of a running driver or master, nor started. Like a failed Kueue 
admission request, a
+   * transport level failure is not published, since writing an event would 
only add load to an API
+   * server that is often the cause of it. Anything else is, since a suspended 
resource may have no
+   * persisted status to show it and would otherwise be retried without any 
signal.

Review Comment:
   ack



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to