diff options
| author | unitexe <unitexe70@gmail.com> | 2026-02-23 08:25:47 -0600 |
|---|---|---|
| committer | unitexe <unitexe70@gmail.com> | 2026-03-02 22:51:24 -0600 |
| commit | 0c027f613039db54bc87fb6de63c0ffe253cabf2 (patch) | |
| tree | d636b1e73bf82f0f25528c0d1c9887bd31b5506b /meta-unit-virtualization/recipes-containers/prometheus-podman-exporter-rootless/files/prometheus-podman-exporter.container | |
| parent | 69509e438d1417d25d646ff1a3ba88e27e4ed282 (diff) | |
Introduce meta-unit-virtualization
Primary motivation for this is removing observability containers from beaglebone black because of RAM limitations. Images can now include the observability containers by adding `observability` to `IMAGE_FEATURES`.
Diffstat (limited to 'meta-unit-virtualization/recipes-containers/prometheus-podman-exporter-rootless/files/prometheus-podman-exporter.container')
| -rw-r--r-- | meta-unit-virtualization/recipes-containers/prometheus-podman-exporter-rootless/files/prometheus-podman-exporter.container | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-unit-virtualization/recipes-containers/prometheus-podman-exporter-rootless/files/prometheus-podman-exporter.container b/meta-unit-virtualization/recipes-containers/prometheus-podman-exporter-rootless/files/prometheus-podman-exporter.container new file mode 100644 index 0000000..0cdfb0b --- /dev/null +++ b/meta-unit-virtualization/recipes-containers/prometheus-podman-exporter-rootless/files/prometheus-podman-exporter.container @@ -0,0 +1,23 @@ +[Unit] +Description=A prometheus podman exporter container (rootless) +After=podman.socket +Wants=podman.socket + +[Container] +ContainerName=prometheus-podman-exporter-rootless +Image=quay.io/navidys/prometheus-podman-exporter:latest +PublishPort=127.0.0.1:9883:9882 +Volume=%t/podman/podman.sock:/run/podman/podman.sock:ro +Environment=CONTAINER_HOST=unix:///run/podman/podman.sock +PodmanArgs=--userns=keep-id:uid=65534 +Exec=--collector.enable-all + +[Service] +Restart=on-failure +RestartSec=10s +RestartSteps=5 +RestartMaxDelaySec=1min +TimeoutStartSec=15min + +[Install] +WantedBy=default.target |
