mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00
Merge pull request #24442 from Honny1/change-healthcheck-config-via-podman-update
Configure HealthCheck with `podman update`
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
####> This option file is used in:
|
||||
####> podman create, run
|
||||
####> podman create, run, update
|
||||
####> If file is edited, make sure the changes
|
||||
####> are applicable to all of those.
|
||||
#### **--health-cmd**=*"command"* | *'["command", "arg1", ...]'*
|
||||
|
@ -1,5 +1,5 @@
|
||||
####> This option file is used in:
|
||||
####> podman create, run
|
||||
####> podman create, run, update
|
||||
####> If file is edited, make sure the changes
|
||||
####> are applicable to all of those.
|
||||
#### **--health-interval**=*interval*
|
||||
|
@ -1,5 +1,5 @@
|
||||
####> This option file is used in:
|
||||
####> podman create, run
|
||||
####> podman create, run, update
|
||||
####> If file is edited, make sure the changes
|
||||
####> are applicable to all of those.
|
||||
#### **--health-log-destination**=*directory_path*
|
||||
|
@ -1,5 +1,5 @@
|
||||
####> This option file is used in:
|
||||
####> podman create, run
|
||||
####> podman create, run, update
|
||||
####> If file is edited, make sure the changes
|
||||
####> are applicable to all of those.
|
||||
#### **--health-max-log-count**=*number of stored logs*
|
||||
|
@ -1,5 +1,5 @@
|
||||
####> This option file is used in:
|
||||
####> podman create, run
|
||||
####> podman create, run, update
|
||||
####> If file is edited, make sure the changes
|
||||
####> are applicable to all of those.
|
||||
#### **--health-max-log-size**=*size of stored logs*
|
||||
|
@ -1,5 +1,5 @@
|
||||
####> This option file is used in:
|
||||
####> podman create, run
|
||||
####> podman create, run, update
|
||||
####> If file is edited, make sure the changes
|
||||
####> are applicable to all of those.
|
||||
#### **--health-on-failure**=*action*
|
||||
|
@ -1,5 +1,5 @@
|
||||
####> This option file is used in:
|
||||
####> podman create, run
|
||||
####> podman create, run, update
|
||||
####> If file is edited, make sure the changes
|
||||
####> are applicable to all of those.
|
||||
#### **--health-retries**=*retries*
|
||||
|
@ -1,5 +1,5 @@
|
||||
####> This option file is used in:
|
||||
####> podman create, run
|
||||
####> podman create, run, update
|
||||
####> If file is edited, make sure the changes
|
||||
####> are applicable to all of those.
|
||||
#### **--health-start-period**=*period*
|
||||
|
@ -1,5 +1,5 @@
|
||||
####> This option file is used in:
|
||||
####> podman create, run
|
||||
####> podman create, run, update
|
||||
####> If file is edited, make sure the changes
|
||||
####> are applicable to all of those.
|
||||
#### **--health-startup-cmd**=*"command"* | *'["command", "arg1", ...]'*
|
||||
|
@ -1,5 +1,5 @@
|
||||
####> This option file is used in:
|
||||
####> podman create, run
|
||||
####> podman create, run, update
|
||||
####> If file is edited, make sure the changes
|
||||
####> are applicable to all of those.
|
||||
#### **--health-startup-interval**=*interval*
|
||||
|
@ -1,5 +1,5 @@
|
||||
####> This option file is used in:
|
||||
####> podman create, run
|
||||
####> podman create, run, update
|
||||
####> If file is edited, make sure the changes
|
||||
####> are applicable to all of those.
|
||||
#### **--health-startup-retries**=*retries*
|
||||
|
@ -1,5 +1,5 @@
|
||||
####> This option file is used in:
|
||||
####> podman create, run
|
||||
####> podman create, run, update
|
||||
####> If file is edited, make sure the changes
|
||||
####> are applicable to all of those.
|
||||
#### **--health-startup-success**=*retries*
|
||||
|
@ -1,5 +1,5 @@
|
||||
####> This option file is used in:
|
||||
####> podman create, run
|
||||
####> podman create, run, update
|
||||
####> If file is edited, make sure the changes
|
||||
####> are applicable to all of those.
|
||||
#### **--health-startup-timeout**=*timeout*
|
||||
|
@ -1,5 +1,5 @@
|
||||
####> This option file is used in:
|
||||
####> podman create, run
|
||||
####> podman create, run, update
|
||||
####> If file is edited, make sure the changes
|
||||
####> are applicable to all of those.
|
||||
#### **--health-timeout**=*timeout*
|
||||
|
@ -1,5 +1,5 @@
|
||||
####> This option file is used in:
|
||||
####> podman create, run
|
||||
####> podman create, run, update
|
||||
####> If file is edited, make sure the changes
|
||||
####> are applicable to all of those.
|
||||
#### **--no-healthcheck**
|
||||
|
@ -10,8 +10,7 @@ podman\-update - Update the configuration of a given container
|
||||
|
||||
## DESCRIPTION
|
||||
|
||||
Updates the configuration of an already existing container, allowing different resource limits to be set.
|
||||
The currently supported options are a subset of the podman create/run resource limit options.
|
||||
Updates the configuration of an existing container, allowing changes to resource limits and healthchecks.
|
||||
|
||||
## OPTIONS
|
||||
|
||||
@ -43,6 +42,40 @@ The currently supported options are a subset of the podman create/run resource l
|
||||
|
||||
@@option device-write-iops
|
||||
|
||||
@@option health-cmd
|
||||
|
||||
@@option health-interval
|
||||
|
||||
Changing this setting resets the timer.
|
||||
|
||||
@@option health-log-destination
|
||||
|
||||
Warning: Changing this setting may cause the loss of previous logs.
|
||||
|
||||
@@option health-max-log-count
|
||||
|
||||
@@option health-max-log-size
|
||||
|
||||
@@option health-on-failure
|
||||
|
||||
@@option health-retries
|
||||
|
||||
@@option health-start-period
|
||||
|
||||
@@option health-startup-cmd
|
||||
|
||||
@@option health-startup-interval
|
||||
|
||||
Changing this setting resets the timer, depending on the state of the container.
|
||||
|
||||
@@option health-startup-retries
|
||||
|
||||
@@option health-startup-success
|
||||
|
||||
@@option health-startup-timeout
|
||||
|
||||
@@option health-timeout
|
||||
|
||||
@@option memory
|
||||
|
||||
@@option memory-reservation
|
||||
@ -51,6 +84,8 @@ The currently supported options are a subset of the podman create/run resource l
|
||||
|
||||
@@option memory-swappiness
|
||||
|
||||
@@option no-healthcheck
|
||||
|
||||
@@option pids-limit
|
||||
|
||||
@@option restart
|
||||
|
Reference in New Issue
Block a user