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 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.
Customize the default bare metal host profile¶
This section provides description of the bare metal host profile settings and provides instructions on how to configure this profile before deploying MOSK management on physical servers.
The bare metal host profile is a Kubernetes custom resource. It allows the infrastructure operator to define how the storage devices and the operating system are provisioned and configured.
The bootstrap templates for a bare metal deployment include the template for
the default BareMetalHostProfile object in the following file that defines
the default bare metal host profile:
templates/bm/baremetalhostprofiles.yaml.template
Note
Using BareMetalHostProfile, you can configure LVM or mdadm-based
software RAID support during a management or MOSK cluster
creation. For details, see Configure RAID support.
Warning
All data will be wiped during cluster deployment on devices
defined directly or indirectly in the fileSystems list of
BareMetalHostProfile. For example:
A raw device partition with a file system on it
A device partition in a volume group with a logical volume that has a file system on it
An mdadm RAID device with a file system on it
An LVM RAID device with a file system on it
The wipe field is always considered true for these devices.
The false value is ignored.
Therefore, to prevent data loss, move the necessary data from these file systems to another server beforehand, if required.
The customization procedure of BareMetalHostProfile is almost the same for
the management and MOSK clusters, with the following
differences:
For a management cluster, the customization automatically applies to machines during bootstrap. And for a MOSK cluster, you apply the changes using kubectl before creating a MOSK cluster.
For a management cluster, you edit the default
baremetalhostprofiles.yaml.template. And for a MOSK cluster, you create a newBareMetalHostProfilewith the necessary configuration.
For the procedure details, see Create a custom bare metal host profile. Use this procedure for both types of clusters considering the differences described above.