spiegel_podman/pkg
Valentin Rothberg 8684d41e38 k8systemd: run k8s workloads in systemd
Support running `podman play kube` in systemd by exploiting the
previously added "service containers".  During `play kube`, a service
container is started before all the pods and containers, and is stopped
last.  The service container communicates its conmon PID via sdnotify.

Add a new systemd template to dispatch such k8s workloads.  The argument
of the template is the path to the k8s file.  Note that the path must be
escaped for systemd not to bark:

Let's assume we have a `top.yaml` file in the home directory:
```
$ escaped=$(systemd-escape ~/top.yaml)
$ systemctl --user start podman-play-kube@$escaped.service
```

Closes: https://issues.redhat.com/browse/RUN-1287
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-05-17 10:18:58 +02:00
..
annotations fix a number of godot issues 2022-03-22 13:04:35 +01:00
api Vendor in containers/buildah@v1.26.1 2022-05-05 04:41:06 -04:00
auth Run codespell on code 2022-01-21 09:52:12 -05:00
autoupdate enable unparam linter 2022-04-25 13:23:20 +02:00
bindings kube: add support for --userns= 2022-05-10 16:51:01 +02:00
channel channel: simplify implementation 2021-05-06 11:51:15 +02:00
checkpoint Add support for checkpoint image 2022-04-20 18:55:39 +01:00
copy bump go module to version 4 2022-01-18 12:47:07 +01:00
criu Add support for checkpoint image 2022-04-20 18:55:39 +01:00
ctime go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
domain k8systemd: run k8s workloads in systemd 2022-05-17 10:18:58 +02:00
env Add more unit tests 2022-05-04 08:29:54 -05:00
errorhandling linter: enable nilerr 2022-03-22 13:04:35 +01:00
hooks test: use T.TempDir to create temporary test directory 2022-05-05 21:09:41 +08:00
inspect fix a number of godot issues 2022-03-22 13:04:35 +01:00
k8s.io enable gocritic linter 2022-04-26 18:12:22 +02:00
kubeutils remove unneeded k8s code 2022-03-15 14:48:08 +01:00
lookup enable gocritic linter 2022-04-26 18:12:22 +02:00
machine Update WSL machine OS to enable user lingering 2022-05-15 13:35:46 -05:00
namespaces enable gocritic linter 2022-04-26 18:12:22 +02:00
parallel bump go module to version 4 2022-01-18 12:47:07 +01:00
ps bump go module to version 4 2022-01-18 12:47:07 +01:00
resolvconf Revert "Move each search dns to its own line" 2022-02-02 19:33:21 +01:00
rootless remote: do not join user NS 2022-04-26 15:05:20 +02:00
rootlessport go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
seccomp Spelling 2020-12-22 13:34:31 -05: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 Unit tests for pkg/specgenutil pkg/signal 2022-04-25 14:48:39 -05:00
specgen [BZ #2083997] pod: build pause image in custom user NS 2022-05-13 15:41:28 +02:00
specgenutil enable gocritic linter 2022-04-26 18:12:22 +02:00
systemd generate systemd: pods: set exit policy 2022-05-03 15:28:50 +02:00
terminal move golang.org/x/crypto/ssh/terminal to golang.org/x/term 2022-04-22 12:40:52 +02:00
timetype enable gocritic linter 2022-04-26 18:12:22 +02:00
trust Cleanup display of trust with transports 2022-02-22 15:08:58 -05:00
util Add support for machine events on Windows 2022-05-12 14:41:26 -05:00