Created
August 13, 2019 05:18
-
-
Save tutsunom/5ebd7756805bb84a44fe138d6ccb282d to your computer and use it in GitHub Desktop.
Rook-Ceph: create ceph rbd pool and storageclass
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: ceph.rook.io/v1 | |
kind: CephBlockPool | |
metadata: | |
name: replicapool | |
namespace: my-rook-ceph | |
spec: | |
replicated: | |
size: 3 | |
--- | |
apiVersion: storage.k8s.io/v1 | |
kind: StorageClass | |
metadata: | |
name: rbd | |
provisioner: ceph.rook.io/block | |
parameters: | |
blockPool: replicapool | |
clusterNamespace: my-rook-ceph | |
fstype: xfs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment