1
0
mirror of https://github.com/jcwimer/kubernetes-ansible synced 2026-05-12 23:17:02 +00:00

Moved back to rook 0.8.3

This commit is contained in:
2019-02-14 07:27:22 -05:00
parent b3541e1f9d
commit d40b91691f
5 changed files with 56 additions and 310 deletions

View File

@@ -1,11 +1,11 @@
apiVersion: ceph.rook.io/v1
kind: CephBlockPool
apiVersion: ceph.rook.io/v1beta1
kind: Pool
metadata:
name: replicapool
namespace: rook-ceph
spec:
replicated:
size: 1
size: 3
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
@@ -13,15 +13,8 @@ metadata:
name: rook-ceph-block
provisioner: ceph.rook.io/block
parameters:
blockPool: 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
pool: replicapool
# The value of "clusterNamespace" MUST be the same as the one in which your rook cluster exist
clusterNamespace: rook-ceph
# Specify the filesystem type of the volume. If not specified, it will use `ext4`.
fstype: xfs
# (Optional) Specify an existing Ceph user that will be used for mounting storage with this StorageClass.
#mountUser: user1
# (Optional) Specify an existing Kubernetes secret name containing just one key holding the Ceph user secret.
# The secret must exist in each namespace(s) where the storage will be consumed.
#mountSecret: ceph-user1-secret