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 back end.
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 back end
Deployment instructions from the KaaSRelease
and ClusterRelease
objects
The 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
and LCMMachine
custom resources
for LCM controller and LCM agent. The LCMMachine
custom resources
are created empty to be later handled by the LCM controller.
Creates the the HelmBundle
custom resources for the Helm controller
using data from the KaaSRelease
and ClusterRelease
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.