OpenShift on Azure: Difference between revisions
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
The resource group can be created from the console, and it will encapsulate resources required by, and dedicated to the OpenShift cluster. The name of the resource group will be derived from the name of the cluster, and there will be an one-to-one relationship between the resource group, cluster and ancillary resources. | The resource group can be created from the console, and it will encapsulate resources required by, and dedicated to the OpenShift cluster. The name of the resource group will be derived from the name of the cluster, and there will be an one-to-one relationship between the resource group, cluster and ancillary resources. | ||
<syntaxhighlight lang='bash'> | <syntaxhighlight lang='bash'> | ||
CLUSTER_NAME=platform-cloud-01 | CLUSTER_NAME=platform-cloud-aro-01 | ||
RESOURCE_GROUP="${CLUSTER_NAME}-rg" | RESOURCE_GROUP="${CLUSTER_NAME}-rg" | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 21:53, 18 November 2020
External
Internal
Installation
Prerequisites
- Install Azure CLI, as shown here: Azure CLI | Installation.
- Azure Red Hat OpenShift requires a minimum of 40 cores. May need to increase the quota.
Procedure
Create the Resource Group
The resource group can be created from the console, and it will encapsulate resources required by, and dedicated to the OpenShift cluster. The name of the resource group will be derived from the name of the cluster, and there will be an one-to-one relationship between the resource group, cluster and ancillary resources.
CLUSTER_NAME=platform-cloud-aro-01
RESOURCE_GROUP="${CLUSTER_NAME}-rg"
Create the Cluster
SUBSCRIPTION_ID=...
LOCATION=eastus2
CLUSTER_GROUP=platform-cloud
RESOURCE_GROUP=${CLUSTER_GROUP}-01
CLUSTER_NAME=${CLUSTER_GROUP}-01
az account set --subscription ${SUBSCRIPTION_ID}
CLI Support
Azure CLI has an OpenShift extension, with subcommands aimed at managing Azure Red Hat OpenShift clusters.
az aro create|list|delete|list-credentials|show|update|wait
List OpenShift Clusters
az aro list