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
Bug 2087684: Support for rejecting transition from/to extreme latency profiles #1372
Bug 2087684: Support for rejecting transition from/to extreme latency profiles #1372
Conversation
f8ba295
to
314a905
Compare
This is required for https://bugzilla.redhat.com/show_bug.cgi?id=2087684 and corresponding PR in KCMO. |
314a905
to
b802bfa
Compare
18d590b
to
c0a81bb
Compare
17df1db
to
594ea24
Compare
/assign @p0lyn0mial @atiratree |
/cc @soltysh @rphillips |
Signed-off-by: Swarup Ghosh <swghosh@redhat.com>
Signed-off-by: Swarup Ghosh <swghosh@redhat.com>
6fdb07d
to
675a3a8
Compare
pkg/operator/latencyprofilecontroller/profilerejectionchecker.go
Outdated
Show resolved
Hide resolved
pkg/operator/latencyprofilecontroller/profilerejectionchecker.go
Outdated
Show resolved
Hide resolved
pkg/operator/latencyprofilecontroller/profilerejectionchecker_test.go
Outdated
Show resolved
Hide resolved
df77f71
to
df941d4
Compare
feed1c1
to
20c0270
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.
also this PR should have a bug id in the title no?
6ff925f
to
f3f459c
Compare
- use a slice for suppress fns in NewLatencyProfileObserver - add new suppressor fn: NewSuppressConfigUpdateForExtremeProfilesFunc - add checkRejectFn in controller to update status when rejection occurs Signed-off-by: Swarup Ghosh <swghosh@redhat.com>
f3f459c
to
5fd20f8
Compare
@swghosh: 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. |
@swghosh: This pull request references Bugzilla bug 2087684, which is valid. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Bugzilla (weinliu@redhat.com), skipping review request. In response to this:
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. |
@swghosh: This pull request references Bugzilla bug 2087684, which is valid. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Bugzilla (weinliu@redhat.com), skipping review request. In response to this:
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. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: atiratree, swghosh 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 |
/hold |
@swghosh: Some pull requests linked via external trackers have merged: The following pull requests linked via external trackers have not merged: These pull request must merge or be unlinked from the Bugzilla bug in order for it to move to the next state. Once unlinked, request a bug refresh with Bugzilla bug 2087684 has not been moved to the MODIFIED state. In response to this:
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. |
/hold cancel |
Signed-off-by: Swarup Ghosh <swghosh@redhat.com>
Worker Latency Profile(s) support for rejecting updates between extreme profiles (Default <-> Low), in favour of cluster stability as described in the EP [1][2].
NewLatencyProfileObserver
NewSuppressConfigUpdateForExtremeProfilesFunc
which suppresses updates when switching from Default -> Low or Low -> DefaultcheckRejectFn
in controller to update status when rejection occursHelps to fix, xref: https://bugzilla.redhat.com/show_bug.cgi?id=2087684
Signed-off-by: Swarup Ghosh swghosh@redhat.com