diff --git a/mysql-clusters/storageclass.yaml b/mysql-clusters/storageclass.yaml index 3af0f6d..c0ca5a5 100644 --- a/mysql-clusters/storageclass.yaml +++ b/mysql-clusters/storageclass.yaml @@ -3,9 +3,18 @@ apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: mysql -provisioner: rawfile.csi.openebs.io + annotations: + kubernetes.io/description: | + Storage class for MySQL, MariaDB and similar applications that + implement high availability in application layer. + This storage class uses XFS, has no block level redundancy and + has block device level caching disabled. +provisioner: csi.proxmox.sinextra.dev reclaimPolicy: Retain volumeBindingMode: WaitForFirstConsumer allowVolumeExpansion: true parameters: - fsType: "xfs" + csi.storage.k8s.io/fstype: xfs + storage: ks-pvs + cache: none + ssd: "true" diff --git a/postgres-clusters/storageclass.yaml b/postgres-clusters/storageclass.yaml index 68ca31f..7bc12ce 100644 --- a/postgres-clusters/storageclass.yaml +++ b/postgres-clusters/storageclass.yaml @@ -3,9 +3,18 @@ apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: postgres -provisioner: rawfile.csi.openebs.io + annotations: + kubernetes.io/description: | + Storage class for Postgres, Postgis and similar applications that + implement high availability in application layer. + This storage class uses XFS, has no block level redundancy and + has block device level caching disabled. +provisioner: csi.proxmox.sinextra.dev reclaimPolicy: Retain volumeBindingMode: WaitForFirstConsumer allowVolumeExpansion: true parameters: - fsType: "xfs" + csi.storage.k8s.io/fstype: xfs + storage: ks-pvs + cache: none + ssd: "true" diff --git a/redis-clusters/storageclass.yaml b/redis-clusters/storageclass.yaml index 895482f..c29253c 100644 --- a/redis-clusters/storageclass.yaml +++ b/redis-clusters/storageclass.yaml @@ -3,9 +3,19 @@ apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: redis -provisioner: rawfile.csi.openebs.io + annotations: + kubernetes.io/description: | + Storage class for Redis, KeyDB, DragonflyDB and similar applications + deployed in highly available fashion utilizing application level + replication needing persistent volume for storing the snapshots. + This storage class uses XFS, has no block level redundancy and + has block device level caching disabled. +provisioner: csi.proxmox.sinextra.dev reclaimPolicy: Retain volumeBindingMode: WaitForFirstConsumer allowVolumeExpansion: true parameters: - fsType: "xfs" + csi.storage.k8s.io/fstype: xfs + storage: ks-pvs + cache: none + ssd: "true"