ray-project / kuberay

A toolkit to run Ray applications on Kubernetes
Apache License 2.0
1.26k stars 409 forks source link

[Feature] Support managedBy for integration with MultiKueue #2544

Open mimowo opened 3 hours ago

mimowo commented 3 hours ago

Search before asking

Description

The support for the managedBy field which can delegate reconciliation from built-in controller, to a custom one.

The semantics of the field are:

whenever the value is set, and it does not point to the built-in operator, then skip reconciliation

For mpi-operator and training-operator we add validation to only support: null, reserved value (like kubeflow.org/mpi-operator), and kueue.x-k8s.io/multikueue.

Use case

Integration with MultiKueue (multi-cluster Kueue):

The integration was asked on the wg-batch Slack: https://kubernetes.slack.com/archives/C032ZE66A2X/p1731582793720509

Related issues

The managedBy field is already adopted by:

Are you willing to submit a PR?

mimowo commented 3 hours ago

cc @andrewsykim