LCM custom resources¶
The Kubernetes LCM components handle the following custom resources (CRs):
- LCMMachine
Describes a machine that is located on a cluster. 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 a machine, for example, a node IP address, and eachStateItem
through its status. MultipleLCMMachine
CRs can correspond to a single cluster.- LCMCluster
Describes a MOSK cluster. In its
spec
,LCMCluster
contains a set ofStateItems
for each type ofLCMMachine
, which describe the actions that must be performed to deploy the cluster.LCMCluster
is created by the provider usingmachineTypes
of theRelease
object. Thestatus
field ofLCMCluster
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 MOSK cluster.