Add comment explaining prometheus arguments
This commit is contained in:
parent
6c2daa7391
commit
3bb8704c15
@ -27,6 +27,9 @@ ExecStart=/usr/bin/podman run \
|
|||||||
-v {{ services_data_directory }}/pod-metrics/data/_data:/prometheus:U \
|
-v {{ services_data_directory }}/pod-metrics/data/_data:/prometheus:U \
|
||||||
--name=pod-metrics-prometheus \
|
--name=pod-metrics-prometheus \
|
||||||
docker.io/prom/prometheus:{{ services_service_deploy_versions.prometheus }}
|
docker.io/prom/prometheus:{{ services_service_deploy_versions.prometheus }}
|
||||||
|
# Careful about appending CLI arguments - in addition to the new arguments, all the arguments from
|
||||||
|
# the upstream Dockerfile must also be re-appended and it is not possible it use the configuration
|
||||||
|
# file to configure some arguments: https://github.com/prometheus/prometheus/issues/6188
|
||||||
ExecStop=/usr/bin/podman stop --ignore --cidfile %t/container-metrics-prometheus.ctr-id -t 10
|
ExecStop=/usr/bin/podman stop --ignore --cidfile %t/container-metrics-prometheus.ctr-id -t 10
|
||||||
ExecStopPost=/usr/bin/podman rm --ignore -f --cidfile %t/container-metrics-prometheus.ctr-id
|
ExecStopPost=/usr/bin/podman rm --ignore -f --cidfile %t/container-metrics-prometheus.ctr-id
|
||||||
PIDFile=%t/container-metrics-prometheus.pid
|
PIDFile=%t/container-metrics-prometheus.pid
|
||||||
|
Loading…
Reference in New Issue
Block a user