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:
requests:
storage: 10Gi
storageClassName: local-path
storageClassName: prometheus
---
apiVersion: v1
kind: ServiceAccount

View File

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