mirror of
https://github.com/containers/podman.git
synced 2025-06-26 12:56:45 +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]
|
[Unit]
|
||||||
Description=A template for running K8s workloads via podman-play-kube
|
Description=A template for running K8s workloads via podman-kube-play
|
||||||
Documentation=man:podman-play-kube(1)
|
Documentation=man:podman-kube-play(1)
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
RequiresMountsFor=%t/containers
|
RequiresMountsFor=%t/containers
|
||||||
@ -8,8 +8,8 @@ RequiresMountsFor=%t/containers
|
|||||||
[Service]
|
[Service]
|
||||||
Environment=PODMAN_SYSTEMD_UNIT=%n
|
Environment=PODMAN_SYSTEMD_UNIT=%n
|
||||||
TimeoutStopSec=70
|
TimeoutStopSec=70
|
||||||
ExecStart=@@PODMAN@@ play kube --replace --service-container=true %I
|
ExecStart=@@PODMAN@@ kube play --replace --service-container=true %I
|
||||||
ExecStop=@@PODMAN@@ play kube --down %I
|
ExecStop=@@PODMAN@@ kube down %I
|
||||||
Type=notify
|
Type=notify
|
||||||
NotifyAccess=all
|
NotifyAccess=all
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user