Running the bootstrapinstall Utility in the HEADLESS_MODE

To bootstrap your Kubernetes environment by running the bootstrapinstall utility in HEADLESS_MODE, do the following on either Mac or Linux OS:
  1. Manually create a file with the following settings (in key=value format), or modify the values for the following keys in the file generated automatically (by running the bootstrapinstall utility in RECORD_MODE) on the system where you plan to run the bootstrapinstall utility.
    Note: Specify only the properties that are applicable for your environment.
    Key Description
    OPENSHIFT_ENV (Required only for installation on OpenShift) Specifies whether (yes) or not (no) you plan to install on the OpenShift environment.
    CSI_DRIVER Specifies whether (yes) or not (no) you plan to install the CSI driver. Answer no if the driver is already installed or you do not want to install the driver. The default is yes.
    PYTHON_INCOMPATIBLE_CONTINUE Specifies whether (true) or not (false) you want to allow the bootstrapinstall utility to attempt to complete the bootstrapping process even if the version of Python is incompatible. Supported Python versions are v2.7.5 - v2.7.x, or v3.7.x. The default is false.
  2. Go to the bootstrap directory:
    cd bootstrap
  3. Run the bootstrapinstall.sh utility from inside the directory as shown below:
    ./bootstrapinstall.sh -m|--mode HEADLESS_MODE -r|--responsefile <PATH_TO_FILE>
    Note: Here, the file specified with -r or --responsefile is the file you set up in step 1 earlier. Note also that you can run the bootstrapinstall utility only on Linux or Mac.