
Azure ScaleCluster
CertifiedUpdate the autoscale settings of an Azure Machine Learning compute cluster
Azure ScaleCluster
Update the autoscale settings of an Azure Machine Learning compute cluster
Sets the min/max node count (and optional idle scale-down delay) of an existing AmlCompute cluster. Only compute clusters support autoscaling; compute instances do not.
type: io.kestra.plugin.azure.ml.ScaleClusterExamples
id: azure_ml_scale_cluster
namespace: company.team
tasks:
- id: scale_up
type: io.kestra.plugin.azure.ml.ScaleCluster
tenantId: "{{ secret('AZURE_TENANT_ID') }}"
clientId: "{{ secret('AZURE_CLIENT_ID') }}"
clientSecret: "{{ secret('AZURE_CLIENT_SECRET') }}"
subscriptionId: "{{ secret('AZURE_SUBSCRIPTION_ID') }}"
resourceGroupName: ml-rg
workspaceName: ml-workspace
computeName: gpu-cluster
minNodeCount: 1
maxNodeCount: 4
Properties
computeName *Requiredstring
Compute cluster name
maxNodeCount *Requiredintegerstring
Maximum node count
Maximum number of nodes the cluster can scale out to
resourceGroupName *Requiredstring
Resource group name
Resource group containing the Machine Learning workspace
subscriptionId *Requiredstring
Subscription ID
Azure subscription GUID that owns the Machine Learning workspace
tenantId *Requiredstring
Azure AD tenant ID (GUID)
workspaceName *Requiredstring
Workspace name
Name of the Azure Machine Learning workspace
clientId string
Client ID of the Azure AD application
Application (client) ID used for service principal authentication.
clientSecret string
Client secret for the Azure AD application
Secret value associated with the client ID; store in a Kestra secret.
minNodeCount integerstring
0Minimum node count
Minimum number of nodes kept available; 0 (default) scales the cluster down to no nodes when idle
nodeIdleTimeBeforeScaleDown string
Node idle time before scale down
How long a node stays idle before being deallocated; defaults to Azure's own setting when not provided
pemCertificate string
PEM-encoded certificate content for client authentication
PEM text for certificate-based auth; alternative to clientSecret.
Outputs
computeName string
Compute cluster name
maxNodeCount integer
Maximum node count
minNodeCount integer
Minimum node count