Skip to content

Conversation

@zhiying-lin
Copy link
Collaborator

@zhiying-lin zhiying-lin commented Jun 9, 2025

Description of your changes

add some delays when creating resourceSnapshot to avoid too frequent update.

Fixes #

I have:

  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

tested in UT

Special notes for your reviewer

@codecov
Copy link

codecov bot commented Jun 9, 2025

Codecov Report

Attention: Patch coverage is 61.53846% with 10 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...controllers/clusterresourceplacement/controller.go 61.53% 9 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@zhiying-lin zhiying-lin force-pushed the add-delay branch 2 times, most recently from 454f35e to 016d295 Compare June 11, 2025 12:39
Signed-off-by: Zhiying Lin <zhiyingl456@gmail.com>
This reverts commit 136267c.

Signed-off-by: Zhiying Lin <zhiyingl456@gmail.com>
Signed-off-by: Zhiying Lin <zhiyingl456@gmail.com>
Signed-off-by: Zhiying Lin <zhiyingl456@gmail.com>
Signed-off-by: Zhiying Lin <zhiyingl456@gmail.com>
Signed-off-by: Zhiying Lin <zhiyingl456@gmail.com>
Signed-off-by: Zhiying Lin <zhiyingl456@gmail.com>
| ConcurrentResourceChangeSyncs | The number of resourceChange reconcilers that are allowed to run concurrently. | `20` |
| logFileMaxSize | Max size of log file before rotation | `1000000` |
| MaxFleetSizeSupported | The max number of member clusters this fleet supports. | `100` |
| resourceSnapshotCreationInterval | The interval at which resource snapshots are created. | `1m` |
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: the dividers don't seem to align

@zhiying-lin zhiying-lin marked this pull request as draft June 17, 2025 09:50
@zhiying-lin zhiying-lin marked this pull request as ready for review June 25, 2025 08:09
@zhiying-lin zhiying-lin merged commit 385c310 into kubefleet-dev:main Jun 25, 2025
25 of 28 checks passed
@zhiying-lin zhiying-lin deleted the add-delay branch June 25, 2025 08:09
audrastump pushed a commit to audrastump/kubefleet that referenced this pull request Aug 20, 2025
Signed-off-by: Zhiying Lin <zhiyingl456@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants