Getting started with Microsoft Azure Red Hat OpenShift

Learn how to get started on Microsoft Azure Red Hat® OpenShift®, including how to prepare your environment, deploy a cluster, and connect to your cluster.

You can also watch this interactive demonstration on how to install Azure Red Hat OpenShift and create a cluster.

Learn how to get started on Microsoft Azure Red Hat® OpenShift®, including how to prepare your environment, deploy a cluster, and connect to your cluster.

You can also watch this interactive demonstration on how to install Azure Red Hat OpenShift and create a cluster.

Delete a Microsoft Azure Red Hat OpenShift cluster

35 mins

In this resource, you’ll learn how to delete your Microsoft Azure Red Hat® OpenShift® cluster. It’s generally a good idea to delete your cluster once you’re done using it for demo purposes, as it can incur extra usage charges.

What will you learn?

  • Deleting clusters
  • Deleting the resource groups

What will you need before starting?

  • Met all prerequisites
  • Deployed a cluster

Delete the cluster

  1. Sign into the Azure CLI by running az login and following the steps to authorize your account. 
  2. Run the following command to delete your cluster. This command will take 30 minutes to complete, and you will not be able to move forward until it has ended.
    az aro delete -y \
      --resource-group $AZR_RESOURCE_GROUP \
      --name $AZR_CLUSTER
  3. Run the following command to delete your resource group. Only do this if there is nothing else in the resource group
    az group delete -y \
      --name $AZR_RESOURCE_GROUP

Congratulations, you have successfully deleted your Azure Red Hat OpenShift cluster and any associated resource groups. This is the cleanest method to ensure nothing is remaining after your cluster deployment. 

Previous resource
Deploy a cluster
Next resource
Conclusion
Hybrid Cloud Logo LinkedIn YouTube Facebook Twitter

Products

Tools

Try, buy, sell

Communicate

About Red Hat

We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Subscribe to our newsletter, Red Hat Shares

Sign up now