Valentin Rothberg
274d34a25a
kube play: support auto updates and rollbacks
...
Add auto-update support to `podman kube play`. Auto-update policies can
be configured for:
* the entire pod via the `io.containers.autoupdate` annotation
* a specific container via the `io.containers.autoupdate/$name` annotation
To make use of rollbacks, the `io.containers.sdnotify` policy should be
set to `container` such that the workload running _inside_ the container
can send the READY message via the NOTIFY_SOCKET once ready. For
further details on auto updates and rollbacks, please refer to the
specific article [1].
Since auto updates and rollbacks bases on Podman's systemd integration,
the k8s YAML must be executed in the `podman-kube@` systemd template.
For further details on how to run k8s YAML in systemd via Podman, please
refer to the specific article [2].
An examplary k8s YAML may look as follows:
```YAML
apiVersion: v1
kind: Pod
metadata:
annotations:
io.containers.autoupdate: "local"
io.containers.autoupdate/b: "registry"
labels:
app: test
name: test_pod
spec:
containers:
- command:
- top
image: alpine
name: a
- command:
- top
image: alpine
name: b
```
[1] https://www.redhat.com/sysadmin/podman-auto-updates-rollbacks
[2] https://www.redhat.com/sysadmin/kubernetes-workloads-podman-systemd
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-09-06 08:56:55 +02:00
..
2022-09-01 13:02:01 -04:00
2022-09-03 05:49:52 -06:00
2022-09-01 13:02:01 -04:00
2022-01-28 08:14:05 -05:00
2022-09-06 08:56:55 +02:00
2022-09-05 07:25:38 -04:00
2022-07-14 06:35:51 -06:00
2021-11-11 16:17:41 +01:00
2022-04-20 18:55:39 +01:00
2022-06-22 18:39:21 +02:00
2022-09-01 13:02:01 -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-08-22 12:38:02 -06:00
2022-09-01 13:02:01 -04:00
2022-06-10 09:42:19 +02:00
2022-09-03 05:49:52 -06:00
2022-01-28 08:14:05 -05:00
2022-07-13 10:55:27 -04:00
2022-08-24 04:43:06 -06:00
2022-03-23 13:49:42 -06:00
2022-08-04 13:59:58 -04:00
2022-08-26 15:34:05 +02:00
2022-08-11 16:58:24 +01:00
2021-11-10 09:29:21 -05:00
2021-11-10 09:29:21 -05:00
2022-05-11 13:14:08 -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
2021-11-10 09:29:21 -05:00
2022-01-27 07:19:02 -05:00
2022-06-02 16:05:05 -04:00
2022-08-22 12:38:02 -06:00
2021-11-10 09:29:21 -05:00
2022-08-25 01:50:43 +02:00
2022-04-22 06:18:20 -04:00
2021-11-10 09:29:21 -05:00
2022-08-15 13:34:42 -04:00
2022-07-19 10:33:53 -06:00
2022-08-04 13:39:15 +02:00
2022-04-04 22:46:28 +02:00
2022-03-23 13:49:42 -06:00
2022-08-31 05:27:08 -06:00
2022-08-23 12:55:53 +01:00
2022-08-11 16:58:24 +01:00
2022-08-31 09:36:04 -04:00
2022-08-11 16:58:24 +01:00
2022-03-23 13:49:42 -06:00
2022-08-22 12:38:02 -06:00
2022-08-16 09:13:38 -06:00
2022-08-24 17:48:02 -06:00
2022-07-14 06:35:51 -06:00
2022-08-30 13:35:07 +03:00
2022-06-29 09:19:09 -04:00
2022-06-29 09:19:09 -04:00
2022-06-29 09:19:09 -04:00
2022-07-14 06:35:51 -06:00
2022-06-29 09:19:09 -04:00
2022-06-29 09:19:09 -04:00
2022-06-29 09:19:09 -04:00
2022-07-05 15:18:41 -04:00
2022-08-22 12:38:02 -06:00
2022-07-14 06:35:51 -06:00
2022-08-17 15:02:53 -04:00
2021-11-10 09:29:21 -05:00
2021-11-10 09:29:21 -05:00
2022-09-01 15:45:00 -06:00
2021-11-10 09:29:21 -05:00
2021-11-10 09:29:21 -05:00
2022-07-19 17:22:52 +09:00
2022-01-28 08:14:05 -05:00
2022-07-22 13:46:28 +02:00
2022-07-22 13:46:28 +02:00
2021-11-10 09:29:21 -05:00
2022-01-24 19:34:36 +01:00
2022-07-22 13:46:28 +02:00
2022-07-22 13:46:28 +02:00
2022-03-28 21:56:13 +02:00
2022-04-25 11:53:57 -04:00
2022-07-22 13:46:28 +02:00
2022-07-22 13:46:28 +02:00
2022-08-22 12:17:20 -06:00
2022-09-03 05:49:52 -06:00
2022-09-03 05:49:52 -06:00
2021-11-10 09:29:21 -05:00
2022-07-14 06:35:51 -06:00
2022-08-31 05:27:08 -06:00
2022-08-24 17:48:02 -06: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-08-27 00:10:34 +02:00
2022-08-23 15:18:44 -06:00
2022-08-22 18:37:38 -06:00
2022-03-23 13:49:42 -06:00
2022-08-27 00:10:34 +02:00
2022-01-28 08:14:05 -05:00
2022-04-05 23:40:07 +02:00
2022-06-10 14:23:19 -04:00
2022-06-22 18:39:21 +02:00
2022-03-23 13:49:42 -06:00
2022-08-23 10:10:35 -06:00
2022-09-01 15:45:00 -06:00
2022-02-02 18:07:10 -05:00
2022-08-27 00:10:34 +02:00
2022-08-12 09:22:53 +09:00
2022-08-27 00:10:34 +02:00
2022-08-04 14:55:03 -04:00
2022-09-03 05:49:52 -06:00
2022-03-23 13:49:42 -06:00
2022-08-16 09:13:38 -06:00
2022-08-17 12:44:42 -04:00
2022-08-17 12:49:30 -04:00
2022-08-22 09:13:00 -04: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-08-17 13:16:01 -04:00
2022-08-23 15:18:44 -06:00
2022-07-14 06:35:51 -06:00
2021-11-10 09:29:21 -05:00
2022-05-11 13:14:08 -06:00
2022-07-14 06:35:51 -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
2021-11-10 09:29:21 -05:00
2022-06-14 14:04:03 +09:00
2021-11-10 09:29:21 -05:00
2022-05-04 10:31:42 -04:00
2022-08-23 16:12:08 -04:00
2022-06-14 14:04:03 +09: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-08-22 12:17:20 -06:00
2022-03-22 17:54:37 +01:00
2022-01-24 19:34:36 +01:00
2022-09-01 13:02:01 -04:00
2022-03-23 13:49:42 -06:00
2022-07-14 06:35:51 -06:00
2022-01-24 19:34:36 +01:00
2022-03-23 13:49:42 -06:00
2022-07-31 20:34:14 +00:00
2022-07-14 06:35:51 -06:00
2022-07-14 06:35:51 -06:00
2022-02-28 14:26:22 -05:00
2022-03-23 13:49:42 -06:00
2022-06-23 18:36:30 +02:00
2021-11-10 09:29:21 -05:00
2022-03-28 21:56:13 +02:00
2022-06-23 18:36:30 +02:00
2022-01-28 08:14:05 -05:00
2022-09-01 13:02:01 -04:00