Running a single installation phase

Run one installation phase, for example, to retry a phase that failed or to apply a changed OpenBao setting.

The installer runs every phase in order when you pass the all command, which is the default.

Pass the --phase option to run one phase, for example, to retry a phase that failed or to apply a changed OpenBao setting:
docker run -it --rm \
  -v "$(pwd)":/config \
  -v ~/.kube/config:/root/.kube/config:ro \
  --network host \
  container.repository.cloudera.com/cloudera/ccf-install:<TAG> \
  --phase vault --yes

The --yes option accepts the prompts without confirmation, and the --env-file option reads the configuration from a path other than bootstrap.env.

The --phase option accepts prepare, license, secrets, node-pools, cluster-vars, cluster-secrets, bootstrap-flux, wait-flux, configure-monitoring, wait-cert-manager, vault-init, vault-unseal, vault-configure, and the composite phases vault and all. The --non-interactive option fails instead of prompting for a missing value.

When DEPLOY_INFRA is true, the --phase option also accepts provision-infra, bootstrap-hosts, install-kubernetes, and scale-workers. The --dry-run option prints the commands without applying them.