The Azure Machine Learning SDK does not provide support scaling an AKS cluster. To scale the nodes in the cluster, use the UI for your AKS cluster in the Azure Machine Learning studio. You can only change the node count, not the VM size of the cluster. Reference: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-create-attach-kubernetes