Open evalaiyc98 opened 3 months ago
cc @rueian would you mind reviewing this PR? Thanks!
Thank you! I have revised the function names to be more well-defined and try not to confuse developers. If there is a need for any further improvement, please let me know.
I intend to separate functions with similar functionality into RayClusterHeadPodsAssociationOptions
and RayClusterServicesAssociationOptions
, and try not to confuse developers.
How about you think @kevin85421 ?
Why are these changes needed?
This PR aims to follow up https://github.com/ray-project/kuberay/issues/2045. The purpose of this initiative is to maintain consistency in association methods and avoid scattering MatchingLabels usage throughout the entire codebase.
In this PR, I mainly update the
raycluster_controller.go
file to reflect the change, and add twoAssociationOptions
which areRayClusterRedisPodAssociationOptions
andHeadServiceAssociationOptions
inassociation.go
.Related issue number
2045
Checks