podman/libpod/define
Valentin Rothberg aad29e759c health check: add on-failure actions
For systems that have extreme robustness requirements (edge devices,
particularly those in difficult to access environments), it is important
that applications continue running in all circumstances. When the
application fails, Podman must restart it automatically to provide this
robustness. Otherwise, these devices may require customer IT to
physically gain access to restart, which can be prohibitively difficult.

Add a new `--on-failure` flag that supports four actions:

- **none**: Take no action.

- **kill**: Kill the container.

- **restart**: Restart the container.  Do not combine the `restart`
               action with the `--restart` flag.  When running inside of
               a systemd unit, consider using the `kill` or `stop`
               action instead to make use of systemd's restart policy.

- **stop**: Stop the container.

To remain backwards compatible, **none** is the default action.

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-09-09 13:02:05 +02:00
..
annotations.go Update init ctr default for play kube 2022-07-20 10:02:32 -04:00
checkpoint_restore.go Added optional container checkpointing statistics 2021-11-15 11:50:24 +00:00
config.go Fix bind-mount-option annotation in gen/play kube 2022-09-01 11:51:46 -04:00
container.go fix --init with /dev bind mount 2022-05-23 13:59:05 +02:00
container_inspect.go health check: add on-failure actions 2022-09-09 13:02:05 +02:00
containerstate.go libpod: switch to golang native error wrapping 2022-07-05 16:06:32 +02:00
diff.go podman diff accept two images or containers 2021-07-02 17:11:56 +02:00
errors.go Fix #15499 already connected network 2022-08-27 20:03:40 -05:00
exec_codes.go Run codespell 2022-08-25 16:32:31 -04:00
fileinfo.go Fixes from make codespell 2021-04-21 13:16:33 -04:00
healthchecks.go health check: add on-failure actions 2022-09-09 13:02:05 +02:00
info.go Add Authorixation field to Plugins for Info 2022-05-26 11:15:48 -07:00
mount.go libpod/define: Make TypeBind a platform-specific constant 2022-08-30 16:32:24 +01:00
mount_freebsd.go libpod/define: Make TypeBind a platform-specific constant 2022-08-30 16:32:24 +01:00
mount_linux.go libpod/define: Make TypeBind a platform-specific constant 2022-08-30 16:32:24 +01:00
mount_unsupported.go libpod/define: Make TypeBind a platform-specific constant 2022-08-30 16:32:24 +01:00
pod_inspect.go resource limits for pods 2022-07-21 14:50:01 -04:00
podstate.go Add a Degraded state to pods 2020-10-21 13:31:40 -04:00
runtime.go Add support for containers.conf 2020-03-27 14:36:03 -04:00
sdnotify.go kube play: sd-notify integration 2022-08-10 21:12:39 +02:00
version.go Add 'Os' to be queried via 'version' output 2022-03-29 18:10:59 -04:00
volume_inspect.go Add support for containers.conf volume timeouts 2022-08-23 15:42:00 -04:00