ray-project / kuberay

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

[Refactor][RayCluster] Make ray.io/group=headgroup be constant #1970

Closed rueian closed 7 months ago

rueian commented 7 months ago

Why are these changes needed?

The labels ray.io/group=headgroup are scattered around the kuberay source.

This PR makes the headgroup constant in the utils/constant.go which lowers the possibility of using a wrong value in the future.

Related issue number

Checks