Preparing the bootstrap configuration file

Prepare the bootstrap.env file before you run the installer so that the installation runs without prompts.

The installer reads every configurable value from bootstrap.env. Prepare this file before you run the installer so that the installation runs without prompts. Cloudera provides bootstrap.env.example, which lists every variable with commentary on each line.

  1. Create an empty working folder on the installer host, and change to that folder.
  2. Copy bootstrap.env.example into the working folder as bootstrap.env.
    cp bootstrap.env.example bootstrap.env
  3. Copy the Cloudera-signed license.txt file into the working folder, beside bootstrap.env, as described in Adding the license file.
  4. Set the mandatory values for your environment, as described in Configuration reference for the bootstrap file.
  5. Delete the lines for the providers and the features that you do not use.

    The installer applies its own defaults for the values that you omit.

  6. Confirm that the kubectl context points to the target cluster.
    kubectl config current-context
    kubectl get nodes

The working folder now holds the configuration that the installer reads. The installer rewrites this file at the end of the installation and records every value that it used, so the file grows considerably.