add prod prom

main
ycz008 2024-04-15 15:43:52 +08:00
parent a86731a454
commit c508d710e0
1 changed files with 1 additions and 2 deletions

View File

@ -68,11 +68,10 @@ spec:
image: prom/prometheus:v2.51.2
args:
- --config.file=/etc/prometheus/prometheus.yaml
- --storage.tsdb.path=/etc/prometheus/data
- --storage.tsdb.retention.time=15d
volumeMounts:
- name: prometheus
mountPath: /etc/prometheus/data
mountPath: /prometheus
- name: prom-config
mountPath: /etc/prometheus/prometheus.yaml
subPath: prometheus.yaml