Add support to ShmSize in Pods with Quadlet

This closes #22915

Signed-off-by: Odilon Sousa <osousa@redhat.com>
This commit is contained in:
Odilon Sousa
2024-12-30 12:33:00 -03:00
parent d3cd5098f0
commit d1a3f96cbf
4 changed files with 17 additions and 3 deletions

View File

@ -953,6 +953,7 @@ Valid options for `[Pod]` are listed below:
| PodName=name | --name=name |
| PublishPort=8080:80 | --publish 8080:80 |
| ServiceName=name | Name the systemd unit `name.service` |
| ShmSize=100m | --shm-size=100m |
| SubGIDMap=gtest | --subgidname=gtest |
| SubUIDMap=utest | --subuidname=utest |
| UIDMap=0:10000:10 | --uidmap=0:10000:10 |
@ -1092,6 +1093,12 @@ Setting this key overrides this behavior by instructing Quadlet to use the provi
Note, the name should not include the `.service` file extension
### `ShmSize=`
Size of /dev/shm.
This is equivalent to the Podman `--shm-size` option and generally has the form `number[unit]`
### `SubGIDMap=`
Create the pod in a new user namespace using the map with name in the /etc/subgid file.