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
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -246,7 +246,7 @@ _Appears in:_
246
246
|`entrypoint`_string_| Entrypoint represents the command to start execution. |||
247
247
|`runtimeEnvYAML`_string_| RuntimeEnvYAML represents the runtime environment configuration<br />provided as a multi-line YAML string. |||
248
248
|`jobId`_string_| If jobId is not set, a new jobId will be auto-generated. |||
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 ||
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.<br />In "SidecarMode", the KubeRay operator injects a container into the Ray head Pod that acts as the job submitter to submit the Ray job.| K8sJobMode ||
250
250
|`entrypointResources`_string_| EntrypointResources specifies the custom resources and quantities to reserve for the<br />entrypoint command. |||
251
251
|`entrypointNumCpus`_float_| EntrypointNumCpus specifies the number of cpus to reserve for the entrypoint command. |||
252
252
|`entrypointNumGpus`_float_| EntrypointNumGpus specifies the number of gpus to reserve for the entrypoint command. |||
Copy file name to clipboardExpand all lines: ray-operator/apis/ray/v1/rayjob_types.go
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -82,6 +82,7 @@ const (
82
82
K8sJobModeJobSubmissionMode="K8sJobMode"// Submit job via Kubernetes Job
83
83
HTTPModeJobSubmissionMode="HTTPMode"// Submit job via HTTP request
84
84
InteractiveModeJobSubmissionMode="InteractiveMode"// Don't submit job in KubeRay. Instead, wait for user to submit job and provide the job submission ID.
85
+
SidecarModeJobSubmissionMode="SidecarMode"// Submit job via a sidecar container in the Ray head Pod
85
86
)
86
87
87
88
typeDeletionPolicyTypestring
@@ -174,6 +175,7 @@ type RayJobSpec struct {
174
175
// In "K8sJobMode", the KubeRay operator creates a submitter Kubernetes Job to submit the Ray job.
175
176
// In "HTTPMode", the KubeRay operator sends a request to the RayCluster to create a Ray job.
176
177
// In "InteractiveMode", the KubeRay operator waits for a user to submit a job to the Ray cluster.
178
+
// In "SidecarMode", the KubeRay operator injects a container into the Ray head Pod that acts as the job submitter to submit the Ray job.
0 commit comments