spiegel_podman/pkg/specgen
Charlie Doern 050f3291b9 implement podman update
podman update allows users to change the cgroup configuration of an existing container using the already defined resource limits flags
from podman create/run. The supported flags in crun are:

this command is also now supported in the libpod api via the /libpod/containers/<CID>/update endpoint where
the resource limits are passed inthe request body and follow the OCI resource spec format

–memory
–cpus
–cpuset-cpus
–cpuset-mems
–memory-swap
–memory-reservation
–cpu-shares
–cpu-quota
–cpu-period
–blkio-weight
–cpu-rt-period
–cpu-rt-runtime
-device-read-bps
-device-write-bps
-device-read-iops
-device-write-iops
-memory-swappiness
-blkio-weight-device

resolves #15067

Signed-off-by: Charlie Doern <cdoern@redhat.com>
2022-09-01 13:02:01 -04:00
..
generate implement podman update 2022-09-01 13:02:01 -04:00
config_unsupported.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
container_validate.go kube play: sd-notify integration 2022-08-10 21:12:39 +02:00
namespaces.go podman: add uid and gid options to keep-id 2022-08-30 14:39:27 +02:00
namespaces_test.go pkg/specgen: parse default network mode on server 2022-06-01 17:13:30 +02:00
pod_validate.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
podspecgen.go fix namespace reporting 2022-07-07 09:51:20 -04:00
specgen.go run,create: add support for --env-merge for preprocessing vars 2022-08-24 14:06:25 +05:30
specgen_test.go fix test 2021-10-11 17:41:58 +08:00
utils.go implement podman update 2022-09-01 13:02:01 -04:00
utils_linux.go implement podman update 2022-09-01 13:02:01 -04:00
volumes.go Add emptyDir volume support to kube play 2022-08-30 10:34:45 -04:00
winpath.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
winpath_linux.go Implements Windows volume/mount support 2022-04-25 13:52:27 -05:00
winpath_unsupported.go Implements Windows volume/mount support 2022-04-25 13:52:27 -05:00
winpath_windows.go Implements Windows volume/mount support 2022-04-25 13:52:27 -05:00