apache / rocketmq-operator

Apache RocketMQ Operator
https://rocketmq.apache.org/
Apache License 2.0
308 stars 126 forks source link

[ISSUE #229]when use cgroups v2, controller failed to start #230

Open usernameisnull opened 1 month ago

usernameisnull commented 1 month ago

What is the purpose of the change

fix bug #229

Brief changelog

if no file /sys/fs/cgroup/memory/memory.limit_in_bytes try file /sys/fs/cgroup/memory.max

Verifying this change

kubectl get po |grep controller controller-0 1/1 Running 0 2m35s

Please go through this checklist to help us incorporate your contribution quickly and easily.

Notice: It would be helpful if you could finish the following checklist (the last one is not necessary) before request the community to review your PR.

usernameisnull commented 1 month ago

PTAL @caigy