[Refactor] rewrite the whole operator into rust
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Refactor
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- infrastructure
Research direction
Start by reading the current Go operator and its kube-builder/client-gen setup for CRDs and client APIs, then compare the existing bendctl CRD requirements with the Rust-based approach. Done means the operator has been rewritten in Rust without the stated code-generation compatibility and OpenAPI semantic issues.
Written by the indexing model from the issue text.
Description
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.
- bendctl(command line tool for databend) needs to maintain another CRD written in Rust which may introduce compatibility issues during version upgrade
- openapi semantics generated from rust-based CRDs are different from openapi semantics generated from cuelang(https://github.com/kube-rs/kube-rs/issues/606)
pros of operator written in Rust:
- no compatibility issues during code-generation
- smaller memory and resource usage(https://www.reddit.com/r/rust/comments/pzcu62/linkerd_211_now_includes_a_kubernetes_controller/)
- Dominant language
- Go
- Stars
- 13
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from databendlabs/datafuse-operator
-
Difficulty 1/5 Under an hour Newbie friendliness 10/100
databendlabs/datafuse-operator#21 · 4 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 4/5 3-5 days Newbie friendliness 15/100
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
All issues in databendlabs/datafuse-operator
Similar issues
-
bug raised-by:verifier to:worker
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
medici-finance/assay#7835 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
golang-malawi/qatarina#496 ·
Maintainers usually reply within 2 days
-
hive size:simple
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
documentation stage:review
Difficulty 1/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Type/Bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
wso2/identity-customer-data-service#430 ·
Maintainers usually reply within 1 day