Skip to content

Latest commit

 

History

History

rancher-harbor-acr

Rancher and Private Registry - Harbor and Azure Container Registry

Introduction

This terraform script will build out an environment as follows.

  1. Single Node VM with the following software components installed.
  • Rancher Server 2.6.6 on RKE2
  1. One downstream all-in-one RKE2-based cluster with the following software deployed on it:
  • Harbor - private registry

Setup

Login to your Azure portal, start the Cloud Shell with bash environment, run the following command to start the lab.

git clone https://github.com/dsohk/workshops
cd rancher-hands-on-workshops/scenarios/azure/rancher-harbor-acr
./startlab.sh

The startlab.sh script downloads and installs terraform and helm binaries on your cloud shell environment. Then, it extracts the azure client credentials from your azure login session and updates credentials in the terraform.tfvars file. Lastly, it kicks off the terraform commands to build the environment.

Lab Guide after Setup finished

Once the lab environment is ready, follow the lab guide.