-
Notifications
You must be signed in to change notification settings - Fork 369
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
[Feature] Set default appProtocol for Ray head service to tcp #668
[Feature] Set default appProtocol for Ray head service to tcp #668
Conversation
cc @sigmundv |
Let's add some notes on the compatibility. This won't be available in earlier kubernetes versions |
Thank @Jeffwan for the review! Do you mean updating "Suggested Kubernetes Version" from |
@Jeffwan given that this feature was introduced in K8s 1.18, which is before our currently stated lower bound of 1.19, do we need to add additional compatibility info? |
We can follow up on compatibility requirements later. |
…oject#668) ray-project#625 indicates that the appProtocol field is required to integrate with Open Service Mesh. We discussed how to expose head service for users in the community sync Oct. 25. We did not reach a conclusion in that meeting. Setting the default appProtocol to tcp will not change any existing behaviors because the default value of Protocol is "TCP" (Link). This PR enables users to integrate KubeRay with Open Service Mesh.
Why are these changes needed?
#625 indicates that the
appProtocol
field is required to integrate with Open Service Mesh. We discussed how to expose head service for users in the community sync Oct. 25. We did not reach a conclusion in that meeting. Setting the defaultappProtocol
totcp
will not change any existing behaviors because the default value ofProtocol
is "TCP" (Link). This PR enables users to integrate KubeRay with Open Service Mesh.Some documents related to
appProtocol
Protocol
specifies the protocol for all ports, but ports in the same service may have different protocols. Hence,AppProtocol
is proposed to specify the protocol for each service port.Why do I use "tcp" rather than "TCP"?
Related issue number
#625
Checks
For manually test, we need to use
kubectl edit $HEAD_SVC
. Thekubectl describe
command will not show the information ofappProtocol
. The following screenshot shows the values ofappProtocol
.