WIP: add the performance-addon-operator code#262
WIP: add the performance-addon-operator code#262cynepco3hahue wants to merge 4 commits intoopenshift:masterfrom
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: cynepco3hahue The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
jmencak
left a comment
There was a problem hiding this comment.
Thanks you for the PR, Artyom, it is a good start. In order to pass the verification, you need to fix your formatting. See "make verify" and it will tell you which files to fix.
I haven't gone through all of the code, just the interface and added a few comments. PAO commpiled fine. I'd really like to get rid of the dependency on sigs.k8s.io/controller-runtime if possible.
| k8s.io/metrics => k8s.io/metrics v0.21.1 | ||
| k8s.io/mount-utils => k8s.io/mount-utils v0.21.2 | ||
| k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.21.1 | ||
| sigs.k8s.io/controller-runtime => sigs.k8s.io/controller-runtime v0.9.2 |
There was a problem hiding this comment.
Do we really need sigs.k8s.io/controller-runtime?
There was a problem hiding this comment.
We are using it a lot under the PAO controller. In general, it makes it much easier to write a controller with it, without the need to specify separate clients for each API type, informers, and listers.
There was a problem hiding this comment.
It took me quite a bit of effort to get away from operator-sdk and controller-runtime in the past. Perhaps things are better now, but it used to be quite hard (nearly impossible) to keep other k8s dependencies up-to-date when I was using those two dependencies in the past. How easy/difficult is it now? I.e. use the current 1.22 k8s deps?
| items: | ||
| description: ProfileStatusCondition represents a partial state of | ||
| the per-node Profile application. | ||
| - additionalPrinterColumns: |
There was a problem hiding this comment.
Why has this file changed?
There was a problem hiding this comment.
I just ran the make crd-schema-gen.
| rm -rf $(TUNED_DIR)/.git) | ||
|
|
||
| build: $(BINDATA) pkg/generated | ||
| build: $(BINDATA) generate-deepcopy pkg/generated |
There was a problem hiding this comment.
Perhaps at some point add performance-addon-operator-bin target?
There was a problem hiding this comment.
For sure, I will do it once will add PAO dockerfiles.
|
|
Another thing we should consider is modifying the |
|
Another two issues to solve that currently come to mind:
|
A lot of thanks for the initial review, we are using a lot |
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
|
@cynepco3hahue: The following test failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
|
@cynepco3hahue: 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. |
|
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
|
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
|
@cynepco3hahue you can close this PR in favor of #302 or keep it for additional references in the near future (maybe even as closed if we still have the code) |
|
close in favor of #302. |
TODO: