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
Update to latest cadvisor - cleanup mesos/rkt #76291
Update to latest cadvisor - cleanup mesos/rkt #76291
Conversation
/sig node |
21c3968
to
c2ceccb
Compare
c2ceccb
to
bd62e8e
Compare
@@ -89,7 +103,7 @@ func New(imageFsInfoProvider ImageFsInfoProvider, rootPath string, usingLegacySt | |||
// collect metrics for all cgroups | |||
rawContainerCgroupPathPrefixWhiteList := []string{"/"} | |||
// Create and start the cAdvisor container manager. | |||
m, err := manager.New(memory.New(statsCacheDuration, nil), sysFs, maxHousekeepingInterval, allowDynamicHousekeeping, includedMetrics, http.DefaultClient, rawContainerCgroupPathPrefixWhiteList) | |||
m, err := newCadvisor(memory.New(statsCacheDuration, nil), sysFs, maxHousekeepingInterval, allowDynamicHousekeeping, includedMetrics, http.DefaultClient, rawContainerCgroupPathPrefixWhiteList) |
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.
talked with @dims about an approach that would avoid needing to change this signature and keep us (and all callers) from having to copy out initialization code
will open a PR to cadvisor and sync up there
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.
opened google/cadvisor#2217, keeping all the collector initialization contained to manager.New()
... testing with CI in #76355
/hold per #76291 (comment) |
Thanks @liggitt |
694047f
to
41eb2ea
Compare
41eb2ea
to
94f3e46
Compare
Change-Id: Ib5ae0cb13b93f8c87bb74e3ba33040df5f3d6a6f
94f3e46
to
6993654
Compare
- We drop mesos and rkt support in cadvisor Change-Id: Id4dcafdecc97802b2def95a572e67842e7507f7b
6993654
to
1707144
Compare
/test pull-kubernetes-dependencies |
/remove-sig api-machinery |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dims, liggitt 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 cancel |
@dims: The following test 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. |
/retest Review the full test history for this PR. Silence the bot with an |
Change-Id: I2aa91b4dd1f421fdf72623e5dc94d4f304d9b76b
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Mainly to bring in the code from the following PRs:
This cleans up rkt/mesos and their dependencies
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: