diff --git a/system-apps/rook-ceph/storage/block/rook-ceph-block-storageclass.yaml b/system-apps/rook-ceph/storage/block/rook-ceph-block-storageclass.yaml index 3587a2e..095e636 100644 --- a/system-apps/rook-ceph/storage/block/rook-ceph-block-storageclass.yaml +++ b/system-apps/rook-ceph/storage/block/rook-ceph-block-storageclass.yaml @@ -2,8 +2,6 @@ apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: rook-ceph-block - annotations: - storageclass.kubernetes.io/is-default-class: "true" provisioner: rook-ceph.rbd.csi.ceph.com parameters: clusterID: rook-ceph diff --git a/system-apps/rook-ceph/storage/shared/weyma-shared-pv.yaml b/system-apps/rook-ceph/storage/shared/weyma-shared-pv.yaml new file mode 100644 index 0000000..7efa8b2 --- /dev/null +++ b/system-apps/rook-ceph/storage/shared/weyma-shared-pv.yaml @@ -0,0 +1,30 @@ +apiVersion: storage.k8s.io/v1 +kind: StorageClass +metadata: + name: weyma-shared + annotations: + storageclass.kubernetes.io/is-default-class: "true" +# Change "rook-ceph" provisioner prefix to match the operator namespace if needed +provisioner: rook-ceph.cephfs.csi.ceph.com +parameters: + # clusterID is the namespace where the rook cluster is running + # If you change this namespace, also change the namespace below where the secret namespaces are defined + clusterID: rook-ceph + + # CephFS filesystem name into which the volume shall be created + fsName: weyma-shared + + # Ceph pool into which the volume shall be created + # Required for provisionVolume: "true" + pool: weyma-shared-replicated + + # The secrets contain Ceph admin credentials. These are generated automatically by the operator + # in the same namespace as the cluster. + csi.storage.k8s.io/provisioner-secret-name: rook-csi-cephfs-provisioner + csi.storage.k8s.io/provisioner-secret-namespace: rook-ceph + csi.storage.k8s.io/controller-expand-secret-name: rook-csi-cephfs-provisioner + csi.storage.k8s.io/controller-expand-secret-namespace: rook-ceph + csi.storage.k8s.io/node-stage-secret-name: rook-csi-cephfs-node + csi.storage.k8s.io/node-stage-secret-namespace: rook-ceph + +reclaimPolicy: Delete \ No newline at end of file diff --git a/system-apps/rook-ceph/storage/shared/weyma-shared.yaml b/system-apps/rook-ceph/storage/shared/weyma-shared.yaml new file mode 100644 index 0000000..ce1d89a --- /dev/null +++ b/system-apps/rook-ceph/storage/shared/weyma-shared.yaml @@ -0,0 +1,17 @@ +apiVersion: ceph.rook.io/v1 +kind: CephFilesystem +metadata: + name: weyma-shared + namespace: rook-ceph +spec: + metadataPool: + replicated: + size: 3 + dataPools: + - name: replicated + replicated: + size: 3 + preserveFilesystemOnDelete: true + metadataServer: + activeCount: 1 + activeStandby: true \ No newline at end of file