mirror of
https://github.com/containers/podman.git
synced 2025-05-20 16:47:39 +08:00
podman pod create --memory
using the new resource backend, implement podman pod create --memory which enables users to modify memory.max inside of the parent cgroup (the pod), implicitly impacting all children unless overriden Signed-off-by: Charlie Doern <cdoern@redhat.com>
This commit is contained in:
@ -751,6 +751,7 @@ func (p *Pod) Inspect() (*define.InspectPodData, error) {
|
||||
CPUSetCPUs: p.ResourceLim().CPU.Cpus,
|
||||
CPUPeriod: p.CPUPeriod(),
|
||||
CPUQuota: p.CPUQuota(),
|
||||
MemoryLimit: p.MemoryLimit(),
|
||||
Mounts: inspectMounts,
|
||||
Devices: devices,
|
||||
BlkioDeviceReadBps: deviceLimits,
|
||||
|
Reference in New Issue
Block a user