Configure the bootstrap node

Configure the bootstrap nodeΒΆ

Caution

This feature is available starting from the Container Cloud release 2.9.0.

This section describes how to prepare a new bootstrap node for an additional regional cluster deployment on top of the management cluster. To use the same node where you bootstrapped the management cluster, skip this instruction and proceed to deploying a regional cluster of the required provider type.

To configure a new bootstrap node for a regional cluster:

  1. Install and configure Docker:

    1. Log in to any personal computer or VM running Ubuntu 18.04 that you will be using as the bootstrap node.

    2. If you use a newly created VM, run:

      sudo apt-get update
      
    3. Install the current Docker version available for Ubuntu 18.04:

      sudo apt install docker.io
      
    4. Grant your USER access to the Docker daemon:

      sudo usermod -aG docker $USER
      
    5. Log off and log in again to the bootstrap node to apply the changes.

    6. Verify that Docker is configured correctly and has access to Container Cloud CDN. For example:

      docker run --rm alpine sh -c "apk add --no-cache curl; \
      curl https://binary.mirantis.com"
      

      The system output must contain no error records. In case of issues, follow the steps provided in Troubleshooting.

      Note

      If you require all Internet access to go through a proxy server for security and audit purposes, configure Docker proxy settings as described in the official Docker documentation.

  2. Prepare the bootstrap script:

    1. Download and run the Container Cloud bootstrap script:

      wget https://binary.mirantis.com/releases/get_container_cloud.sh
      chmod 0755 get_container_cloud.sh
      ./get_container_cloud.sh
      
    2. Change the directory to the kaas-bootstrap folder created by the script.

  3. If you deleted the mirantis.lic file used during the management cluster bootstrap:

    1. Create a user account at www.mirantis.com.

    2. Log in to your account and download the mirantis.lic license file.

    3. Save the license file as mirantis.lic under the kaas-bootstrap directory on the bootstrap node.

  4. In the kaas-bootstrap directory, create the /out folder.

  5. On the new bootstrap node, save the management cluster kubeconfig that was created after the management cluster bootstrap.

Now, proceed to deploying an additional regional cluster of the required provider type as described in Deploy an additional regional cluster.