Cluster version controller code restructering#112
Cluster version controller code restructering#112nb-ohad wants to merge 1 commit intored-hat-storage:mainfrom
Conversation
nb-ohad
commented
Mar 14, 2024
- Seperate the different reconcile concerns into functions
- Preload all input resources
- Optimize memory managemnt for console resources
- Add reconsole tracking log messages
- Fix some issues with object metadata overwrites
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nb-ohad The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
1aee789 to
a8972ec
Compare
I think we really need a deployment test suite, can we make an effort to have client operator be able to run on plain k8s which can help a bit better? Regarding point 1, I'll be raising a new PR to fix that specific issue. |
leelavg
left a comment
There was a problem hiding this comment.
looks ordered overall. thanks.
| nginxConfigMap.Namespace = c.OperatorNamespace | ||
|
|
||
| err := c.createOrUpdate(&nginxConfigMap, func() error { | ||
| if err := c.own(&nginxConfigMap); err != nil { |
There was a problem hiding this comment.
in existing code, console deployment owns the configmap and that seems to be correct and so setting another controller ref here always returns an error.
There was a problem hiding this comment.
Console deployment should not own the config map because the deployment controller is not the one that reconciles it. But I guess you mean that the execution fails because there is an existing controller ref.
There was a problem hiding this comment.
you mean that the execution fails because there is an existing controller ref.
- yes.
- Seperate the different reconcile concerns into functions - Preload all input resources - Optimize memory managemnt for console resources - Add reconsole tracking log messages - Fix some issues with object metadata overwrites Signed-off-by: nb-ohad <mitrani.ohad@gmail.com>
a8972ec to
fe7ae2e
Compare
|
PR needs rebase. DetailsInstructions 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. |
|
@nb-ohad will you be refreshing this PR? |
@leelavg I am not sure I will do that as the changes to the code base are considerable. I might decide on an alternative of recoding these changes from the ground up on top of the current main. Either way, this work will get into the repo at one point or another. |