add prod prom

main
ycz008 2024-04-15 15:47:30 +08:00
parent c508d710e0
commit 177dc13e66
1 changed files with 4 additions and 4 deletions

View File

@ -71,7 +71,7 @@ spec:
- --storage.tsdb.retention.time=15d
volumeMounts:
- name: prometheus
mountPath: /prometheus
mountPath: /prometheus/
- name: prom-config
mountPath: /etc/prometheus/prometheus.yaml
subPath: prometheus.yaml
@ -83,7 +83,7 @@ spec:
volumes:
- name: prometheus
hostPath:
path: /data/prometheus/data
path: /data/prometheus/data/
- name: prom-config
configMap:
name: prom-config