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
Add --profiling flag to kubelet #84397
Add --profiling flag to kubelet #84397
Conversation
7c7b53d
to
a6969d4
Compare
This PR may require API review. If so, when the changes are ready, complete the pre-review checklist and request an API review. Status of requested reviews is tracked in the API Review project. |
5a8b2aa
to
b8c1e45
Compare
/assign @erictune @Random-Liu |
b8c1e45
to
6b421c0
Compare
/uncc |
@xiaoanyunfei just curious, if you happen to follow up on this with sig/node? |
en, I just browse the issue with label sig/node |
We did discuss about this PR as part of our sig-node meeting on Jan 21st. I confirmed from the maintainers that we don't need command line argument for this change. I'm not sure about moving this out similar to what we decided for disabling /logs endpoint. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
6b421c0
to
299b648
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: xiaoanyunfei The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@xiaoanyunfei you might want to address the following two comments
|
299b648
to
c5dd24b
Compare
a15536e
to
b957f7f
Compare
if enableContentionProfiling { | ||
goruntime.SetBlockProfileRate(1) | ||
if enableProfiling { | ||
server.InstallProfilingHandlers() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Would be nice to say "profiling is disabled" when enableProfiling is false and debuggingHandler is enabled. Can you also add a unit test for this change.
11d4716
to
8441741
Compare
8441741
to
cd989df
Compare
@xiaoanyunfei: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@xiaoanyunfei: PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@xiaoanyunfei I will be happy to drive this if you're not working on it currently. |
@xiaoanyunfei I created PR #98458 to address the issue. if you prefer we can continue with this PR as well. Thank you! |
OK |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes ##84165
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/sig node