Fix shadowsocks prom writer TSDB retention time
All checks were successful
Check with kubeconform / lint (push) Successful in 6s
All checks were successful
Check with kubeconform / lint (push) Successful in 6s
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user