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
|`enableInTreeAutoscaling`_boolean_| EnableInTreeAutoscaling indicates whether operator should create in tree autoscaling configs |||
152
152
|`gcsFaultToleranceOptions`_[GcsFaultToleranceOptions](#gcsfaulttoleranceoptions)_| GcsFaultToleranceOptions for enabling GCS FT |||
153
-
|`headGroupSpec`_[HeadGroupSpec](#headgroupspec)_|INSERT ADDITIONAL SPEC FIELDS - desired state of cluster<br />Important: Run "make" to regenerate code after modifying this file<br />HeadGroupSpecs are the spec for the head pod |||
153
+
|`headGroupSpec`_[HeadGroupSpec](#headgroupspec)_|HeadGroupSpec is the spec for the head pod |||
154
154
|`rayVersion`_string_| RayVersion is used to determine the command for the Kubernetes Job managed by RayJob |||
155
155
|`workerGroupSpecs`_[WorkerGroupSpec](#workergroupspec) array_| WorkerGroupSpecs are the specs for the worker pods |||
156
156
@@ -195,7 +195,7 @@ _Appears in:_
195
195
|`submitterConfig`_[SubmitterConfig](#submitterconfig)_| Configurations of submitter k8s job. |||
196
196
|`managedBy`_string_| ManagedBy is an optional configuration for the controller or entity that manages a RayJob.<br />The value must be either 'ray.io/kuberay-operator' or 'kueue.x-k8s.io/multikueue'.<br />The kuberay-operator reconciles a RayJob which doesn't have this field at all or<br />the field value is the reserved string 'ray.io/kuberay-operator',<br />but delegates reconciling the RayJob with 'kueue.x-k8s.io/multikueue' to the Kueue.<br />The field is immutable. |||
197
197
|`deletionPolicy`_[DeletionPolicy](#deletionpolicy)_| DeletionPolicy indicates what resources of the RayJob are deleted upon job completion.<br />Valid values are 'DeleteCluster', 'DeleteWorkers', 'DeleteSelf' or 'DeleteNone'.<br />If unset, deletion policy is based on 'spec.shutdownAfterJobFinishes'.<br />This field requires the RayJobDeletionPolicy feature gate to be enabled. |||
198
-
|`entrypoint`_string_|INSERT ADDITIONAL SPEC FIELDS - desired state of cluster<br />Important: Run "make" to regenerate code after modifying this file|||
198
+
|`entrypoint`_string_|Entrypoint represents the command to start execution.|||
199
199
|`runtimeEnvYAML`_string_| RuntimeEnvYAML represents the runtime environment configuration<br />provided as a multi-line YAML string. |||
200
200
|`jobId`_string_| If jobId is not set, a new jobId will be auto-generated. |||
201
201
|`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 ||
@@ -464,7 +464,7 @@ _Appears in:_
464
464
|`autoscalerOptions`_[AutoscalerOptions](#autoscaleroptions)_| AutoscalerOptions specifies optional configuration for the Ray autoscaler. |||
465
465
|`suspend`_boolean_| Suspend indicates whether a RayCluster should be suspended.<br />A suspended RayCluster will have head pods and worker pods deleted. |||
|`headGroupSpec`_[HeadGroupSpec](#headgroupspec)_|INSERT ADDITIONAL SPEC FIELDS - desired state of cluster<br />Important: Run "make" to regenerate code after modifying this file<br />HeadGroupSpecs are the spec for the head pod |||
467
+
|`headGroupSpec`_[HeadGroupSpec](#headgroupspec)_|HeadGroupSpec is the spec for the head pod |||
468
468
|`rayVersion`_string_| RayVersion is used to determine the command for the Kubernetes Job managed by RayJob |||
469
469
|`workerGroupSpecs`_[WorkerGroupSpec](#workergroupspec) array_| WorkerGroupSpecs are the specs for the worker pods |||
470
470
@@ -504,7 +504,7 @@ _Appears in:_
504
504
|`metadata`_object (keys:string, values:string)_| Refer to Kubernetes API documentation for fields of `metadata`. |||
505
505
|`rayClusterSpec`_[RayClusterSpec](#rayclusterspec)_| RayClusterSpec is the cluster template to run the job |||
506
506
|`clusterSelector`_object (keys:string, values:string)_| ClusterSelector is used to select running rayclusters by labels |||
507
-
|`entrypoint`_string_|INSERT ADDITIONAL SPEC FIELDS - desired state of cluster<br />Important: Run "make" to regenerate code after modifying this file|||
507
+
|`entrypoint`_string_|Entrypoint represents the command to start execution.|||
508
508
|`runtimeEnvYAML`_string_| RuntimeEnvYAML represents the runtime environment configuration<br />provided as a multi-line YAML string. |||
509
509
|`jobId`_string_| If jobId is not set, a new jobId will be auto-generated. |||
510
510
|`entrypointResources`_string_| EntrypointResources specifies the custom resources and quantities to reserve for the<br />entrypoint command. |||
Copy file name to clipboardExpand all lines: ray-operator/apis/ray/v1/rayjob_types.go
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -110,8 +110,7 @@ type RayJobSpec struct {
110
110
// This field requires the RayJobDeletionPolicy feature gate to be enabled.
111
111
// +kubebuilder:validation:XValidation:rule="self in ['DeleteCluster', 'DeleteWorkers', 'DeleteSelf', 'DeleteNone']",message="the deletionPolicy field value must be either 'DeleteCluster', 'DeleteWorkers', 'DeleteSelf', or 'DeleteNone'"
0 commit comments