Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
384c0e1
feat: init RayCronJob controller and add CRs
machichima Oct 30, 2025
027ccaf
feat: update status
machichima Nov 1, 2025
e99572d
feat: add validate
machichima Nov 1, 2025
3b4a2cb
feat: add update status function
machichima Nov 1, 2025
42e6ec2
refactor: udpate LastScheduleTime type
machichima Nov 1, 2025
f3c5faa
feat: implement logic for diff ScheduleStatus
machichima Nov 1, 2025
e7c36c1
build: regen CRD
machichima Nov 4, 2025
93916ec
feat: correctly create reconciler and add loggings
machichima Nov 4, 2025
c2fe872
feat: check if it's time for schedule new rayjob
machichima Nov 5, 2025
9cc5ecc
feat: add raycronjob example yaml
machichima Nov 5, 2025
11d3cd5
Merge branch 'master' of github.com:ray-project/kuberay into cron-job…
machichima Nov 24, 2025
b104f61
fix: remove StatusScheduled
machichima Nov 24, 2025
eade1ee
build: make sync
machichima Nov 24, 2025
8568e66
refactor: move validate to validation.go
machichima Nov 24, 2025
ff272e0
test: add validation and raycronjob unit test
machichima Nov 24, 2025
aa91293
feat: add feature gate
machichima Nov 24, 2025
4c053d0
test: update test
machichima Nov 24, 2025
3f04c07
fix: update helm chart rules
machichima Nov 24, 2025
584abd3
fix: add OwnerReference from cronjob to rayjob
machichima Nov 25, 2025
c8c93ac
fix: field order for RayCronJob struct
machichima Nov 28, 2025
970c3ab
fix: remove schedule status
machichima Nov 28, 2025
a38d13a
build: make generate
machichima Nov 29, 2025
6e3c37a
fix: update example yaml to use ray 2.52.0 image
machichima Nov 29, 2025
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
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ repos:
args: [--allow-multiple-documents]
exclude: ^helm-chart/|^mkdocs\.yml$|^benchmark/perf-tests/|^\.krew\.yaml$
- id: check-added-large-files
exclude: ^ray-operator/config/crd/bases/
- id: check-merge-conflict
- id: check-case-conflict
- id: check-vcs-permalinks
Expand Down
37 changes: 37 additions & 0 deletions docs/reference/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Package v1 contains API Schema definitions for the ray v1 API group

### Resource Types
- [RayCluster](#raycluster)
- [RayCronJob](#raycronjob)
- [RayJob](#rayjob)
- [RayService](#rayservice)

Expand Down Expand Up @@ -309,6 +310,41 @@ _Appears in:_
| `workerGroupSpecs` _[WorkerGroupSpec](#workergroupspec) array_ | WorkerGroupSpecs are the specs for the worker pods | | |


#### RayCronJob









| Field | Description | Default | Validation |
| --- | --- | --- | --- |
| `apiVersion` _string_ | `ray.io/v1` | | |
| `kind` _string_ | `RayCronJob` | | |
| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | |
| `spec` _[RayCronJobSpec](#raycronjobspec)_ | | | |


#### RayCronJobSpec



RayCronJobSpec defines the desired state of RayCronJob



_Appears in:_
- [RayCronJob](#raycronjob)

| Field | Description | Default | Validation |
| --- | --- | --- | --- |
| `jobTemplate` _[RayJobSpec](#rayjobspec)_ | JobTemplate defines the job spec that will be created by cron scheduling | | |
| `schedule` _string_ | Schedule is the cron schedule string | | |


#### RayJob


Expand Down Expand Up @@ -336,6 +372,7 @@ RayJobSpec defines the desired state of RayJob


_Appears in:_
- [RayCronJobSpec](#raycronjobspec)
- [RayJob](#rayjob)

| Field | Description | Default | Validation |
Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ require (
github.com/prometheus/client_model v0.6.2 // indirect
github.com/prometheus/common v0.65.0 // indirect
github.com/prometheus/procfs v0.17.0 // indirect
github.com/robfig/cron/v3 v3.0.1 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/x448/float16 v0.8.4 // indirect
github.com/xlab/treeprint v1.2.0 // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum

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

Loading
Loading