Preparing the bootstrap configuration file

Create the bootstrap.env file that holds every value the Cloudera Cloud Factory installer uses, starting from the bootstrap.env.example file that Cloudera provides.

In this procedure, you create bootstrap.env, which holds every value that the installer uses. Cloudera provides the file bootstrap.env.example with the installer, with comments on each variable.

  • You collected the values listed in Values to collect.
  • You have bootstrap.env.example from Cloudera.
  • You have the Cloudera-signed license.txt file.
  1. Create an empty working folder on the installer host, and change to that folder.
  2. Copy bootstrap.env.example into the folder as bootstrap.env.
    cp bootstrap.env.example bootstrap.env
  3. Copy license.txt into the working folder, beside bootstrap.env. The license phase of the installer verifies the file.
  4. Set the mandatory variables, as described in Configuration reference for the bootstrap file.
  5. Delete the lines for the providers and features that you do not use. The installer applies its own defaults for the variables that you omit.
  6. Confirm that the kubectl context points to the target cluster.
    kubectl config current-context
    
    kubectl get nodes

The working folder holds the configuration that the installer reads.