karmada
karmada copied to clipboard
[lfx-mentorship-2022-Sept-Nov] Configurable Interpreter
What would you like to be added:
Now in Resource Interpreter framework, we enabled both built-in and customized interpreter.
We'd like to enable the third interpreter, which is configurable interpreter.
In addition, for the Retain interpreter operation, we have the proposal .
Following documents would help to understand this task:
- Resource Interpreter Framework Overview
- Resource Interpreter Framework Proposal
- Configurable Retention Proposal
Why is this needed:
Iteration tasks
- [x] First API get on board (@RainbowMango, #2639)
- [x] The rest APIs for interface (@RainbowMango, #2681)
- [ ] Resource Interpreter framework cache and reorganize configurations
- [ ] Resource Interpreter framework introduce Lua runtime layer
- [ ] Resource Interpreter implements the interfaces
- [ ] Introduce a subcommand
interprettokarmadactlfor the user to verify the Lua scripts. - [ ] E2E coverage
- [ ] ValidatingAdmission tasks
- [ ] TBD
Hey @RainbowMango I am interested in this project for LFX-Mentorship, will you provide me more information to get started?
I updated a document list to the issue description.
Hey @RainbowMango, I have read the proposal,documents and the struct and believe we need to build a webhook and write a lua/cue script which contains the logic to retain the configured field by the user to sync changes so the there is no endless loop in karmada control plane. After that we need to register it here cmd/webhook/app/webhook.go .
I am interested in solving this issue , Get me on board for this one.
/assign
Friendly ping @jameszhangyukun Any progress?
Hi @chaunceyjiang @jameszhangyukun made a demo for this.
The next step I think is Resource Interpreter framework cache and reorganize configurations.
Hi @jameszhangyukun, I'll be involved with you in the development of this work, thanks~
Hi, @jameszhangyukun @RainbowMango @XiShanYongYe-Chang I am also very interested in this, can I participate in the development together?
Hi, @jameszhangyukun @RainbowMango @XiShanYongYe-Chang I am also very interested in this, can I participate in the development together?
Of course, thank you very much.
Thank you @chaunceyjiang @ikaven1024 @jameszhangyukun @XiShanYongYe-Chang for all your effort in this feature. It's a big success for all of us!
Most of the planned features have been done and will be delivered with the coming v1.4.0. For the rest of the improvement task, let's do it in the next release. /close
@RainbowMango: Closing this issue.
In response to this:
Thank you @chaunceyjiang @ikaven1024 @jameszhangyukun @XiShanYongYe-Chang for all your effort in this feature. It's a big success for all of us!
Most of the planned features have been done and will be delivered with the coming v1.4.0. For the rest of the improvement task, let's do it in the next release. /close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.