Quadlet (Podman on systemd)

Run Kubernetes YAML specification workloads on single nodes instead of a cluster. - Make systemd better for Podman with Quadlet / github

It is merged in podman 4, but only available on ubuntu 22.04

Example of .kube deployement

from Deploying a multi-container application using Podman and Quadlet

# The place where we will store the definition
$ mkdir -p $HOME/.config/containers/systemd/

paperless.kube stored in $HOME/.config/containers/systemd/

[Install]
WantedBy=default.target

[Kube]
# Point to the yaml file in the same directory
Yaml=/mnt/paperless/paperless.yaml
# Publish the envoy proxy data port => this has to match otherwise service won't start
PublishPort=8000:8000
# to start pod
$ systemctl --user daemon-reload
$ systemctl --user start paperless.service

see also

Written on October 20, 2023, Last update on October 21, 2023
docker systemd k8