-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Pod Quadlet can configure podman pod stop --time #27250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: nimdrak The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I think you will also have to document this in https://github.com/containers/podman/blob/main/docs/source/markdown/podman-systemd.unit.5.md |
@jankaluza Thanks. I missed the point. I'll do that soon. |
f93e444
to
007d3b8
Compare
[NON-BLOCKING] Packit jobs failed. @containers/packit-build please check. Everyone else, feel free to ignore. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. Small nit
pkg/systemd/quadlet/quadlet.go
Outdated
execStop := createBasePodmanCommand(podUnit, PodGroup) | ||
execStop.add("pod", "stop") | ||
stopTimeout := "10" | ||
if value, ok := podUnit.Lookup(PodGroup, "StopTimeout"); ok { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if value, ok := podUnit.Lookup(PodGroup, "StopTimeout"); ok { | |
if value, ok := podUnit.Lookup(PodGroup, KeyStopTimeout); ok { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much, I reflected it !
|
||
This is equivalent to the Podman `--shm-size` option and generally has the form `number[unit]` | ||
|
||
### `StopTimeOut` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### `StopTimeOut` | |
### `StopTimeout` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I reflected it!
e168bec
to
7b2c32b
Compare
Signed-off-by: ByoungUk Lee <[email protected]>
Signed-off-by: ByoungUk Lee <[email protected]>
You have some trailing whitespace in podman-systemd.unit.5.md |
Fixed #27120
Does this PR introduce a user-facing change?