Mirantis Container Cloud (MCC) becomes part of Mirantis OpenStack for Kubernetes (MOSK)!
Starting with MOSK 25.2, the MOSK documentation set covers all product layers, including MOSK management (formerly MCC). This means everything you need is in one place. The separate MCC documentation site will be retired, so please update your bookmarks for continued easy access to the latest content.
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 deprecated
KaaSCephCluster
. For the equivalent procedure with the 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
kubeconfig
of a MOSK cluster and provide it as an environment variable:export KUBECONFIG=<pathToManagedKubeconfig>
Obtain the
MiraCeph
resource in the YAML format:kubectl -n ceph-lcm-mirantis get miraceph -o yaml
Information from
MiraCeph.status
reflects the spec handling state and validation result. For description of status fields, see MiraCeph status parameters.Obtain the
MiraCephHealth
resource in the YAML format:kubectl -n ceph-lcm-mirantis get mchealth -o yaml
Information from
MiraCephHealth.status
contains extensive details about Ceph cluster and a shortened version with status summary. For description of status fields, see MiraCephHealth status high-level parameters.