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 AcceleratorStats to cri_stats_provider for 1.19 #97017
Add AcceleratorStats to cri_stats_provider for 1.19 #97017
Conversation
/triage accepted |
/priority important-soon |
cs.Accelerators = accelerators | ||
} | ||
|
||
func (p *criStatsProvider) addCadvisorContainerCPUAndMemoryStats( |
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.
so the test for this functionality mocks cAdvisor results. Can you confirm that cAdvisor that was used in 1.19 was producing these metrics? Just a review of commits diff may be enough I think
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.
Yeah we have checked the diff of cadvisor, and it does not change the behavior on this. And we have actually tested this end-to-endly, and have verified that accelerator metrics are available thru summary API
/test pull-kubernetes-e2e-gce-ubuntu-containerd |
/retest |
/approve |
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dashpole, hasheddan, ruiwen-zhao The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold until patch releases are complete |
/hold cancel |
/retest |
What type of PR is this?
/kind bug
What this PR does / why we need it:
This is a cherry-pick of #96873
Which issue(s) this PR fixes:
See #96873
Fixes #
Special notes for your reviewer:
See #96873
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: