1
0
forked from k-space/kube

monitoring: Switch Prometheus to local path provisioner

This commit is contained in:
Lauri Võsandi 2023-09-23 11:55:56 +03:00
parent 6f6a132e97
commit 1e0bdf0559
2 changed files with 2 additions and 4 deletions

View File

@ -53,7 +53,7 @@ spec:
resources: resources:
requests: requests:
storage: 10Gi storage: 10Gi
storageClassName: local-path storageClassName: prometheus
--- ---
apiVersion: v1 apiVersion: v1
kind: ServiceAccount kind: ServiceAccount

View File

@ -14,12 +14,10 @@ apiVersion: storage.k8s.io/v1
kind: StorageClass kind: StorageClass
metadata: metadata:
name: prometheus name: prometheus
provisioner: rawfile.csi.openebs.io provisioner: rancher.io/local-path
reclaimPolicy: Retain reclaimPolicy: Retain
volumeBindingMode: WaitForFirstConsumer volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true allowVolumeExpansion: true
parameters:
fsType: "xfs"
--- ---
apiVersion: storage.k8s.io/v1 apiVersion: storage.k8s.io/v1
kind: StorageClass kind: StorageClass