From 326ff65717d873af8ae395f738513258496ba0a3 Mon Sep 17 00:00:00 2001 From: Rueian Date: Fri, 28 Feb 2025 14:04:39 -0800 Subject: [PATCH] [feat][RayCluster] shorten HeadlessServiceSuffix to have more space for CR names (#3101) Signed-off-by: Rueian --- ray-operator/controllers/ray/utils/constant.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ray-operator/controllers/ray/utils/constant.go b/ray-operator/controllers/ray/utils/constant.go index d0d8bc22ab8..58a7e43a620 100644 --- a/ray-operator/controllers/ray/utils/constant.go +++ b/ray-operator/controllers/ray/utils/constant.go @@ -86,8 +86,8 @@ const ( ComponentName = "kuberay-operator" // The default suffix for Headless Service for multi-host worker groups. - // The full name will be of the form "${RayCluster_Name}-headless-worker-svc". - HeadlessServiceSuffix = "headless-worker-svc" + // The full name will be of the form "${RayCluster_Name}-headless". + HeadlessServiceSuffix = "headless" // Use as container env variable RAY_CLUSTER_NAME = "RAY_CLUSTER_NAME"