Is your enhancement related to a problem? Please describe
If the Pod annotation io.kubernetes.cri-o.cgroup2-mount-hierarchy-rw is set. Then a RW cgroupfs is created in the Pod containers.
In order to take advantage of the RW capabilities the Pod must either be run as root, or the cgroupfs needs to be chowned to the UID of the container.
Describe the solution you'd like
See -
https://github.com/cgruver/systemd-in-devspaces
https://issues.redhat.com/browse/CRW-10248
Describe alternatives you've considered
No response
Additional context
No response
Is your enhancement related to a problem? Please describe
If the Pod annotation
io.kubernetes.cri-o.cgroup2-mount-hierarchy-rwis set. Then a RW cgroupfs is created in the Pod containers.In order to take advantage of the RW capabilities the Pod must either be run as root, or the cgroupfs needs to be chowned to the UID of the container.
Describe the solution you'd like
See -
https://github.com/cgruver/systemd-in-devspaces
https://issues.redhat.com/browse/CRW-10248
Describe alternatives you've considered
No response
Additional context
No response