Skip to content

Instantly share code, notes, and snippets.

@tutsunom
Created August 13, 2019 05:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tutsunom/5ebd7756805bb84a44fe138d6ccb282d to your computer and use it in GitHub Desktop.
Save tutsunom/5ebd7756805bb84a44fe138d6ccb282d to your computer and use it in GitHub Desktop.
Rook-Ceph: create ceph rbd pool and storageclass
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