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

[Refactor] rewrite the whole operator into rust #11

Open
ZhiHanZ opened this issue Oct 8, 2021 · 0 comments
Open

[Refactor] rewrite the whole operator into rust #11

ZhiHanZ opened this issue Oct 8, 2021 · 0 comments

Comments

@ZhiHanZ
Copy link
Collaborator

ZhiHanZ commented Oct 8, 2021

Currently operator follows the traditional approach using kube-builder and client-gen for CRD and client API generation.
Here have several things may become blocker for future use cases.

  1. bendctl(command line tool for databend) needs to maintain another CRD written in Rust which may introduce compatibility issues during version upgrade
  2. openapi semantics generated from rust-based CRDs are different from openapi semantics generated from cuelang(openapi gen standardisation pre-donation kube-rs/kube#606)

pros of operator written in Rust:

  1. no compatibility issues during code-generation
  2. smaller memory and resource usage(https://www.reddit.com/r/rust/comments/pzcu62/linkerd_211_now_includes_a_kubernetes_controller/)
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

No branches or pull requests

1 participant