Skip to content
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

Implement resource manager and gRPC services #127

Merged
merged 1 commit into from
Jan 21, 2022

Conversation

Jeffwan
Copy link
Collaborator

@Jeffwan Jeffwan commented Jan 18, 2022

Why are these changes needed?

Implement the gPRC service and provide the interface for cluster CRUD operations.

Related issue number

#87

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • [] Unit tests
    • Manual tests
    • This PR is not tested :(

@Jeffwan
Copy link
Collaborator Author

Jeffwan commented Jan 19, 2022

/cc @chenk008 I did some refactor for grpc service based on upstream proto definitions. There're some limitations and I will explain the details so Ant Group folks can help enhance them later.

@Jeffwan Jeffwan force-pushed the apiserver_part_2 branch 2 times, most recently from 09095bc to cfb0562 Compare January 20, 2022 01:39
return getComputeTemplateByName(ctx, client, name)
}

func (r *ResourceManager) ListComputeTemplates(ctx context.Context) ([]*v1.ConfigMap, error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is computeTemplate saved in configmap?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. That's true. We can change to db or annotations if needed later.

@chenk008
Copy link
Contributor

LGTM, thanks!

@Jeffwan Jeffwan merged commit 92477be into ray-project:master Jan 21, 2022
lowang-bh pushed a commit to lowang-bh/kuberay that referenced this pull request Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants