LCM custom resources¶
The Kubernetes LCM components handle the following custom resources (CRs):
LCMMachine
LCMCluster
HelmBundle
- LCMMachine
Describes a machine that is located on a cluster. It contains the machine
type
,control
orworker
,StateItems
that correspond to Ansible playbooks and miscellaneous actions, for example, downloading a file or executing a shell command. LCMMachine reflects the current state of the machine, for example, a node IP address, and eachStateItem
through its status. Multiple LCMMachine CRs can correspond to a single cluster.- LCMCluster
Describes a managed cluster. In its
spec
, LCMCluster contains a set ofStateItems
for each type of LCMMachine, which describe the actions that must be performed to deploy the cluster. LCMCluster is created by the provider, usingmachineTypes
of the Release object. Thestatus
field of LCMCluster reflects the status of the cluster, for example, the number of ready or requested nodes.- HelmBundle
Wrapper for Helm charts that is handled by Helm Controller. HelmBundle tracks what Helm charts must be installed on a managed cluster.