add prod prom
parent
c508d710e0
commit
177dc13e66
|
@ -67,11 +67,11 @@ spec:
|
||||||
- name: prometheus
|
- name: prometheus
|
||||||
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.retention.time=15d
|
- --storage.tsdb.retention.time=15d
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: prometheus
|
- name: prometheus
|
||||||
mountPath: /prometheus
|
mountPath: /prometheus/
|
||||||
- name: prom-config
|
- name: prom-config
|
||||||
mountPath: /etc/prometheus/prometheus.yaml
|
mountPath: /etc/prometheus/prometheus.yaml
|
||||||
subPath: prometheus.yaml
|
subPath: prometheus.yaml
|
||||||
|
@ -83,7 +83,7 @@ spec:
|
||||||
volumes:
|
volumes:
|
||||||
- name: prometheus
|
- name: prometheus
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /data/prometheus/data
|
path: /data/prometheus/data/
|
||||||
- name: prom-config
|
- name: prom-config
|
||||||
configMap:
|
configMap:
|
||||||
name: prom-config
|
name: prom-config
|
||||||
|
|
Loading…
Reference in New Issue