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

feat: improve pod binding controller #2241

Merged

Conversation

rambohe-ch
Copy link
Member

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind bug
/kind documentation
/kind enhancement
/kind good-first-issue
/kind feature
/kind question
/kind design
/sig ai
/sig iot
/sig network
/sig storage

/kind feature

What this PR does / why we need it:

  1. configure toleration seconds of new pods after node autonomy is enabled.
  2. restore toleration seconds of pods if node autonomy is disabled.

Which issue(s) this PR fixes:

Fixes #2240

Special notes for your reviewer:

Does this PR introduce a user-facing change?


other Note

@rambohe-ch rambohe-ch requested a review from a team as a code owner January 3, 2025 13:20
@rambohe-ch rambohe-ch force-pushed the improve-pod-binding-controller branch from 669f280 to abb4d79 Compare January 3, 2025 13:23
Copy link

sonarqubecloud bot commented Jan 3, 2025

Copy link

codecov bot commented Jan 3, 2025

Codecov Report

Attention: Patch coverage is 27.58621% with 84 lines in your changes missing coverage. Please review.

Project coverage is 45.19%. Comparing base (e83f8ab) to head (abb4d79).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...rtcoordinator/podbinding/pod_binding_controller.go 27.58% 79 Missing and 5 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2241      +/-   ##
==========================================
- Coverage   45.34%   45.19%   -0.16%     
==========================================
  Files         422      422              
  Lines       28739    28778      +39     
==========================================
- Hits        13031    13005      -26     
- Misses      14403    14464      +61     
- Partials     1305     1309       +4     
Flag Coverage Δ
unittests 45.19% <27.58%> (-0.16%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@zyjhtangtang
Copy link
Contributor

/LGTM

@zyjhtangtang zyjhtangtang merged commit 290d189 into openyurtio:master Jan 5, 2025
13 of 14 checks passed
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.

[feature request]improve pod binding controller
2 participants