Move to PVE CSI provider

This commit is contained in:
Lauri Võsandi 2024-08-24 12:15:30 +03:00
parent 024edc1c9b
commit 3fbecab179

View File

@ -2,8 +2,19 @@
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: minio
provisioner: rancher.io/local-path
name: postgres
provisioner: rawfile.csi.openebs.io
reclaimPolicy: Retain
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
parameters:
fsType: "xfs"
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: mysql
provisioner: rawfile.csi.openebs.io
reclaimPolicy: Retain
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
@ -14,7 +25,7 @@ apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: mongo
provisioner: rancher.io/local-path
provisioner: rawfile.csi.openebs.io
reclaimPolicy: Retain
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
@ -25,7 +36,7 @@ apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: prometheus
provisioner: rancher.io/local-path
provisioner: rawfile.csi.openebs.io
reclaimPolicy: Retain
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
@ -55,3 +66,14 @@ parameters:
dataLocality: best-effort
numberOfReplicas: "3"
fsType: "xfs"
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: rabbitmq
provisioner: rawfile.csi.openebs.io
reclaimPolicy: Retain
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
parameters:
fsType: "xfs"