update prometheus config and rules mounting method

This commit is contained in:
2024-06-26 14:51:13 +10:00
parent b6f00d0140
commit 923263f27e
2 changed files with 4 additions and 141 deletions

View File

@@ -38,10 +38,10 @@ spec:
mountPath: /prometheus/
volumes:
- name: prometheus-config-volume
configMap:
defaultMode: 420
name: prometheus-server-conf
hostPath:
path: /mnt/nfs/AppData/prometheus/conf
type: Directory
- name: prometheus-storage-volume
hostPath:
path: /mnt/nfs/AppData/prometheus
path: /mnt/nfs/AppData/prometheus/storage
type: Directory