Skip to content

k8s/watchers: call UpdateBandwidthPolicy when priority annotation change#44329

Merged
julianwiedmann merged 1 commit intocilium:mainfrom
zbb88888:fix-annoChangedPriority
Feb 18, 2026
Merged

k8s/watchers: call UpdateBandwidthPolicy when priority annotation change#44329
julianwiedmann merged 1 commit intocilium:mainfrom
zbb88888:fix-annoChangedPriority

Conversation

@zbb88888
Copy link
Copy Markdown
Contributor

@zbb88888 zbb88888 commented Feb 13, 2026

When only the bandwidth.Priority annotation changes (without EgressBandwidth/IngressBandwidth changing), UpdateBandwidthPolicy was not being called, preventing the priority update from taking effect.

Fixes the condition to also trigger on annoChangedPriority.

Please ensure your pull request adheres to the following guidelines:

  • For first time contributors, read Submitting a pull request
  • All code is covered by unit and/or runtime tests where feasible.
  • All commits contain a well written commit description including a title,
    description and a Fixes: #XXX line if the commit addresses a particular
    GitHub issue.
  • If your commit description contains a Fixes: <commit-id> tag, then
    please add the commit author[s] as reviewer[s] to this issue.
  • All commits are signed off. See the section Developer’s Certificate of Origin
  • Provide a title or release-note blurb suitable for the release notes.
  • Are you a user of Cilium? Please add yourself to the Users doc
  • Thanks for contributing!

Fixes: #issue-number

Fixed a bug where bandwidth priority updates were not applied when only the priority annotation was changed on a Pod.

@zbb88888 zbb88888 requested a review from a team as a code owner February 13, 2026 09:02
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Feb 13, 2026
@zbb88888 zbb88888 changed the title k8s/watchers: call UpdateBandwidthPolicy when priority annotation cha… k8s/watchers: call UpdateBandwidthPolicy when priority annotation changed Feb 13, 2026
@github-actions github-actions bot added the kind/community-contribution This was a contribution made by a community member. label Feb 13, 2026
@zbb88888 zbb88888 changed the title k8s/watchers: call UpdateBandwidthPolicy when priority annotation changed k8s/watchers: call UpdateBandwidthPolicy when priority annotation change Feb 13, 2026
@zbb88888
Copy link
Copy Markdown
Contributor Author

@YutaroHayakawa Hi, Thanks for your review, will someone else help to merge and backport this to 1.19?

…nges

When only the bandwidth.Priority annotation changes (without
EgressBandwidth/IngressBandwidth changing), UpdateBandwidthPolicy
was not being called, preventing the priority update from taking
effect.

Fixes the condition to also trigger on annoChangedPriority.

Signed-off-by: zbb88888 <jmdxjsjgcxy@gmail.com>
@zbb88888 zbb88888 force-pushed the fix-annoChangedPriority branch from 9ac7fa2 to 405771c Compare February 14, 2026 02:30
@YutaroHayakawa YutaroHayakawa added the release-note/bug This PR fixes an issue in a previous release of Cilium. label Feb 17, 2026
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Feb 17, 2026
@YutaroHayakawa YutaroHayakawa added the needs-backport/1.19 This PR / issue needs backporting to the v1.19 branch label Feb 17, 2026
@YutaroHayakawa
Copy link
Copy Markdown
Member

What you need to do is labelling with needs-backport label. Usually, you need to check whether your change is eligible for backporting with this backport criteria. In this case, this is a bug fix and we are targeting v1.19 (the current minor release), so all bug fixes should be there, so we are good. I already put the label.

@YutaroHayakawa
Copy link
Copy Markdown
Member

YutaroHayakawa commented Feb 17, 2026

Also please fill the release-note section in the PR description from next time. That helps understanding what kind of the bug fix you made in the release note.

@YutaroHayakawa
Copy link
Copy Markdown
Member

/test

@zbb88888
Copy link
Copy Markdown
Contributor Author

@YutaroHayakawa Hi, thanks for your review, I have edit the PR description.

@YutaroHayakawa
Copy link
Copy Markdown
Member

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Feb 18, 2026
@julianwiedmann julianwiedmann added the feature/bandwidth-manager Impacts BPF bandwidth manager. label Feb 18, 2026
@julianwiedmann julianwiedmann added this pull request to the merge queue Feb 18, 2026
Merged via the queue into cilium:main with commit 17953f5 Feb 18, 2026
78 of 79 checks passed
@zbb88888 zbb88888 deleted the fix-annoChangedPriority branch February 19, 2026 04:18
@YutaroHayakawa YutaroHayakawa mentioned this pull request Feb 24, 2026
21 tasks
@YutaroHayakawa YutaroHayakawa added backport-pending/1.19 The backport for Cilium 1.19.x for this PR is in progress. and removed needs-backport/1.19 This PR / issue needs backporting to the v1.19 branch labels Feb 24, 2026
@github-actions github-actions bot added backport-done/1.19 The backport for Cilium 1.19.x for this PR is done. and removed backport-pending/1.19 The backport for Cilium 1.19.x for this PR is in progress. labels Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-done/1.19 The backport for Cilium 1.19.x for this PR is done. feature/bandwidth-manager Impacts BPF bandwidth manager. kind/community-contribution This was a contribution made by a community member. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/bug This PR fixes an issue in a previous release of Cilium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants