1
0
mirror of https://github.com/jcwimer/kubernetes-ansible synced 2026-05-16 09:09:00 +00:00

Changed rooke to standard storageclass

This commit is contained in:
2019-05-03 15:09:54 -04:00
parent d40b91691f
commit 0537239d74
8 changed files with 4 additions and 287 deletions

View File

@@ -2,5 +2,5 @@ kubectl apply -f operator.yaml
sleep 30s
kubectl apply -f cluster.yaml
sleep 60s
echo kubectl apply -f storageclass.yaml
kubectl apply -f dashboard-external.yaml
echo kubectl apply -f storageclass.yaml

View File

@@ -1,7 +1,7 @@
apiVersion: ceph.rook.io/v1beta1
kind: Pool
metadata:
name: replicapool
name: kubernetespool
namespace: rook-ceph
spec:
replicated:
@@ -10,10 +10,10 @@ spec:
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: rook-ceph-block
name: standard
provisioner: ceph.rook.io/block
parameters:
pool: replicapool
pool: kubernetespool
# 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`.