Skip to content

Revert "Revert PAO and later changes" #332

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

Merged

Conversation

cynepco3hahue
Copy link

Reverts #330

Artyom Lukianov and others added 2 commits March 29, 2022 16:20
- fix installation of the ginkgo under run-functests script
- add release annotation to webhook configuration resources

Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
@alvaroaleman
Copy link

@cynepco3hahue the original change for this broke hypershift, because the node-tuning-operator_50-operator-ibm-cloud-managed.yaml manifest references the apiservice-cert from the service in 45-webhook-configuration.yaml which isn't deployed on Hypershift because it lacks the include.release.openshift.io/ibm-cloud-managed: "true" annotation. Could you please add that annotation there or not reference the secret in node-tuning-operator_50-operator-ibm-cloud-managed.yaml?

@cynepco3hahue
Copy link
Author

/retest

@cynepco3hahue
Copy link
Author

@cynepco3hahue the original change for this broke hypershift, because the node-tuning-operator_50-operator-ibm-cloud-managed.yaml manifest references the apiservice-cert from the service in 45-webhook-configuration.yaml which isn't deployed on Hypershift because it lacks the include.release.openshift.io/ibm-cloud-managed: "true" annotation. Could you please add that annotation there or not reference the secret in node-tuning-operator_50-operator-ibm-cloud-managed.yaml?

Thanks for the comment, I will revisit changes related to the ibm-cloud-managed annotation.

Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
@cynepco3hahue cynepco3hahue force-pushed the revert-330-revert-pao branch 3 times, most recently from 022d354 to 09a2f6c Compare March 30, 2022 21:13
@cynepco3hahue
Copy link
Author

/retest

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 31, 2022

@cynepco3hahue: all tests passed!

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

@yanirq
Copy link
Contributor

yanirq commented Apr 3, 2022

/lgtm
this is a combination of the 3 already approved PRs.

/cc @jmencak please take a look and we can check if openshift/origin#26944 will require further alignments after this PR is merged.

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 3, 2022
@jmencak
Copy link
Contributor

jmencak commented Apr 4, 2022

After testing for an hour on an idle cluster, I'm seeing:

$ kubectl-dev_tool audit \
    --after 2022-04-04T08:20:22+02:00 \
    -f all.log -otop --verb=watch --by resource --user=system:serviceaccount:openshift-cluster-node-tuning-operator:cluster-node-tuning-operator

count: 141, first: 2022-04-04T08:20:37+02:00, last: 2022-04-04T09:20:23+02:00, duration: 59m45.925201s
18x                  tuned.openshift.io/tuneds
18x                  machineconfiguration.openshift.io/v1/machineconfigpools
17x                  v1/nodes
15x                  tuned.openshift.io/profiles
15x                  machineconfiguration.openshift.io/v1/machineconfigs
9x                   machineconfiguration.openshift.io/v1/kubeletconfigs
9x                   apps/daemonsets
9x                   node.k8s.io/v1beta1/runtimeclasses
9x                   performance.openshift.io/v2/performanceprofiles
8x                   tuned.openshift.io/v1/profiles

vs. cluster without this PR:

$ kubectl-dev_tool audit \
    --after 2022-04-04T10:24:30+02:00 \
    -f all.log -otop --verb=watch --by resource --user=system:serviceaccount:openshift-cluster-node-tuning-operator:cluster-node-tuning-operator

count: 61, first: 2022-04-04T10:26:45+02:00, last: 2022-04-04T11:25:30+02:00, duration: 58m44.954911s
10x                  v1/nodes
9x                   apps/daemonsets
9x                   config.openshift.io/v1/clusteroperators
9x                   tuned.openshift.io/profiles
8x                   machineconfiguration.openshift.io/v1/machineconfigs
8x                   tuned.openshift.io/tuneds
8x                   machineconfiguration.openshift.io/v1/machineconfigpools

The watch count is cca 2.3 higher now. I couldn't see any short watches during the idle run.

/approve
/hold
@deads2k , please unhold if you're happy with the current situation.

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 4, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 4, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cynepco3hahue, jmencak

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 4, 2022
@deads2k
Copy link
Contributor

deads2k commented Apr 4, 2022

The watch count is cca 2.3 higher now. I couldn't see any short watches during the idle run.

excellent!

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 4, 2022
@openshift-merge-robot openshift-merge-robot merged commit a7fcf60 into openshift:master Apr 4, 2022
IlyaTyomkin pushed a commit to IlyaTyomkin/cluster-node-tuning-operator that referenced this pull request May 23, 2023
* Revert "Revert PAO and later changes"

* Fixes for CI PAO lane

- fix installation of the ginkgo under run-functests script
- add release annotation to webhook configuration resources

Signed-off-by: Artyom Lukianov <alukiano@redhat.com>

* remove pao namespace from watched namespaces

* manifests: add ibm-cloud-managed release annotation

Signed-off-by: Artyom Lukianov <alukiano@redhat.com>

Co-authored-by: Yanir Quinn <yquinn@redhat.com>
IlyaTyomkin pushed a commit to IlyaTyomkin/cluster-node-tuning-operator that referenced this pull request Jun 13, 2023
* Revert "Revert PAO and later changes"

* Fixes for CI PAO lane

- fix installation of the ginkgo under run-functests script
- add release annotation to webhook configuration resources

Signed-off-by: Artyom Lukianov <alukiano@redhat.com>

* remove pao namespace from watched namespaces

* manifests: add ibm-cloud-managed release annotation

Signed-off-by: Artyom Lukianov <alukiano@redhat.com>

Co-authored-by: Yanir Quinn <yquinn@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants