Preparing the data directory
Create the host directory that holds the configuration you supply and the artifacts that the deployment produces, so that state survives the container.
The LCM keeps all persistent states in one host directory that is mounted into the container. The directory holds the configuration that you supply and the artifacts that the deployment produces, so it must survive the container.
- The LCM host has at least 50 GB of free space on the filesystem that holds the directory.
The directory exists. The deployment creates the following layout inside it. The container sees the same directory at /opt/ccc-lcm.
| Path | Content |
|---|---|
| configs/ | Input configuration files and the host inventory |
| state/sites/<site-id>/ | GitOps workspace and the run audit log |
| state/run-<id>/ | Per-run logs and resume artifacts |
| keys/<site-id>/age.txt | Site encryption key, generated once and never replaced |
| credentials/ | Credential files for Cloudera Cloud Factory |
| kubeconfig/admin.conf | Cluster configuration file |
| logs/ | Exported runtime logs |
