This might be simple but I couldn’t really find in the documentation on what’s the proper way to connect to a deployed cluster. (I’ve successfully deployed two different clusters in GCP, one on GKE and the other on VMs with the provided
I see that you can use commands to trigger a one-off run script via
ray submit, and that I can
ssh into the instances and run simple
python commands there. But what is the recommended way to connect and keep a stable connection to a cluster that I can use as a
I’ve tried creating a ssh-tunnel and using
pool = Pool(ray_address="127.0.0.1:6379") but this besides not being stable it gets me a lot of connection timeouts.
What would be the best way to expose and connect to my ray cluster from outside and run processes there? What is that that I’m missing here?
Thanks in advance