[root@docker rook]# helm install --tls --namespace rook --name rook-ceph rook-beta/rook-ceph -f rook-values.yaml
NAME: rook-ceph
LAST DEPLOYED: Sun Sep 8 19:17:54 2019
NAMESPACE: rook
STATUS: DEPLOYED
RESOURCES:
==> v1/ServiceAccount
NAME SECRETS AGE
rook-ceph-system 1 1s
==> v1beta1/ClusterRole
NAME AGE
rook-ceph-global 1s
rook-ceph-system-psp-user 1s
rook-ceph-mgr-cluster 1s
rook-ceph-cluster-mgmt 0s
==> v1beta1/RoleBinding
NAME AGE
rook-ceph-system 0s
==> v1beta1/PodSecurityPolicy
NAME PRIV CAPS SELINUX RUNASUSER FSGROUP SUPGROUP READONLYROOTFS VOLUMES
00-rook-ceph-operator true * RunAsAny RunAsAny RunAsAny RunAsAny false *
==> v1beta1/CustomResourceDefinition
NAME AGE
cephobjectstoreusers.ceph.rook.io 1s
cephblockpools.ceph.rook.io 1s
cephclusters.ceph.rook.io 1s
cephobjectstores.ceph.rook.io 1s
volumes.rook.io 1s
cephfilesystems.ceph.rook.io 1s
==> v1beta1/ClusterRoleBinding
NAME AGE
rook-ceph-system-psp-users 0s
rook-ceph-global 0s
==> v1beta1/Role
NAME AGE
rook-ceph-system 0s
==> v1beta1/Deployment
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
rook-ceph-operator 1 1 1 0 0s
==> v1/Pod(related)
NAME READY STATUS RESTARTS AGE
rook-ceph-operator-6f7686b77d-l4vh6 0/1 Pending 0 0s
NOTES:
The Rook Operator has been installed. Check its status by running:
kubectl --namespace rook get pods -l "app=rook-ceph-operator"
Visit https://rook.io/docs/rook/master for instructions on how
to create & configure Rook clusters
[root@docker rook]# kubectl --namespace rook get pods -l "app=rook-ceph-operator"
NAME READY STATUS RESTARTS AGE
rook-ceph-operator-6f7686b77d-l4vh6 0/1 ContainerCreating 0 84s
[root@docker rook]#
[root@docker rook]# kubectl --namespace rook get pods -l "app=rook-ceph-operator"
NAME READY STATUS RESTARTS AGE
rook-ceph-operator-6f7686b77d-l4vh6 0/1 ContainerCreating 0 5m4s
[root@docker rook]#
等待很久
[root@docker rook]# kubectl --namespace rook get pods -l "app=rook-ceph-operator"
NAME READY STATUS RESTARTS AGE
rook-ceph-operator-6f7686b77d-l4vh6 1/1 Running 0 39m
[root@docker rook]# kubectl get pods -n rook
NAME READY STATUS RESTARTS AGE
rook-ceph-agent-7x7b6 1/1 Running 0 16m
rook-ceph-operator-6f7686b77d-l4vh6 1/1 Running 0 39m
rook-discover-fh5xj 1/1 Running 0 16m
[root@docker rook]#
[root@docker rook]# helm install --namespace=rook --name rook-rbd-cluster -f values.yaml ibm-charts/ibm-rook-rbd-cluster --tls
Error: validation failed: [unable to recognize "": no matches for kind "Cluster" in version "ceph.rook.io/v1beta1", unable to recognize "": no matches for kind "Pool" in version "ceph.rook.io/v1beta1"]
[root@docker rook]#
[root@docker rook]# helm install --name rook-rbd-cluster -f values.yaml ibm-charts/ibm-rook-rbd-cluster --tls
Error: validation failed: [unable to recognize "": no matches for kind "Cluster" in version "ceph.rook.io/v1beta1", unable to recognize "": no matches for kind "Pool" in version "ceph.rook.io/v1beta1"]
[root@docker rook]#