Valentin Rothberg
4eff0c8cf2
pod: add exit policies
...
Add the notion of an "exit policy" to a pod. This policy controls the
behaviour when the last container of pod exits. Initially, there are
two policies:
- "continue" : the pod continues running. This is the default policy
when creating a pod.
- "stop" : stop the pod when the last container exits. This is the
default behaviour for `play kube`.
In order to implement the deferred stop of a pod, add a worker queue to
the libpod runtime. The queue will pick up work items and in this case
helps resolve dead locks that would otherwise occur if we attempted to
stop a pod during container cleanup.
Note that the default restart policy of `play kube` is "Always". Hence,
in order to really solve #13464 , the YAML files must set a custom
restart policy; the tests use "OnFailure".
Fixes : #13464
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-05-02 13:29:59 +02:00
..
2021-09-20 12:06:26 -04:00
2022-01-28 08:14:05 -05:00
2021-11-10 09:03:40 -07:00
2022-04-25 11:53:57 -04:00
2022-03-23 13:49:42 -06:00
2021-11-11 16:17:41 +01:00
2022-04-20 18:55:39 +01:00
2022-01-28 08:14:05 -05:00
2022-04-21 15:00:32 -04:00
2022-01-28 08:14:05 -05:00
2022-01-24 19:34:36 +01:00
2022-04-12 13:35:51 -04:00
2022-01-27 07:19:02 -05:00
2022-04-20 18:55:39 +01:00
2022-03-23 13:49:42 -06:00
2022-02-20 21:11:14 -05:00
2021-09-16 09:41:29 -04:00
2022-04-25 11:53:57 -04:00
2022-01-28 08:14:05 -05:00
2022-04-19 16:30:26 -04:00
2022-01-28 08:14:05 -05:00
2022-03-23 13:49:42 -06:00
2022-04-15 21:51:30 +00:00
2022-04-12 06:02:48 -04:00
2021-11-10 09:29:21 -05:00
2021-11-10 09:29:21 -05:00
2021-11-10 09:29:21 -05:00
2022-04-27 15:15:03 -04:00
2021-11-10 09:29:21 -05:00
2021-11-10 09:29:21 -05:00
2021-11-10 09:29:21 -05:00
2021-11-10 09:29:21 -05:00
2022-01-27 07:19:02 -05:00
2022-04-25 09:14:04 -04:00
2022-03-23 13:49:42 -06:00
2021-11-10 09:29:21 -05:00
2022-02-22 15:08:58 -05:00
2022-04-22 06:18:20 -04:00
2021-11-10 09:29:21 -05:00
2022-04-14 10:58:36 +02:00
2022-03-23 13:49:42 -06:00
2021-11-10 09:29:21 -05:00
2022-04-04 22:46:28 +02:00
2022-03-23 13:49:42 -06:00
2022-04-04 22:46:28 +02:00
2022-03-23 13:49:42 -06:00
2022-01-28 08:14:05 -05:00
2022-03-23 13:49:42 -06:00
2022-03-29 17:29:13 +02:00
2022-04-25 09:14:04 -04:00
2022-04-12 15:51:39 -05:00
2022-04-16 08:54:56 -05:00
2022-03-23 13:49:42 -06:00
2022-04-27 13:56:14 -04:00
2021-11-10 09:29:21 -05:00
2021-11-10 09:29:21 -05:00
2021-11-10 09:29:21 -05:00
2022-04-12 15:51:39 -05:00
2022-01-28 08:14:05 -05:00
2021-11-10 09:29:21 -05:00
2021-11-10 09:29:21 -05:00
2021-11-10 09:29:21 -05:00
2021-11-10 09:29:21 -05:00
2022-03-23 13:49:42 -06:00
2021-11-10 09:29:21 -05:00
2021-11-10 09:29:21 -05:00
2021-11-10 09:29:21 -05:00
2022-01-28 08:14:05 -05:00
2021-12-14 15:23:39 +01:00
2022-04-11 11:09:15 +02:00
2021-11-10 09:29:21 -05:00
2022-01-24 19:34:36 +01:00
2022-02-15 16:46:23 +01:00
2022-03-23 13:49:42 -06:00
2022-03-28 21:56:13 +02:00
2022-04-25 11:53:57 -04:00
2022-02-15 16:46:23 +01:00
2022-02-15 16:46:23 +01:00
2021-11-10 09:29:21 -05:00
2022-04-25 11:53:57 -04:00
2021-11-10 09:29:21 -05:00
2022-05-02 13:29:59 +02:00
2021-11-10 09:29:21 -05:00
2022-03-23 13:49:42 -06:00
2022-04-04 22:46:28 +02:00
2022-03-29 17:29:13 +02:00
2022-03-28 21:56:13 +02:00
2021-11-10 09:29:21 -05:00
2022-03-23 13:49:42 -06:00
2022-01-28 08:14:05 -05:00
2022-04-05 23:40:07 +02:00
2022-04-05 23:40:07 +02:00
2022-03-23 13:49:42 -06:00
2022-03-23 13:49:42 -06:00
2022-01-28 08:14:05 -05:00
2022-04-05 23:40:07 +02:00
2021-11-10 09:29:21 -05:00
2022-01-28 08:14:05 -05:00
2022-03-23 13:49:42 -06:00
2022-04-25 11:53:57 -04:00
2022-03-23 13:49:42 -06:00
2022-02-02 18:07:10 -05:00
2021-11-10 09:29:21 -05:00
2022-01-28 08:14:05 -05:00
2022-03-23 13:49:42 -06:00
2022-03-19 10:05:43 +01:00
2022-04-25 11:53:57 -04:00
2022-03-23 13:49:42 -06:00
2022-04-28 09:40:46 +02:00
2022-03-23 13:49:42 -06:00
2021-11-10 09:29:21 -05:00
2022-03-23 13:49:42 -06:00
2021-11-10 09:29:21 -05:00
2021-11-10 09:29:21 -05:00
2022-03-23 13:49:42 -06:00
2022-03-23 13:49:42 -06:00
2022-01-28 08:14:05 -05:00
2021-11-10 09:29:21 -05:00
2021-11-10 09:29:21 -05:00
2021-11-10 09:29:21 -05:00
2021-11-10 09:29:21 -05:00
2021-11-10 09:29:21 -05:00
2021-11-10 09:29:21 -05:00
2021-11-10 09:29:21 -05:00
2021-11-10 09:29:21 -05:00
2022-01-27 07:19:02 -05:00
2021-11-10 09:29:21 -05:00
2022-02-03 13:14:07 +01:00
2022-04-25 11:53:57 -04:00
2021-11-10 09:29:21 -05:00
2021-11-10 09:29:21 -05:00
2022-01-28 08:14:05 -05:00
2022-03-28 21:56:13 +02:00
2022-03-28 21:56:13 +02:00
2022-03-22 17:54:37 +01:00
2022-01-24 19:34:36 +01:00
2022-03-23 13:49:42 -06:00
2022-04-28 13:29:01 +02:00
2022-01-24 19:34:36 +01:00
2022-03-23 13:49:42 -06:00
2021-11-10 09:29:21 -05:00
2021-11-10 09:29:21 -05:00
2022-03-28 21:56:13 +02:00
2022-02-28 14:26:22 -05:00
2022-03-23 13:49:42 -06:00
2021-11-10 09:29:21 -05:00
2022-03-28 21:56:13 +02:00
2022-02-28 14:26:22 -05:00
2022-01-28 08:14:05 -05:00
2022-04-23 08:03:36 -04:00