Mirantis Container Cloud (MCC) becomes part of Mirantis OpenStack for Kubernetes (MOSK)!
Now, the MOSK documentation set covers all product layers, including MOSK management (formerly Container Cloud). This means everything you need is in one place. Some legacy names may remain in the code and documentation and will be updated in future releases. The separate Container Cloud 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 deprecated KaaSCephCluster custom resource (CR) instead of the
MiraCeph CR that is available since MOSK 25.2 as a new Ceph configuration
entrypoint. For the equivalent procedure with the MiraCeph CR, refer to the
following section:
To verify the state of a Ceph cluster, Ceph Controller provides special
sections in KaaSCephCluster.status. 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 MOSK cluster:
Obtain
kubeconfigof a MOSK cluster and provide it as an environment variable:export KUBECONFIG=<pathToMOSKKubeconfig>
Obtain the
MiraCephresource in YAML format:kubectl -n ceph-lcm-mirantis get miraceph -o yaml
Information from
MiraCeph.statusis passed to themiraCephInfosection of theKaaSCephClusterCR. For details, see KaaSCephCluster.status miraCephInfo specification.Obtain the
MiraCephHealthresource in YAML format:kubectl -n ceph-lcm-mirantis get miracephhealth -o yaml
Information from
MiraCephHealthis passed to thefullClusterInfoandshortClusterInfosections of theKaaSCephClusterCR. For details, see KaaSCephCluster.status shortClusterInfo specification and KaaSCephCluster.status fullClusterInfo specification.
To verify the Ceph cluster state from a management cluster:
Obtain the
KaaSCephClusterresource in the YAML format:kubectl -n <projectName> get kaascephcluster -o yaml
Substitute
<projectName>with the project name of the MOSK cluster.Verify the state of the required component using KaaSCephCluster.status description.