add prod prom

main
ycz008 2024-04-15 15:57:13 +08:00
parent 3c4395562c
commit dd5ec40dd4
1 changed files with 3 additions and 0 deletions

View File

@ -66,6 +66,9 @@ spec:
containers:
- name: prometheus
image: prom/prometheus:v2.51.2
securityContext:
runAsUser: 1000
allowPrivilegeEscalation: false
args:
- --config.file=/etc/prometheus/prometheus.yaml
- --storage.tsdb.path=/prometheus/data