-
Notifications
You must be signed in to change notification settings - Fork 42.1k
Optimizes calculating stats when only CPU and Memory stats are returned from Kubelet stats/summary http endpoint. #68841
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
Optimizes calculating stats when only CPU and Memory stats are returned from Kubelet stats/summary http endpoint. #68841
Conversation
…r in kubelet. If parameter is true then only cpu and memory will be present in response. The parameter will be used by Metric Server to avoid sending/decoding unneeded data.
|
/ok-to-test |
only_cpu_and_memory parameter. Before all stats were processed and removed before returning.
b640377 to
3b21995
Compare
|
/assign mwielgus |
|
/kind cleanup |
|
/lgtm |
|
Could you give approve? |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: krzysztof-jastrzebski, yujuhong The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest Review the full test history for this PR. Silence the bot with an |
What this PR does / why we need it:
PR optimizes calculating stats when only CPU and Memory stats are returned from Kubelet stats/summary http endpoint. After this PR is submitted only CPU and memory stats will be calculated instead of calculating all stats and removing them from response.
Release note: