Migrate storage classes to ceph

This commit is contained in:
2025-08-07 21:06:27 +03:00
parent 3e3814efbe
commit ad35fc4828

View File

@@ -7,17 +7,22 @@ metadata:
kubernetes.io/description: | kubernetes.io/description: |
Storage class for Mongo and similar applications that Storage class for Mongo and similar applications that
implement high availability in application layer. implement high availability in application layer.
This storage class uses XFS, has no block level redundancy and provisioner: rook-ceph.rbd.csi.ceph.comt
has block device level caching disabled.
provisioner: csi.proxmox.sinextra.dev
reclaimPolicy: Retain
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
parameters: parameters:
clusterID: rook-ceph
csi.storage.k8s.io/controller-expand-secret-name: rook-csi-rbd-provisioner
csi.storage.k8s.io/controller-expand-secret-namespace: rook-ceph
csi.storage.k8s.io/fstype: xfs csi.storage.k8s.io/fstype: xfs
storage: ks-pvs csi.storage.k8s.io/node-stage-secret-name: rook-csi-rbd-node
cache: none csi.storage.k8s.io/node-stage-secret-namespace: rook-ceph
ssd: "true" csi.storage.k8s.io/provisioner-secret-name: rook-csi-rbd-provisioner
csi.storage.k8s.io/provisioner-secret-namespace: rook-ceph
imageFeatures: layering
imageFormat: '2'
pool: ks-nvme
reclaimPolicy: Retain
allowVolumeExpansion: true
volumeBindingMode: WaitForFirstConsumer
--- ---
apiVersion: storage.k8s.io/v1 apiVersion: storage.k8s.io/v1
kind: StorageClass kind: StorageClass
@@ -27,17 +32,22 @@ metadata:
kubernetes.io/description: | kubernetes.io/description: |
Storage class for Prometheus and similar applications that Storage class for Prometheus and similar applications that
implement high availability in application layer. implement high availability in application layer.
This storage class uses XFS, has no block level redundancy and provisioner: rook-ceph.rbd.csi.ceph.comt
has block device level caching disabled.
provisioner: csi.proxmox.sinextra.dev
reclaimPolicy: Retain
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
parameters: parameters:
clusterID: rook-ceph
csi.storage.k8s.io/controller-expand-secret-name: rook-csi-rbd-provisioner
csi.storage.k8s.io/controller-expand-secret-namespace: rook-ceph
csi.storage.k8s.io/fstype: xfs csi.storage.k8s.io/fstype: xfs
storage: ks-pvs csi.storage.k8s.io/node-stage-secret-name: rook-csi-rbd-node
cache: none csi.storage.k8s.io/node-stage-secret-namespace: rook-ceph
ssd: "true" csi.storage.k8s.io/provisioner-secret-name: rook-csi-rbd-provisioner
csi.storage.k8s.io/provisioner-secret-namespace: rook-ceph
imageFeatures: layering
imageFormat: '2'
pool: ks-nvme
reclaimPolicy: Retain
allowVolumeExpansion: true
volumeBindingMode: WaitForFirstConsumer
--- ---
apiVersion: storage.k8s.io/v1 apiVersion: storage.k8s.io/v1
kind: StorageClass kind: StorageClass
@@ -85,38 +95,22 @@ metadata:
Storage class for RabbitMQ and similar applications Storage class for RabbitMQ and similar applications
deployed in highly available fashion utilizing application level deployed in highly available fashion utilizing application level
replication needing persistent volume. replication needing persistent volume.
This storage class uses XFS, has no block level redundancy and provisioner: rook-ceph.rbd.csi.ceph.comt
has block device level caching disabled.
provisioner: csi.proxmox.sinextra.dev
reclaimPolicy: Retain
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
parameters: parameters:
clusterID: rook-ceph
csi.storage.k8s.io/controller-expand-secret-name: rook-csi-rbd-provisioner
csi.storage.k8s.io/controller-expand-secret-namespace: rook-ceph
csi.storage.k8s.io/fstype: xfs csi.storage.k8s.io/fstype: xfs
storage: ks-pvs csi.storage.k8s.io/node-stage-secret-name: rook-csi-rbd-node
cache: none csi.storage.k8s.io/node-stage-secret-namespace: rook-ceph
ssd: "true" csi.storage.k8s.io/provisioner-secret-name: rook-csi-rbd-provisioner
--- csi.storage.k8s.io/provisioner-secret-namespace: rook-ceph
apiVersion: storage.k8s.io/v1 imageFeatures: layering
kind: StorageClass imageFormat: '2'
metadata: pool: ks-nvme
name: redis
annotations:
kubernetes.io/description: |
Storage class for 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 reclaimPolicy: Retain
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true allowVolumeExpansion: true
parameters: volumeBindingMode: WaitForFirstConsumer
csi.storage.k8s.io/fstype: xfs
storage: ks-pvs
cache: none
ssd: "true"
--- ---
apiVersion: storage.k8s.io/v1 apiVersion: storage.k8s.io/v1
kind: StorageClass kind: StorageClass