简体   繁体   中英

AzureML: How to delete detached Kubernetes service clusters?

On AzureMl, I have created some Kubernetes service clusters using ComputeTarget.create() .

Unfortunately, I have detached some of them and I can no longer see them from the AzureML page (Compute > Inference Clusters). I can re-attach them on the AzureMl page but the delete bottom is not available for the re-attached clusters.

Because those idle clusters occupy the Total Regional Cores quota I can't create new clusters, I am wondering if there is a way to delete them?

When you detach a Compute object from its associated workspace, only their associations are removed but the underlying cloud objects are not deleted. You should be able to delete them using the delete() method in the same ComputeTarget class.

Also, the azure-cli-ml extension in Azure CLI provides similar commands for working with Azure Machine Learning and allows you to automate your machine learning activities.

az ml computetarget delete would be the Azure CLI equivalent to delete a compute target. Here is the complete reference for the available commands.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM