Preparing for Bootstrapping

Before bootstrapping, do the following on the system on which you plan to run the bootstrapinstall.sh utility:

  1. Install kubectl if it is not already installed, or install gcloud if you are planning to install a Kubernetes environment on Google cloud. You must install kubectl client version 1.14.8 or later.

    To install kubectl, see https://kubernetes.io/docs/tasks/tools/install-kubectl.

  2. Point kubectl to the existing Kubernetes cluster, where you want to deploy the clusters.
     kubectl config set-context <Kubernetes cluster name>

    For more information, see Configuring Cluster Access for kubectl.

  3. Install Python if it is not already installed. To download and install Python (v2.7.5 - v2.7.x, or v3.7.x), see https://www.python.org/.

    Without Python, you will not be able to run the bootstrapinstall.sh utility. If the Python version is different from the preferred version (v2.7.5 - v2.7.x, or v3.7.x), the bootstrapinstall.sh utility generates a message to indicate an incompatible version. For some Python versions (v3.4, for example) the script asks if you want to perform the bootstrapinstall with the current version. Running the script with an incompatible version can work in some cases, but is not supported for production use.

  4. Install pip >= v18.0. For more information, see pip Installation.
  5. Install the Python virtual environment. If you do not have the Python virtual environment, run the following command:
    pip install virtualenv
    When you run the command to install the Python virtual environment, by default, the latest virtualenv is installed. You need OpenSSL >= v1.0.1 already installed for the pip command to run successfully.