Bare metal provider¶
MOSK bare metal provider provisions nodes of management and MOSK clusters and runs the LCM Agent on these nodes. It runs in a management cluster and requires connection to the bare metal provider backend.
The bare metal provider interacts with the following types of public API objects:
Public API object name |
Description |
---|---|
|
Contains the following information about clusters:
|
|
|
|
|
|
|
|
Contains all information about the Baseboard Management Controller ( |
|
Is provided to every machine to obtain SSH access. |
The bare metal provider performs the following operations:
Consumes the below types of data from a management cluster:
Credentials to connect to the provider backend
Deployment instructions from the
KaaSRelease
andClusterRelease
objectsThe cluster-level parameters from the
Cluster
objectsThe machine-level parameters from the
Machine
objects
Prepares data for all MOSK components:
Creates the
LCMCluster
andLCMMachine
custom resources for LCM Controller and LCM Agent. TheLCMMachine
custom resources are created empty to be later handled by the LCM Controller.Creates the
HelmBundle
custom resources for the Helm Controller using data from theKaaSRelease
andClusterRelease
objects.Creates service accounts for these custom resources.
Creates a scope in Identity and access management (IAM) for a user access to a MOSK cluster.
Provisions nodes for a MOSK cluster.
Installs and enables LCM Agent using the
cloud-init
script.Installs Helm Controller as a Helm v3 chart.
The following diagram illustrates the bare metal provider data flow:
