Skip to content

Conversation

marseel
Copy link
Contributor

@marseel marseel commented Jun 4, 2024

Once this PR is merged, a GitHub action will update the labels of these PRs:

 32577 32630

marseel added 2 commits June 4, 2024 11:57
[ upstream commit 3e12e02 ]

[ Backporter's notes: no error handling in v1.14, different m.Iter part,
no health module ]

Before, depending on cluster-size we were triggering node update for
each node at fixed intervals depending on cluster-size. This resulted in
high cpu usage spike in agent. While the intent is to fix state that got
stale and shouldn't be the primary source of updates, it makes sense to
spread these updates over time to average out cpu usage.

Also, reenable backgroundSync test.

Signed-off-by: Marcel Zieba <marcel.zieba@isovalent.com>
[ upstream commit 2019ebe ]

During bootrstrap, we don't know number of nodes and new implementation
essentially was hot looping till fetched nodes. Also, in case of cluster
with single node, rate-limiter was not rate-limiting.

Fixes cilium#32577

Signed-off-by: Marcel Zieba <marcel.zieba@isovalent.com>
@marseel marseel had a problem deploying to release-base-images June 4, 2024 10:00 — with GitHub Actions Failure
@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 Jun 4, 2024
@marseel marseel changed the title Backport background sync 1.14 v1.15 Backports - background node sync improvements Jun 4, 2024
@marseel marseel changed the base branch from main to v1.14 June 4, 2024 10:00
@marseel marseel changed the title v1.15 Backports - background node sync improvements v1.14 Backports - background node sync improvements Jun 4, 2024
@marseel
Copy link
Contributor Author

marseel commented Jun 4, 2024

/test-backport-1.14

@marseel marseel added kind/backports This PR provides functionality previously merged into master. backport/1.14 This PR represents a backport for Cilium 1.14.x of a PR that was merged to main. labels Jun 4, 2024
@marseel
Copy link
Contributor Author

marseel commented Jun 4, 2024

/test-backport-1.14

@marseel marseel requested a review from giorio94 June 4, 2024 12:02
@marseel marseel closed this Jun 4, 2024
@marseel marseel reopened this Jun 4, 2024
@marseel marseel marked this pull request as ready for review June 4, 2024 13:29
@marseel marseel requested a review from a team as a code owner June 4, 2024 13:29
@qmonnet qmonnet removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Jun 4, 2024
Copy link
Member

@giorio94 giorio94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm, thanks!

@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 Jun 5, 2024
@qmonnet
Copy link
Member

qmonnet commented Jun 5, 2024

I understand deployments are proposed because the PR was initially opened against main, by mistake. Deployments are not necessary for this PR, I'll just go ahead, ignore them and merge.

@qmonnet qmonnet merged commit ccec355 into cilium:v1.14 Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.14 This PR represents a backport for Cilium 1.14.x of a PR that was merged to main. kind/backports This PR provides functionality previously merged into master. ready-to-merge This PR has passed all tests and received consensus from code owners to merge.
Projects
No open projects
Status: Released
Development

Successfully merging this pull request may close these issues.

3 participants