Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/reference/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,8 @@ _Appears in:_
| `activeDeadlineSeconds` _integer_ | ActiveDeadlineSeconds is the duration in seconds that the RayJob may be active before<br />KubeRay actively tries to terminate the RayJob; value must be positive integer. | | |
| `backoffLimit` _integer_ | Specifies the number of retries before marking this job failed.<br />Each retry creates a new RayCluster. | 0 | |
| `rayClusterSpec` _[RayClusterSpec](#rayclusterspec)_ | RayClusterSpec is the cluster template to run the job | | |
| `submitterPodTemplate` _[PodTemplateSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#podtemplatespec-v1-core)_ | SubmitterPodTemplate is the template for the pod that will run `ray job submit`. | | |
| `submitterPodTemplate` _[PodTemplateSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#podtemplatespec-v1-core)_ | SubmitterPodTemplate is the template for the pod that will run `ray job submit`.<br />This is used when SubmissionMode is `K8sJobMode`. | | |
| `submitterContainerTemplate` _[Container](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#container-v1-core)_ | SubmitterContainerTemplate is the template for the sidecar submitter container<br />injected into the Ray head Pod to run `ray job submit`<br />This is used when SubmissionMode is `SidecarMode`. | | |
| `metadata` _object (keys:string, values:string)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | |
| `clusterSelector` _object (keys:string, values:string)_ | clusterSelector is used to select running rayclusters by labels | | |
| `submitterConfig` _[SubmitterConfig](#submitterconfig)_ | Configurations of submitter k8s job. | | |
Expand Down
720 changes: 720 additions & 0 deletions helm-chart/kuberay-operator/crds/ray.io_raycronjobs.yaml

Large diffs are not rendered by default.

720 changes: 720 additions & 0 deletions helm-chart/kuberay-operator/crds/ray.io_rayjobs.yaml

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions ray-operator/apis/ray/v1/rayjob_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,14 @@ type RayJobSpec struct {
// RayClusterSpec is the cluster template to run the job
RayClusterSpec *RayClusterSpec `json:"rayClusterSpec,omitempty"`
// SubmitterPodTemplate is the template for the pod that will run `ray job submit`.
// This is used when SubmissionMode is `K8sJobMode`.
// +optional
SubmitterPodTemplate *corev1.PodTemplateSpec `json:"submitterPodTemplate,omitempty"`
// SubmitterContainerTemplate is the template for the sidecar submitter container
// injected into the Ray head Pod to run `ray job submit`
// This is used when SubmissionMode is `SidecarMode`.
// +optional
SubmitterContainerTemplate *corev1.Container `json:"submitterContainerTemplate,omitempty"`
// Metadata is data to store along with this job.
// +optional
Metadata map[string]string `json:"metadata,omitempty"`
Expand Down
5 changes: 5 additions & 0 deletions ray-operator/apis/ray/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

720 changes: 720 additions & 0 deletions ray-operator/config/crd/bases/ray.io_raycronjobs.yaml

Large diffs are not rendered by default.

Loading
Loading