通过kuberay部署的Rayservice如何添加readiness和iveness

通过kuberay部署的Rayservice,head和worker如何添加readiness和iveness,保证服务的健康检查
kuberay rayservice
https://ray-project.github.io/kuberay/guidance/rayservice/

Rayservice Yaml 中包含有 rayClusterConfig,其中 template 部分可以根据需求设置 readiness/liveness probe:以如下官方示例查看

在官方提供的示例中,https://github.com/ray-project/kuberay/blob/master/ray-operator/controllers/ray/common/pod.go#L242 部分以代码形式描述了检测手段,开启的方式是通过配置 Annotation(ray.io/ft-enabled): kuberay/pod.go at master · ray-project/kuberay · GitHub

检测的方式是通过检查 raylet 的端口服务,相关代码部分:kuberay/constant.go at master · ray-project/kuberay · GitHub

感谢关注 Ray 中文社区~~~

感觉说了很多,官方示例/代码形式检测手段/配置annotation/检查raylet端口服务,但我好像还是不太明白在RayService的yaml里面应该怎么配置,是serviceUnhealthySecondThreshold/deploymentUnhealthySecondThreshold这两个值吗
谢谢