Verify Ceph cluster state¶
This feature is available starting from the Container Cloud release 2.11.0.
This document describes how to verify the Ceph cluster state for Container Cloud version 2.11.0. For earlier Container Cloud versions, refer to Verify Ceph cluster state prior to Container Cloud 2.11.0 instead.
To verify the state of a Ceph cluster, Ceph controller provides special
KaaSCephCluster.status on a management cluster. The
resource contains information about the state of the Ceph cluster components,
their health, and potentially problematic components.
To verify the Ceph cluster state from a management cluster:
kubeconfigof a management cluster and provide it as an environment variable:
KaaSCephClusterresource in YAML format:
kubectl -n <projectName> get kaascephcluster -o yaml
<projectName>with the project name of the managed or management cluster where the required Ceph cluster is placed.
Verify the state of the required component using the KaaSCephCluster.status description.
To verify the Ceph cluster from a managed cluster:
kubeconfigof a managed cluster and provide it as an environment variable:
MiraCephresource in YAML format:
kubectl -n ceph-lcm-mirantis get miraceph -o yaml
MiraCeph.statusis passed to the
miraCephInfosection of the
KaaSCephClusterCR. For details, see KaaSCephCluster.status miraCephInfo specification.
MiraCephLogresource in YAML format:
kubectl -n ceph-lcm-mirantis get miracephlog -o yaml
MiraCephLogis passed to the
shortClusterInfosections of the
KaaSCephClusterCR. For details, see KaaSCephCluster.status shortClusterInfo specification and KaaSCephCluster.status fullClusterInfo specification.