Verify Ceph cluster state¶
Warning
This procedure is valid for MOSK clusters that use the MiraCeph custom
resource (CR), which is available since MOSK 25.2 to replace the unsupported
KaaSCephCluster resource. And MiraCeph will be automatically migrated
to CephDeployment in MOSK 26.1. For details, see Deprecation Notes:
KaaSCephCluster API on management clusters.
For the equivalent procedure with the unsupported KaaSCephCluster CR, refer
to the following section:
To verify the state of a Ceph cluster, Ceph Controller provides statuses to
MiraCeph and MiraCephHealth objects. These resources contain
information about the state of the Ceph cluster components, their health, and
potentially problematic components.
To verify the Ceph cluster state from a MOSK cluster:
Obtain
kubeconfigof a MOSK cluster and provide it as an environment variable:export KUBECONFIG=<pathToMOSKKubeconfig>
Obtain the
MiraCephresource in the YAML format:kubectl -n ceph-lcm-mirantis get miraceph -o yaml
Information from
MiraCeph.statusreflects the spec handling state and validation result. For description of status fields, see MiraCeph status parameters.Obtain the
MiraCephHealthresource in the YAML format:kubectl -n ceph-lcm-mirantis get mchealth -o yaml
Information from
MiraCephHealth.statuscontains extensive details about Ceph cluster and a shortened version with status summary. For description of status fields, see MiraCephHealth status high-level parameters.