Fix shadowsocks prom writer TSDB retention time
All checks were successful
Check with kubeconform / lint (push) Successful in 6s

This commit is contained in:
Ultradesu
2025-04-15 17:32:24 +03:00
parent a1087b9e47
commit 763ccbd44d

View File

@ -114,7 +114,7 @@ spec:
args:
- |
cat /prometheus/config.yml | sed -e "s/_HOSTNAME_/${HOSTNAME}/g" -e "s/_PROM_PASS_/${PROM_PASS}/g" -e "s/_PROM_USER_/${PROM_USER}/g" > /prometheus/real_config.yml &&
exec prometheus --config.file=/prometheus/real_config.yml --log.level=info --web.enable-lifecycle --web.enable-admin-api --web.listen-address=127.0.0.1:3478
exec prometheus --config.file=/prometheus/real_config.yml --log.level=info --web.enable-lifecycle --web.enable-admin-api --web.listen-address=127.0.0.1:3478 --storage.tsdb.retention.time=1d
volumeMounts:
- name: prometheus-config-volume
mountPath: /prometheus/config.yml