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

Scaffolding out Bytedance's ray operator project #7

Merged
merged 4 commits into from
Aug 4, 2021

Conversation

Jeffwan
Copy link
Collaborator

@Jeffwan Jeffwan commented Aug 4, 2021

This pr has an the initial commit for Bytedance's ray operator. We plan to do some technical exploration work to extract autoscaler from ray/core as a separate components to achieve multi-version management for our production use case.

  1. Scaffolding out ray operator project
  2. Add RayCluster group version
  3. Add License owner to boilerplate
  4. Make code structure project friendly

This project is built with Kubebuilder 3.0

`kubebuilder init --domain “” --project-name ray-operator`

Signed-off-by: Jiaxin Shan <[email protected]>
This is default output from kubebuilder without customization.

`kubebuilder create api --group ray.io --version v1alpha1 --kind RayCluster`

Signed-off-by: Jiaxin Shan <[email protected]>
1. Move api/ controller/ to pkg/ and main.go to cmd/
2. Update Makefile to adapt to the changes
3. Update Dockerfile to make build work

Signed-off-by: Jiaxin Shan <[email protected]>
@Jeffwan Jeffwan merged commit 98626d3 into ray-project:master Aug 4, 2021
@Jeffwan Jeffwan deleted the init_commit branch August 4, 2021 03:15
lowang-bh pushed a commit to lowang-bh/kuberay that referenced this pull request Sep 24, 2023
* Scaffolding out ray operator project

`kubebuilder init --domain "" --project-name ray-operator`

Signed-off-by: Jiaxin Shan <[email protected]>

* Adding RayCluster group version

This is default output from kubebuilder without customization.

`kubebuilder create api --group ray.io --version v1alpha1 --kind RayCluster`

Signed-off-by: Jiaxin Shan <[email protected]>

* Add License owner to boilerplate

Signed-off-by: Jiaxin Shan <[email protected]>

* Make code structure project friendly

1. Move api/ controller/ to pkg/ and main.go to cmd/
2. Update Makefile to adapt to the changes
3. Update Dockerfile to make build work

Signed-off-by: Jiaxin Shan <[email protected]>
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.

1 participant