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: disable nodelifecycle controller by default #2246

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:

According to the proposal #2155 , we use endpoints/endpointslices webhook to replace the current design: improve nodelifecyle controller to manage pod ready status according to node autonomy settings.

so we plan to disable nodelifecycle controller by default in yurt-manager component, and we will remove this controller in the future version.

by the way, we also don't disable nodelifecycle controller in kube-controller-manager component anymore.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?

We don't need to disable nodelifecycle controller in kube-controller-manager component anymore, only just use the native Kubernetes configuration directly.

other Note

@rambohe-ch rambohe-ch requested a review from a team as a code owner January 6, 2025 05:42
Copy link

codecov bot commented Jan 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 45.18%. Comparing base (ff392b1) to head (c35c302).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2246      +/-   ##
==========================================
- Coverage   45.22%   45.18%   -0.04%     
==========================================
  Files         422      422              
  Lines       28779    28779              
==========================================
- Hits        13014    13005       -9     
- Misses      14452    14460       +8     
- Partials     1313     1314       +1     
Flag Coverage Δ
unittests 45.18% <ø> (-0.04%) ⬇️

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.

@rambohe-ch rambohe-ch force-pushed the disable-nodelifecycle-by-default branch from a5f4ef0 to e4b0167 Compare January 6, 2025 21:47
@rambohe-ch rambohe-ch force-pushed the disable-nodelifecycle-by-default branch from e4b0167 to c35c302 Compare January 6, 2025 23:08
Copy link

sonarqubecloud bot commented Jan 6, 2025

@zyjhtangtang
Copy link
Contributor

/LGTM

@zyjhtangtang zyjhtangtang merged commit 8ebfd94 into openyurtio:master Jan 7, 2025
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.

2 participants