Skip to content

Commit ab5692b

Browse files
committed
Replaced command to delete cluster and updated OCP link to a supported version
1 parent 5690991 commit ab5692b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

articles/openshift/delete-cluster.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,18 @@ 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:** User-created objects such as virtual network and subnets, must be manually deleted accordingly.
4749

4850
## Next steps
4951

50-
Learn more about using OpenShift with the official [Red Hat OpenShift documentation](https://docs.openshift.com/container-platform/4.6/welcome/index.html).
52+
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)