Hello Ray team! I’d like to ask something about ‘Ray Client’
I want to connect between Ray Client and Ray Cluster using k8s Ingress.
But It doesn’t work. The next error message was occuerred.
ERROR:ray.util.client.server.proxier:Client connecting with no client_id
I tested with the next Ingress configuration.
apiVersion: networking.k8s.io/v1beta1 kind: Ingress metadata: name: xxxx namespace: xxxx annotations: kubernetes.io/ingress.class: nginx-10g nginx.ingress.kubernetes.io/backend-protocol: "GRPC" spec: rules: - host: example.com http: paths: - path: / backend: serviceName: [target ray cluster service name] servicePort: 10001 tls: - secretName: [tls secret name] hosts: - example.com
and I tested with the next python code.
from ray.util.client.worker import Worker worker = Worker("example.com:443", secure=True, metadata=[("client_id", "test_client")])
When I tested on the local machine or using
kubectl port forward, It worked well.
But it didn’t works when I tested with Ingress.