Resource control via Podman vs systemd
Do the below quadlet definitions do the same thing with regards to CPU/memory resource control?
Podman Quadlet:
$ cat app.container
[Container]
Image=example-image
Environment=EXAMPLE=value
Volume=app.volume:/path/to/data:Z
Memory=512m
PodmanArgs=--cpus=1
vs resource control via systemd:
$ cat app.container
[Container]
Image=example-image
Environment=EXAMPLE=value
Volume=app.volume:/path/to/data:Z
[Service]
CPUQuota=100%
MemoryMax=512M
Which of the two would you prefer?