What the life-cycle manager does
Learn what the LCM does, how Flux delivers base and site manifests from registries, and which roles each host carries in the Kubernetes cluster.
The LCM performs the following work:
- Validates host connectivity and the supplied configuration.
- Provisions one Kubernetes cluster across all hosts.
- Applies host role labels and discovers the storage disks.
- Generates the site configuration and the service passwords.
- Bootstraps the GitOps layer and the registry sources.
- Deploys the storage layer and the cloud services.
- Runs verification tests against the finished cloud.
- Creates the project, flavors, images, and credentials that Cloudera Cloud Factory needs.
Each stage is idempotent, so you can run a stage that failed again without undoing earlier work. All state persists in a host directory, so the deployment survives the removal and re-creation of the container.
Manifests
A Cloudera Cloud Core site runs one Kubernetes cluster across all hosts. Flux delivers the storage layer and the cloud services as Helm releases that it reconciles from OCI artifacts. No Git server takes part in the deployment, which is what makes the model work in an air gap. Two artifacts describe a deployment:
| Manifest | Scope | Content |
|---|---|---|
| Base manifest | Shared across every site that runs the same release | Helm releases for all services, the chart and image versions, and the Flux controller manifests |
| Site manifest | Generated for one site and versioned on every change | Site cluster variables, the encrypted service passwords, and the registry source definitions |
The LCM generates the site manifest and pushes it to the registry. Flux on the cluster pulls both manifests as sources and reconciles the cluster to match. Existing secrets are preserved on every run.
Registries
The LCM reads from a source registry and can write to a separate site registry. Use the split layout when the source registry is read-only.
| Registry | Access needed | Content |
|---|---|---|
| Source registry | Read | The base manifest, the Helm charts, and the container images |
| Site registry | Read and write | The site manifest and the encrypted secrets |
When you configure only the source registry, both manifests use it, and the account must be able to write. When you also configure a site registry, the site manifest goes there. If you mirror and customize the base manifest in your own registry, set the base manifest registry to the site registry so that the LCM reads it from there.
Host roles
Every host joins the same Kubernetes cluster and carries one or more roles.
| Role | Workload | Requirement |
|---|---|---|
| Control plane | Kubernetes control plane, etcd, and the cloud API services | Exactly three hosts, for quorum |
| Storage | Storage monitors, storage daemons, and one daemon per raw disk | Exactly three monitor hosts, plus any number of daemon hosts |
| Compute | Virtual machine workloads and the tenant network agents | One or more hosts, scaled to the planned workload |
| Load balancer | The load balancer service workload | Applied to the compute hosts |
