Azure Red Hat OpenShift (ARO) is a fully-managed turnkey application platform.
Using the code in the repo will require having the following tools installed:
- The Terraform CLI
- The OC CLI
-
Modify the
variable.tf
var file, or modify the following command to customize your cluster.terraform init terraform plan -var "cluster_name=my-tf-cluster" -out aro.plan terraform apply aro.plan
-
Get the ARO cluster's console URL.
az aro show \ --name $AZR_CLUSTER \ --resource-group $AZR_RESOURCE_GROUP \ -o tsv --query consoleProfile
-
Get the ARO cluster's credentials.
az aro list-credentials \ --name $AZR_CLUSTER \ --resource-group $AZR_RESOURCE_GROUP \ -o tsv
-
Log into the cluster using oc login command from the create admin command above. ex.
oc login https://api.$YOUR_OPENSHIFT_DNS:6443 --username kubeadmin --password xxxxxxxxxx
-
Check that you can access the Console by opening the console url in your browser.
-
Delete Cluster and Resources
terraform destroy -auto-approve "aro.plan"