Skip to content
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

[release-4.14][manual] consume support for scheduler plugin informerMode from upstream #846

Closed
wants to merge 2 commits into from

Conversation

ffromani
Copy link
Member

@ffromani ffromani commented Feb 8, 2024

Previously, the NUMA-aware scheduler plugin had d/s-specific code to enable the separate informer, which was in turn needed to get the full pod list vs the filtered pod list the scheduler framework provides. Thus, we had d/s specific enablement in the operator. Since commit kubernetes-sigs/scheduler-plugins#599 the upstream added support for the separate informer, consumed by the KNI scheduler since commit openshift-kni/scheduler-plugins#161. Remove the d/s specific enablement and set the proper configuration value.

We expect no changes from UX perspective. This is an internal change only.

backport notice: add targeted fixes to make this PR independent from (the backport of) #801
backport notice: manual backport of #845

Copy link
Contributor

openshift-ci bot commented Feb 8, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ffromani

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 Feb 8, 2024
@ffromani
Copy link
Member Author

ffromani commented Feb 8, 2024

/test ci-e2e

is this a flake with a terrible timing?

@ffromani
Copy link
Member Author

ffromani commented Feb 8, 2024

ok, not a flake. Investigating.

@ffromani
Copy link
Member Author

ffromani commented Feb 8, 2024

/hold

checking the scheduler side. Probably unnecessary bordering harmful

@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 Feb 8, 2024
@ffromani
Copy link
Member Author

ffromani commented Feb 8, 2024

we don't want this change now: openshift-kni/scheduler-plugins#165

@ffromani ffromani closed this Feb 8, 2024
@ffromani ffromani deleted the informer-support-4.14 branch February 8, 2024 15:51
@ffromani
Copy link
Member Author

/reopen
we will merge once openshift-kni/scheduler-plugins#223 merges

Copy link
Contributor

openshift-ci bot commented Jul 24, 2024

@ffromani: Failed to re-open PR: state cannot be changed. The informer-support-4.14 branch has been deleted.

In response to this:

/reopen
we will merge once openshift-kni/scheduler-plugins#223 merges

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-sigs/prow repository.

@ffromani ffromani restored the informer-support-4.14 branch July 24, 2024 10:13
@ffromani
Copy link
Member Author

/reopen

@openshift-ci openshift-ci bot reopened this Jul 24, 2024
Copy link
Contributor

openshift-ci bot commented Jul 24, 2024

@ffromani: Reopened this PR.

In response to this:

/reopen

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-sigs/prow repository.

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 24, 2024
ffromani and others added 2 commits July 24, 2024 12:15
extract helper to be used later to fine-tune the
scheduler behavior.

Parial cherry-pick from #801

Signed-off-by: Francesco Romani <[email protected]>
Previously, the NUMA-aware scheduler plugin had d/s-specific code to enable the separate informer,
which was in turn needed to get the full pod list vs the filtered pod list the scheduler framework provides.
Thus, we had d/s specific enablement in the operator.
Since commit 93c518b the upstream added support for the separate informer,
consumed by the KNI scheduler since commit 780ea84.
Removed the d/s specific enablement and set the proper configuration value.

release-4.15 notes: reordered commits, make it indpendent from PR #801
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 24, 2024
@ffromani
Copy link
Member Author

/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 Jul 24, 2024
@ffromani
Copy link
Member Author

the failure is expected because openshift-kni/scheduler-plugins#223 merged but the lane restarted before automation pushed an updated image

@ffromani
Copy link
Member Author

/retest

Copy link
Contributor

openshift-ci bot commented Jul 24, 2024

@ffromani: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/ci-e2e d324239 link true /test ci-e2e

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

@ffromani
Copy link
Member Author

re-closing with better explanation of the reason. Would depend on the config AP v1beta3. the branch 4.14 was using v1beta2, and we can't update mid-Z-stream, especially so late in the stream. xref: openshift-kni/scheduler-plugins#224

@ffromani ffromani closed this Jul 24, 2024
@ffromani ffromani deleted the informer-support-4.14 branch September 19, 2024 11:06
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants