Skip to content

Latest commit

 

History

History
60 lines (37 loc) · 2.47 KB

aro_script.md

File metadata and controls

60 lines (37 loc) · 2.47 KB

Overview

The following is a guide on how to use the Azure Cloud Shell to deploy an Azure Red Hat OpenShift 4 cluster and have it as a connected Azure Arc Kubernetes resource.

Prerequisite

Ensure the user logging into Azure portal as admin or co-admin rights to be able to create service principals and/or assign policies to those service principals.

Deployment

There are two sets of resources that will be deployed, first is the Azure RedHat Openshift Container cluster. Second is the Azure Arc Kubernetes resource that will connect the aro cluster to Azure Arc.

The deployment of all resources is going to be done via Azure Cloud Shell.

  • Log into Azure Cloud Shell.


  • Run the following script:

    wget -O - https://raw.githubusercontent.com/microsoft/azure_arc/master/azure_arc_k8s_jumpstart/aro/run.sh | bash

    This script will perform the following tasks:

    • Deploy the following Resources:
      • Azure Container Instance
      • Azure VNet
      • Azure Redhat OpenShift (aro) cluster
      • Azure Arc K8s connected resource
    • Ensure required providers are registered

    When the script is finished copy the device login code


  • To start creating resources first log into Azure device login page and authenticate your credentials and that code copied earlier.


  • Close the Cloud Shell and navigate to the Resource Group



  • To track progress navigate to the logs of the container by selecting Containers under Settings and then selecting Logs. This deployment can take upto 50 mins.


  • Upon completion, the following resources will be deployed in the resource group:

    • Azure Arc enabled Kubernetes
    • OpenShift cluster
    • Azure VNet

Delete the deployment

The way to delete all the resources deployed is by deleting the resource group. This will delete the managed resource group as well that was created for Azure Redhat OpenShift cluster.