mirror of
https://github.com/containers/podman.git
synced 2026-03-13 08:01:19 +08:00
podman-kube@ template: use podman kube
Use the new `podman kube {down,play}` commands.
[NO NEW TESTS NEEDED] as this is a purely cosmetic change.
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=A template for running K8s workloads via podman-play-kube
|
||||
Documentation=man:podman-play-kube(1)
|
||||
Description=A template for running K8s workloads via podman-kube-play
|
||||
Documentation=man:podman-kube-play(1)
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
RequiresMountsFor=%t/containers
|
||||
@@ -8,8 +8,8 @@ RequiresMountsFor=%t/containers
|
||||
[Service]
|
||||
Environment=PODMAN_SYSTEMD_UNIT=%n
|
||||
TimeoutStopSec=70
|
||||
ExecStart=@@PODMAN@@ play kube --replace --service-container=true %I
|
||||
ExecStop=@@PODMAN@@ play kube --down %I
|
||||
ExecStart=@@PODMAN@@ kube play --replace --service-container=true %I
|
||||
ExecStop=@@PODMAN@@ kube down %I
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
|
||||
|
||||
Reference in New Issue
Block a user