Skip to content

Commit 8479b3a

Browse files
authored
Fix the tutorial to delete an ARO cluster
The description of the command to delete the ARO cluster is not accurate: > az aro delete --resource-group $RESOURCEGROUP --name $CLUSTER > > You'll then be prompted to confirm if you want to delete the cluster. After you confirm with y, it will take several minutes to delete the cluster. When the command finishes, the entire resource group and all resources inside it, including the cluster, will be deleted. It is not true because that command only deletes the cluster. The virtual network and the resource group will not be touched. This commit modifies the tutorial by suggesting deleting the entire resource group when user wants to delete the cluster. Doing so, it is also aligned with the AKS tutorial.
1 parent 01ee684 commit 8479b3a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

articles/openshift/tutorial-delete-cluster.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,20 +36,19 @@ If you have access to multiple subscriptions, run `az account set -s {subscripti
3636

3737
## Delete the cluster
3838

39-
In previous tutorials, the following variables were set.
39+
In previous tutorials, the following variable was set:
4040

4141
```bash
42-
CLUSTER=yourclustername
4342
RESOURCEGROUP=yourresourcegroup
4443
```
4544

46-
Using these values, delete your cluster:
45+
Using this value, delete your cluster:
4746

4847
```azurecli
49-
az aro delete --resource-group $RESOURCEGROUP --name $CLUSTER
48+
az group delete --name $RESOURCEGROUP
5049
```
5150

52-
You'll then be prompted to confirm if you want to delete the cluster. After you confirm with `y`, it will take several minutes to delete the cluster. When the command finishes, the entire resource group and all resources inside it, including the cluster, will be deleted.
51+
You'll then be prompted to confirm if you are sure you want to perform this operation. After you confirm with `y`, it will take several minutes to delete the cluster. When the command finishes, the entire resource group and all resources inside it, including the cluster and the virtual network, will be deleted.
5352

5453
## Next steps
5554

0 commit comments

Comments
 (0)