-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
[WIP] kubelet: Improved performance of the cadvisor metric collection #108194
Conversation
@bwplotka: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. 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. |
@bwplotka: GitHub didn't allow me to request PR reviews from the following users: bwplotka. Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs. 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. |
Welcome @bwplotka! |
Hi @bwplotka. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: bwplotka 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 |
/ok-to-test |
4d461d8
to
740f2f1
Compare
@bwplotka: 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. |
@bwplotka: 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. |
/triage accepted |
Current status:
|
/assign @ehashman @dgrisonnet |
Status update:
If anyone wants to dig into benchmarked profiles I obtained thanks to https://github.com/bwplotka/kubelet-bench setup: |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-sig auth This appears to belong to SIG Node. Feel free to add back SIG Auth if needed. |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: 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. |
Fixed #107960 PR.
As in the previous PR, the vendor is 80% of this PR. Life is hard 🙃
Most of the work was done by @ehashman
/cc @ehashman @dgrisonnet
What type of PR is this?
/kind feature
/sig node
/sig instrumentation
What this PR does / why we need it:
Significantly improves kubelet perf of cadvisor metric collection on scrape (e.g by Prometheus).
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Two PRs has to be merged upstream, before moving with this PR:
Also:
Does this PR introduce a user-facing change?
cAdvisor uses a new type of registry for container metric collection. Users should see significant improvements in kubelet CPU utilization as a result.
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: