-
Notifications
You must be signed in to change notification settings - Fork 3.4k
cgroup manager: introduce hive cell #32799
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
cgroup manager: introduce hive cell #32799
Conversation
7d469d3
to
710887d
Compare
/test |
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.
Hubble changes LGTM
710887d
to
8a056e6
Compare
rebased to |
/test |
This commit introduces a hive cell for the cgroup manager and replaces the explicit initialization (and shutdown) in the daemon. Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
This commit introduces an Hive Dependency from the cgroup manager to a logger and replaces the static logger. Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
This commit removes the unused daemon method `GetParentPodMetadata` that introduced an unnecessary dependency to the CGroupManager. Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
Currently, the implementation of the CGroupManager also handles the cases if socket lb tracing isn't enabled or the setup failed to lookup the cgroup path provider. To ease the understanding of the actual implementation (aside from testing and the mentioned cases where the feature is disabled), this commit introduces a `noopCgroupManager` that is provided as implementation in cases where the feature isn't enabled. Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
8a056e6
to
fe2dd05
Compare
rebased to |
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.
Nice work. Thanks!
/test |
Removing review-request for Louis as we have everything covered - thanks 🙏 |
cilium#32799 changed the error message, adjust the documentation. Signed-off-by: Julian Wiedmann <jwi@isovalent.com>
#32799 changed the error message, adjust the documentation. Signed-off-by: Julian Wiedmann <jwi@isovalent.com>
This PR introduces a Hive Cell for the cgroup manager.
Please review the individual commits.