This change allows block storage to use a given Ceph pool for it's data. Fixes #1733 Signed-off-by: Alexander Trost <galexrt@googlemail.com>
23 lines
625 B
YAML
23 lines
625 B
YAML
apiVersion: ceph.rook.io/v1beta1
|
|
kind: Pool
|
|
metadata:
|
|
name: replicapool
|
|
namespace: rook-ceph
|
|
spec:
|
|
replicated:
|
|
size: 1
|
|
---
|
|
apiVersion: storage.k8s.io/v1
|
|
kind: StorageClass
|
|
metadata:
|
|
name: rook-ceph-block
|
|
provisioner: ceph.rook.io/block
|
|
parameters:
|
|
pool: replicapool
|
|
# Specify the namespace of the rook cluster from which to create volumes.
|
|
# If not specified, it will use `rook` as the default namespace of the cluster.
|
|
# This is also the namespace where the cluster will be
|
|
clusterNamespace: rook-ceph
|
|
# Specify the filesystem type of the volume. If not specified, it will use `ext4`.
|
|
fstype: xfs
|