mirror of
https://github.com/hanzo-ml/kuberay.git
synced 2026-10-30 19:48:47 +00:00
* feat: init RayCronJob controller and add CRs * feat: update status * feat: add validate * feat: add update status function * refactor: udpate LastScheduleTime type * feat: implement logic for diff ScheduleStatus * build: regen CRD * feat: correctly create reconciler and add loggings * feat: check if it's time for schedule new rayjob * feat: add raycronjob example yaml * fix: remove StatusScheduled * build: make sync * refactor: move validate to validation.go * test: add validation and raycronjob unit test * feat: add feature gate * test: update test * fix: update helm chart rules * fix: add OwnerReference from cronjob to rayjob * fix: field order for RayCronJob struct Signed-off-by: machichima <[email protected]> * fix: remove schedule status Signed-off-by: machichima <[email protected]> * build: make generate Signed-off-by: machichima <[email protected]> * fix: update example yaml to use ray 2.52.0 image Signed-off-by: machichima <[email protected]> * fix: no need to update status for validate fail Signed-off-by: machichima <[email protected]> * test: use rayCronJobTemplate func to create rayCronJob in test Signed-off-by: machichima <[email protected]> * build: add kubebuilder rbac config Signed-off-by: machichima <[email protected]> * feat: extract ray cron job name to constant Signed-off-by: machichima <[email protected]> * fix: update SetupWithManager Signed-off-by: machichima <[email protected]> * fix: JobTemplate to normal object Signed-off-by: machichima <[email protected]> * feat: add cron job origin expected timestamp annotation Signed-off-by: machichima <[email protected]> * fix: set LastScheduleTime only when job is created Signed-off-by: machichima <[email protected]> * docs: update comment in example Signed-off-by: machichima <[email protected]> --------- Signed-off-by: machichima <[email protected]>
11 lines
388 B
YAML
11 lines
388 B
YAML
# This kustomization.yaml is not intended to be run by itself,
|
|
# since it depends on service name and namespace that are out of this kustomize package.
|
|
# It should be run by config/default
|
|
resources:
|
|
- bases/ray.io_rayclusters.yaml
|
|
- bases/ray.io_rayservices.yaml
|
|
- bases/ray.io_rayjobs.yaml
|
|
- bases/ray.io_raycronjobs.yaml
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|