-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connect Ray client with TLS using Nginx Ingress on Kind cluster (#729) #1051
Connect Ray client with TLS using Nginx Ingress on Kind cluster (#729) #1051
Conversation
Hi @kevin85421 Let me know if the instruction work for you. |
I did not manually try these instructions, but the structure looks good to me. Some suggestions:
|
2712459
to
514a1ce
Compare
@kevin85421 Please take a look. |
cc @jasoonn can you take a look at this PR? |
LGTM. I have tried the instructions on Debian GNU/Linux 11 with kind version 0.17.0. A small suggestion is to remove the specific versions of the environments in the doc's requirements. |
75bc803
to
2e0a3e0
Compare
@jasoonn I removed the versions from the requirement. Let me know if this is what you looking for. |
|
||
The output should be similar to: | ||
``` | ||
2023-04-25 16:33:32,452 INFO client_builder.py:253 -- Passing the following kwargs to ray.init() on the server: logging_level |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I cannot reproduce this.
# test.py
import os
import ray
os.environ["RAY_USE_TLS"] = "1"
os.environ["RAY_TLS_SERVER_CERT"] = os.path.join("./", "tls.crt")
os.environ["RAY_TLS_SERVER_KEY"] = os.path.join("./", "tls.key")
os.environ["RAY_TLS_CA_CERT"] = os.path.join("./", "ca.crt")
ray.init(address="ray://localhost", logging_level="DEBUG")
print(ray.cluster_resources())
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By the way, could you check the format of this doc on GitHub pages? You can follow this instruction to deploy the doc webpage locally: https://github.com/ray-project/kuberay/blob/master/docs/development/development.md#deploying-documentation-locally |
2e0a3e0
to
eaf060a
Compare
Some URLs return
|
cc @Yicheng-Lu-llll could you review this PR? If you can reproduce this PR, I will merge it. |
LGTM! I was able to follow the documentation and reproduce everything as expected. One small detail, though not directly related to the document, is that I observed the Python version for
After aligning the Python versions, everything functioned perfectly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I have not been able to successfully reproduce this PR, but two other reviewers have been able to reproduce it successfully. It is possible that the issue is related to my local environment.
…project#1051) Connect Ray client with TLS using Nginx Ingress on Kind cluster
Why are these changes needed?
Instructions to connect Ray client in a Kind cluster via Nginx Ingress controller
Related issue number
Closes #729
Checks
Tested with:
Ubuntu 22.04.1 LTS
kind v0.18.0 go1.20.2 linux/amd64
Setup:
Verify output similar to: