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

[cherry-pick]Create informer per resources to avoid huge memory consumption #7327

Merged

Conversation

ywk253100
Copy link
Contributor

Create informer per resources to avoid huge memory consumption

Fixes #7323

Thank you for contributing to Velero!

Please add a summary of your change

Does your change fix a particular issue?

Fixes #(issue)

Please indicate you've done the following:

  • Accepted the DCO. Commits without the DCO will delay acceptance.
  • Created a changelog file or added /kind changelog-not-required as a comment on this pull request.
  • Updated the corresponding documentation in site/content/docs/main.

Create informer per resources to avoid huge memory consumption

Fixes vmware-tanzu#7323

Signed-off-by: Wenkai Yin(尹文开) <[email protected]>
@ywk253100 ywk253100 added kind/changelog-not-required PR does not require a user changelog. Often for docs, website, or build changes target/1.12.4 labels Jan 18, 2024
@ywk253100 ywk253100 changed the title Create informer per resources to avoid huge memory consumption [cherry-pick]Create informer per resources to avoid huge memory consumption Jan 18, 2024
Copy link

codecov bot commented Jan 18, 2024

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (c3aecbb) 60.64% compared to head (85189a0) 60.60%.

Files Patch % Lines
pkg/client/dynamic.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff                @@
##           release-1.12    #7327      +/-   ##
================================================
- Coverage         60.64%   60.60%   -0.04%     
================================================
  Files               251      251              
  Lines             26812    26791      -21     
================================================
- Hits              16259    16238      -21     
  Misses             9401     9401              
  Partials           1152     1152              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@reasonerjt reasonerjt merged commit 50a1221 into vmware-tanzu:release-1.12 Jan 18, 2024
27 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/changelog-not-required PR does not require a user changelog. Often for docs, website, or build changes target/1.12.4
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants