spiegel_podman/pkg
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 fix a number of godot issues 2022-03-22 13:04:35 +01:00
api Merge pull request #15584 from sstosh/generate-systemd-env 2022-09-06 15:40:55 +02:00
auth pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
autoupdate kube play: support auto updates and rollbacks 2022-09-06 08:56:55 +02:00
bindings fixes data race in system.Events and nil error logging 2022-09-07 20:57:18 +02:00
channel pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
checkpoint pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
copy pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
criu Fix spelling of GetCriuVersion 2022-06-27 12:57:44 +01:00
ctime golangci-lint: enable nolintlint 2022-06-14 16:29:42 +02:00
domain health check: add on-failure actions 2022-09-09 13:02:05 +02:00
env Allow podman to run in an environment with keys containing spaces 2022-08-23 14:44:23 -04:00
errorhandling libpod/runtime: switch to golang native error wrapping 2022-07-04 15:39:00 +02:00
inspect pkg/inspect: remove unused ImageResult type 2022-05-24 16:07:39 +02:00
k8s.io Add emptyDir volume support to kube play 2022-08-30 10:34:45 -04:00
lookup enable gocritic linter 2022-04-26 18:12:22 +02:00
machine Merge pull request #15610 from n1hility/release-workflow 2022-09-08 12:26:50 +02:00
namespaces podman: add uid and gid options to keep-id 2022-08-30 14:39:27 +02:00
parallel pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
ps libpod: switch to golang native error wrapping 2022-07-05 16:06:32 +02:00
rootless Don't warn on '/' not being shared while in a container 2022-08-15 10:28:29 -04:00
rootlessport go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
seccomp pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
selinux Fix SELinux functions names to not be repetitive 2020-04-23 15:57:34 -04:00
servicereaper go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
signal Implement CatchAll and StopCatch in signal_common.go 2022-06-27 13:27:12 +01:00
specgen health check: add on-failure actions 2022-09-09 13:02:05 +02:00
specgenutil health check: add on-failure actions 2022-09-09 13:02:05 +02:00
systemd Merge pull request #15547 from vrothberg/RUN-1606 2022-09-06 21:38:54 +02:00
terminal podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
timetype enable gocritic linter 2022-04-26 18:12:22 +02:00
trust Preserve all unknown PolicyRequirement fields on (podman image trust set) 2022-08-25 01:52:59 +02:00
util pkg/util: Add no-op implementation of AddPrivilegedDevices on FreeBSD 2022-09-05 10:17:49 +01:00