Preparing the data directory

Create the host directory that holds all persistent state of the life-cycle manager, and confirm that it has enough free space.

The life-cycle manager keeps all persistent state on one host directory that is mounted into the container. The directory holds the configuration you supply and the artifacts the deployment produces, so it must survive the container. To prepare it, perform the following steps.

  1. Create the data directory on the life-cycle manager host.
    sudo mkdir -p /srv/ccc-lcm/configs
  2. Confirm that at least 50 GB is free on the filesystem that holds it.
    df -h /srv/ccc-lcm

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

/srv/ccc-lcm/
  configs/                        input configuration files and the host inventory
  state/
    sites/site-id/              GitOps workspace and the run audit log
    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