You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/api.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -248,7 +248,6 @@ _Appears in:_
248
248
|`jobId`_string_| If jobId is not set, a new jobId will be auto-generated. |||
249
249
|`submissionMode`_[JobSubmissionMode](#jobsubmissionmode)_| SubmissionMode specifies how RayJob submits the Ray job to the RayCluster.<br />In "K8sJobMode", the KubeRay operator creates a submitter Kubernetes Job to submit the Ray job.<br />In "HTTPMode", the KubeRay operator sends a request to the RayCluster to create a Ray job.<br />In "InteractiveMode", the KubeRay operator waits for a user to submit a job to the Ray cluster. | K8sJobMode ||
250
250
|`entrypointResources`_string_| EntrypointResources specifies the custom resources and quantities to reserve for the<br />entrypoint command. |||
251
-
|`schedule`_string_| Schedule specifies a cron like string for scheduling Ray jobs.<br />When shutdownAfterJobFinishes is set to true, a new cluster is provisioned<br />per scheduled job, otherwise the job is scheduled on an existing cluster. |||
252
251
|`entrypointNumCpus`_float_| EntrypointNumCpus specifies the number of cpus to reserve for the entrypoint command. |||
253
252
|`entrypointNumGpus`_float_| EntrypointNumGpus specifies the number of gpus to reserve for the entrypoint command. |||
254
253
|`ttlSecondsAfterFinished`_integer_| TTLSecondsAfterFinished is the TTL to clean up RayCluster.<br />It's only working when ShutdownAfterJobFinishes set to true. | 0 ||
logger.Error(err, "Could not get the previous and next distances for a cron schedule")
499
-
return ctrl.Result{}, err
500
-
}
501
-
// Checking if we are currently within a buffer to the previous cron schedule time
502
-
ift2<=ScheduleBuffer {
503
-
logger.Info("The current time is within the buffer window of a cron tick", "NextScheduleTimeDuration", t1, "LastScheduleTimeDuration", t2, "Previous LastScheduleTime", rayJobInstance.Status.LastScheduleTime)
logger.Info("Waiting until the next reconcile to determine schedule", "nextScheduleDuration", t1, "currentTime", time.Now(), "lastScheduleTimeDuration", t2)
0 commit comments