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.
  1. Create the data directory.
    sudo mkdir -p /srv/ccc-lcm/configs
  2. Confirm that at least 50 GB is free.
    df -h /srv/ccc-lcm

The directory exists. The deployment creates the following layout inside it. The container sees the same directory at /opt/ccc-lcm.

Table 1. Data directory layout
PathContent
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.txtSite encryption key, generated once and never replaced
credentials/Credential files for Cloudera Cloud Factory
kubeconfig/admin.confCluster configuration file
logs/Exported runtime logs