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 image: prom/prometheus:v2.51.2
args: args:
- --config.file=/etc/prometheus/prometheus.yaml - --config.file=/etc/prometheus/prometheus.yaml
- --storage.tsdb.path=/etc/prometheus/data
- --storage.tsdb.retention.time=15d - --storage.tsdb.retention.time=15d
volumeMounts: volumeMounts:
- name: prometheus - name: prometheus
mountPath: /etc/prometheus/data mountPath: /prometheus
- name: prom-config - name: prom-config
mountPath: /etc/prometheus/prometheus.yaml mountPath: /etc/prometheus/prometheus.yaml
subPath: prometheus.yaml subPath: prometheus.yaml