I'm setting up Ray on a kubernetes cluster.
I have started some workers and a head inside some pods.
Is there a way I can list the workers attached to the head, without writing a cluster config file?
I'm setting up Ray on a kubernetes cluster.
I have started some workers and a head inside some pods.
Is there a way I can list the workers attached to the head, without writing a cluster config file?
open python interpreter
import ray
import pprint
ray.init(redis_address="<cluster head>:<port>")
gsct = ray.global_state.client_table()
pprint.pprint(gsct)