diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2021-11-24 13:41:02 +0100 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2021-12-06 15:25:00 -0500 |
commit | 5f9f3bbea02af17213ff57afbf30af670fc16a7a (patch) | |
tree | 259bc1bc46524442269e97b28f812373dd83f231 /pkg | |
parent | 05a5fcb45b436eb2109bfda08a037cb926facfb3 (diff) | |
download | podman-5f9f3bbea02af17213ff57afbf30af670fc16a7a.tar.gz podman-5f9f3bbea02af17213ff57afbf30af670fc16a7a.tar.bz2 podman-5f9f3bbea02af17213ff57afbf30af670fc16a7a.zip |
stats: get the memory limit from the spec
OCI runtimes may set the memory limits in different ways, e.g., crun
creates a sub-cgroup where the limits are applied, while runc applies
them directly on the created cgroup. Since there is standardization
on the cgroup path to use, just use the limit specified in the spec
file.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'pkg')
0 files changed, 0 insertions, 0 deletions