-
Notifications
You must be signed in to change notification settings - Fork 919
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
Resource Interpreter Framework cache and reorganize configurations #2719
Conversation
Hi @jameszhangyukun, please fix the lint error. |
/assign |
ee9fc23
to
ed8c623
Compare
pkg/resourceinterpreter/configurableinterpreter/configmanager/manager.go
Outdated
Show resolved
Hide resolved
pkg/resourceinterpreter/configurableinterpreter/configmanager/manager.go
Outdated
Show resolved
Hide resolved
pkg/resourceinterpreter/configurableinterpreter/configmanager/accessor.go
Outdated
Show resolved
Hide resolved
564fb4b
to
0198456
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job!
/cc @RainbowMango @chaunceyjiang Can you help take a look?
pkg/resourceinterpreter/configurableinterpreter/configurable.go
Outdated
Show resolved
Hide resolved
pkg/resourceinterpreter/configurableinterpreter/configurable.go
Outdated
Show resolved
Hide resolved
pkg/resourceinterpreter/configurableinterpreter/configurable.go
Outdated
Show resolved
Hide resolved
pkg/resourceinterpreter/configurableinterpreter/configmanager/accessor.go
Outdated
Show resolved
Hide resolved
pkg/resourceinterpreter/configurableinterpreter/configmanager/accessor.go
Show resolved
Hide resolved
pkg/resourceinterpreter/configurableinterpreter/configmanager/accessor.go
Outdated
Show resolved
Hide resolved
pkg/resourceinterpreter/configurableinterpreter/configmanager/manager.go
Show resolved
Hide resolved
pkg/resourceinterpreter/configurableinterpreter/configmanager/manager.go
Outdated
Show resolved
Hide resolved
pkg/resourceinterpreter/configurableinterpreter/configmanager/manager.go
Show resolved
Hide resolved
Based this pr, I have Refactored something. You can see and compare it. @jameszhangyukun @XiShanYongYe-Chang |
pkg/resourceinterpreter/configurableinterpreter/configmanager/manager.go
Outdated
Show resolved
Hide resolved
pkg/resourceinterpreter/configurableinterpreter/configmanager/manager.go
Show resolved
Hide resolved
pkg/resourceinterpreter/configurableinterpreter/configmanager/manager.go
Outdated
Show resolved
Hide resolved
pkg/resourceinterpreter/configurableinterpreter/configurable.go
Outdated
Show resolved
Hide resolved
pkg/resourceinterpreter/configurableinterpreter/configmanager/manager.go
Outdated
Show resolved
Hide resolved
pkg/resourceinterpreter/configurableinterpreter/configmanager/accessor.go
Show resolved
Hide resolved
pkg/resourceinterpreter/configurableinterpreter/configurable.go
Outdated
Show resolved
Hide resolved
Good Job! thanks. Can i use this code in my pr ? |
This framework is not finished. I will continue this work based on you PR. And your contribution will also counted. You can do the implement of Lua runtime, it's also a hard work. |
I'd like to speed up the process, and we can show that at the meeting next Tuesday. |
OK, I will finish it today. |
Thanks a lot~ |
I just went through the code quickly, and it generally looks good. @ikaven1024 I see you also send a PR for this, why? |
My pr is based on this pr, and improving:
@jameszhangyukun also feels it' OK. |
Yeah, I see, thanks for that you kept the @jameszhangyukun's commit in #2733. Given the task is part of the LFX program, the contribution should be recorded and posted on @jameszhangyukun's evaluation. |
OK. @jameszhangyukun you can continue your PR. I will do the improvement later. |
pkg/resourceinterpreter/configurableinterpreter/configurable.go
Outdated
Show resolved
Hide resolved
pkg/resourceinterpreter/configurableinterpreter/configurable.go
Outdated
Show resolved
Hide resolved
pkg/resourceinterpreter/configurableinterpreter/configurable.go
Outdated
Show resolved
Hide resolved
pkg/resourceinterpreter/configurableinterpreter/configurable.go
Outdated
Show resolved
Hide resolved
pkg/resourceinterpreter/configurableinterpreter/configmanager/manager.go
Outdated
Show resolved
Hide resolved
pkg/resourceinterpreter/configurableinterpreter/configmanager/manager.go
Outdated
Show resolved
Hide resolved
pkg/resourceinterpreter/configurableinterpreter/configmanager/manager.go
Outdated
Show resolved
Hide resolved
pkg/resourceinterpreter/configurableinterpreter/configmanager/manager.go
Outdated
Show resolved
Hide resolved
pkg/resourceinterpreter/configurableinterpreter/configmanager/manager.go
Outdated
Show resolved
Hide resolved
pkg/resourceinterpreter/configurableinterpreter/configmanager/accessor.go
Outdated
Show resolved
Hide resolved
Please @jameszhangyukun fix the comments above and I'll take a second round review. Thanks. |
0198456
to
29a0aac
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last nit from me.
pkg/resourceinterpreter/configurableinterpreter/configurable.go
Outdated
Show resolved
Hide resolved
Signed-off-by: zhangyukun <38148677+jameszhangyukun@users.noreply.github.com>
29a0aac
to
a3c50e7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: RainbowMango The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: zhangyukun 38148677+jameszhangyukun@users.noreply.github.com
What type of PR is this?
/kind feature
What this PR does / why we need it:
add framework cache and reorganize configurations Resource Interpreter
Which issue(s) this PR fixes:
Part of #2371
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: