GitOps and the manifest model

Cloudera Cloud Core is delivered as OCI artifacts and reconciled by Flux, and no Git server takes part in the deployment.

No Git server takes part in the deployment, which is what makes the model work in an air-gapped site. Two artifacts describe a deployment:

Table 1. Deployment manifests
Manifest Scope Contents
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 life-cycle manager 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. The following diagram shows the flow:

Figure 1. How the base and site manifests reach the cluster

Diagram of the manifest flow. The life-cycle manager generates the cluster variables, encrypts the service passwords and pushes the site manifest to the OCI registry. The registry holds the base manifest, which is shared product release content with charts, versions and controllers, and the site manifest, which is per site and versioned with variables and secrets. The source registry holds the base manifest, charts and images and can be read only, and the site registry receives the site manifest and needs write access. In the Kubernetes cluster, the Flux controllers pull both manifests, pull from OCI sources and decrypt with the site key, and then reconcile the storage layer and the cloud services. Upgrading uses the same mechanism: select a higher base manifest version and run the site configuration stage again.

Because the deployed state is described entirely by versioned artifacts, the site is reproducible. Changing a value regenerates the site manifest and pushes a new version, and Flux reconciles only what changed. Existing secrets are preserved on every run, which prevents a password from drifting out of step with the database that uses it.