Mirantis Container Cloud (MCC) becomes part of Mirantis OpenStack for Kubernetes (MOSK)!

Starting with MOSK 25.2, the MOSK documentation set covers all product layers, including MOSK management (formerly MCC). This means everything you need is in one place. The separate MCC documentation site will be retired, so please update your bookmarks for continued easy access to the latest content.

Deploy an air-gapped management cluster

Available since MCC 2.30.0 (21.0.0 and 20.0.0) TechPreview

After you create and configure demo and private CDNs as described in Create a local mirror, proceed to configure the seed node and deploy a management cluster to be used for deployment of MOSK clusters.

To deploy an air-gapped management cluster:

  1. Follow the seed node preparation steps 1.1-1.4 provided in Set up a bootstrap cluster.

  2. If your private CDN uses a self-signed certificate or if you deploy a demo cluster using the demo CDN, add a root CA certificate to the seed node.

    Note

    The seed node must be able to validate the SSL certificate of your private or demo CDN.

    To copy the root CA certificate:

    • For a private CDN, download the CA certificate and save it as cdn-ca.crt in the HOME directory of the current user.

    • For the demo CDN, fetch its root CA certificate from the shared directory:

      curl -o ~/cdn-ca.crt http://<DEMO_CDN_IP>:8080/demo-ca.crt
      

    To register the root CA certificate:

    sudo cp ~/cdn-ca.crt /usr/local/share/ca-certificates
    sudo update-ca-certificates
    
  3. Make sure that the upstream Ubuntu package mirrors are accessible to the seed node, for example, using proxy.

    Alternatively, enable package installation from the Ubuntu repository on the seed node, for example, from your existing internal mirror.

    You may also configure your existing private or demo CDN repository as a source of packages using the add-snaphot-repo.sh script:

    1. Download the script:

      add-snaphot-repo.sh

    2. Copy the script to the HOME directory of the current user.

    3. Make the script executable:

      chmod +x add-snaphot-repo.sh
      
    4. Add the snapshot repository:

      • For a private CDN:

        MCC_CDN_DEBIAN="<Private Debian Mirror CDN>" ./add-snaphot-repo.sh
        
      • For a demo CDN:

        MCC_CDN_DEBIAN="https://<DEMO_CDN_IP>:8082" ./add-snaphot-repo.sh
        
  4. Proceed with the step 1.5 provided in Set up a bootstrap cluster.

  5. Export the KAAS_CDN_BASE_URL environment variable pointing to your private or demo binary CDN:

    • For a private CDN:

      export KAAS_CDN_BASE_URL="<Private Binary CDN>"
      
    • For a demo CDN:

      export KAAS_CDN_BASE_URL="https://${CDN_HOST}:8081"
      
  6. Proceed with the step 2 provided in Set up a bootstrap cluster.

  7. Configure bootstrap.env:

    • For a demo CDN:

      export CDN_HOST="<DEMO_CDN_IP>"
      
      export MCC_CDN_DOCKER="${CDN_HOST}"
      export MCC_CDN_BINARY="https://${CDN_HOST}:8081"
      export MCC_CDN_DEBIAN="https://${CDN_HOST}:8082"
      export MCC_CDN_MCR_REPO="https://${CDN_HOST}:8083"
      export MCC_CDN_CA_BUNDLE_PATH=./cdn-ca.crt
      
    • For a private CDN:

      export MCC_CDN_DOCKER="<Private Docker Registry>"
      export MCC_CDN_BINARY="<Private Binary CDN>"
      export MCC_CDN_DEBIAN="<Private Debian Mirror CDN>"
      export MCC_CDN_MCR_REPO="<Private MCR Repository CDN>"
      export MCC_CDN_CA_BUNDLE_PATH=./cdn-ca.crt
      
  8. Follow the remaining steps provided in Set up a bootstrap cluster.

  9. Deploy the management cluster as described in Deploy a management cluster using CLI.