Skip to content

Commit 7f8931c

Browse files
Merge pull request #124116 from ehvs/hevs/aro-docs-fix
Replaced command to delete cluster and updated OCP link
2 parents 79d0ddb + 899ab2b commit 7f8931c

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

articles/openshift/delete-cluster.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,19 @@ In previous articles for [creating](create-cluster.md) and [connecting](connect-
3535

3636
```bash
3737
RESOURCEGROUP=yourresourcegroup
38+
CLUSTER=clustername
3839
```
3940

40-
Using this value, delete your cluster:
41+
Using these values, delete your cluster:
4142

4243
```azurecli
43-
az group delete --name $RESOURCEGROUP
44+
az aro delete --resource-group $RESOURCEGROUP --name $CLUSTER
4445
```
46+
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 cluster will be deleted and all the managed objects.
4547

46-
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.
48+
> [!NOTE]
49+
> User-created objects such as virtual network and subnets must be manually deleted accordingly.
4750
4851
## Next steps
4952

50-
Learn more about using OpenShift with the official [Red Hat OpenShift documentation](https://docs.openshift.com/container-platform/4.6/welcome/index.html).
53+
Learn more about using OpenShift with the official [Red Hat OpenShift documentation](https://docs.openshift.com/container-platform/4.14/welcome/index.html).

0 commit comments

Comments
 (0)