lhotari opened a new issue, #16601: URL: https://github.com/apache/pulsar/issues/16601
**Is your feature request related to a problem? Please describe.** The Pulsar loadbalancer detects CPU limits using cgroups v1 API. Newer Kubernetes runtimes support cgroups v2 and popular Linux distributions are migrating to use cgroups v2 as the default option. https://kubernetes.io/docs/setup/production-environment/container-runtimes/#cgroup-v2 "Cgroup v2 is the next version of the cgroup Linux API. Differently than cgroup v1, there is a single hierarchy instead of a different one for each controller." **Describe the solution you'd like** The Pulsar loadbalancer should also support cgroups v2. **Additional context** [LinuxInfoUtils class currently supports only cgroups v1](https://github.com/apache/pulsar/blob/0a4c980d1469e8a23d008b726fce5aa5f011c47b/pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalance/LinuxInfoUtils.java#L43-L46) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
