Add Label to quadlet pod

Signed-off-by: Robin Heinemeier <sunnerlp@gmail.com>
This commit is contained in:
Robin Heinemeier
2025-04-24 10:21:19 +00:00
committed by GitHub
parent bc81470714
commit 802fc15b1e
5 changed files with 35 additions and 9 deletions

View File

@ -1008,6 +1008,7 @@ Valid options for `[Pod]` are listed below:
| HostName=name | --hostname=name |
| IP=192.5.0.1 | --ip 192.5.0.1 |
| IP6=2001:db8::1 | --ip6 2001:db8::1 |
| Label="XYZ" | --label "XYZ" |
| Network=host | --network host |
| NetworkAlias=name | --network-alias name |
| PodmanArgs=\-\-cpus=2 | --cpus=2 |
@ -1093,6 +1094,13 @@ Equivalent to the Podman `--ip` option.
Specify a static IPv6 address for the pod, for example **fd46:db93:aa76:ac37::10**.
Equivalent to the Podman `--ip6` option.
### `Label=`
Set one or more OCI labels on the pod. The format is a list of
`key=value` items, similar to `Environment`.
This key can be listed multiple times.
### `Network=`
Specify a custom network for the pod.