kubernetes 对 rook 进行扩容

说明

对 ceph cluster 进行扩容操作

ceph/rook 集群配置查询

参考之前创建 rook 集群 yaml 中 kind 字段

kind: CephCluster

可以通过下面命令查询集群配置信息

[root@ns-yun-020065 ceph]# kubectl -n rook-ceph get CephCluster
NAME        DATADIRHOSTPATH   MONCOUNT   AGE   STATE
rook-ceph   /var/lib/rook     3          16h   Created

查询方法

[root@ns-yun-020065 ceph]# kubectl -n rook-ceph describe CephCluster

Name:         rook-ceph
Namespace:    rook-ceph
Labels:       
Annotations:  kubectl.kubernetes.io/last-applied-configuration:
                {"apiVersion":"ceph.rook.io/v1","kind":"CephCluster","metadata":{"annotations":{},"name":"rook-ceph","namespace":"rook-ceph"},"spec":{"cep...
API Version:  ceph.rook.io/v1
Kind:         CephCluster
Metadata:
  Creation Timestamp:  2019-02-28T08:33:05Z
  Finalizers:
    cephcluster.ceph.rook.io
  Generation:        8

你可能感兴趣的:(kubernetes,rook,ceph)