-
Notifications
You must be signed in to change notification settings - Fork 402
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] Design a restful style backend services to handle cluster operations #54
Comments
GrpcThe GRPC protocol provides an extremely efficient way of cross-service communication for distributed applications. The public toolkit includes instruments to generate client and server code-bases for many languages allowing the developer to use the most optimal language for the task. Protocol Buffers are a language-neutral, platform-neutral extensible mechanism for serializing structured data. Protoc also provides different community plugins to meet different needs. Since we may have different clients to interactive with our services, we will generate gateway RESTful APIs and OpenAPI Spec at the same time. Backend serviceThe service will implement gPRC server as following graph shows.
|
Just two comments:
|
We may need to involve DB later.
Both openapi and grpc will be generated. It's not included in PR. Let's review the proto definition in #53 and then I will check them in. |
Search before asking
Description
A follow up issue of #53.
web service is one of the convenient way to interact with user. this doesn't require user to have any domain knowledge. At the same time, RESTful API doesn't need any dependency. Curl + json payload is every thing user need.
This backend service underneath should leverage generate clients to interact with RayCluster custom resources(depend on #29). So the chain of component call would be
Use case
User who don't have kubectl knowledge or permission can use REST API to create/delete Ray Cluster on Kubernetes.
Related issues
#53
#29
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: