Skip to content

Also apply rawPrefixWhiteList to rawContainerWatcher and rawContainerHandler #3868

Description

@249043822

Now the rawPrefixWhiteList is only be used by rawFactory.CanHandleAndAccept, but the cadvisor manager also starts rawContainerWatcher to watch all the cgroup paths, and the housekeeping timely calls rawContainerHandler.ListContainers to list all cgroup paths recursively. if a system has many many cgroup paths under /user.slice, it can exhaust uneccessary performance like cpu&memory, so should we also apply rawPrefixWhiteList to rawContainerWatcher and rawContainerHandler?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions