Cloud provider¶
The Mirantis Container Cloud provider is the central component of Container Cloud that provisions a node of a management, regional, or managed cluster and runs the LCM Agent on this node. It runs in a management and regional clusters and requires connection to a provider backend.
The Container Cloud provider interacts with the following types of public API objects:
Public API object name |
Description |
---|---|
Container Cloud release object |
Contains the following information about clusters:
|
Cluster release object |
|
Cluster object |
|
Machine object |
|
Credentials object |
|
PublicKey object |
Is provided to every machine to obtain an SSH access. |
The following diagram illustrates the Container Cloud provider data flow:
The Container Cloud provider performs the following operations in Container Cloud:
Consumes the below types of data from a management and regional cluster:
Credentials to connect to a provider backend
Deployment instructions from the
KaaSRelease
andClusterRelease
objectsThe cluster-level parameters from the Cluster objects
The machine-level parameters from the Machine objects
Prepares data for all Container Cloud 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 managed cluster.
Provisions nodes for a managed cluster using the
cloud-init
script that downloads and runs the LCM Agent.Installs Helm Controller as a Helm v3 chart.