Skip to content

Commit

Permalink
howto add aks
Browse files Browse the repository at this point in the history
  • Loading branch information
hmeiland committed Jul 6, 2024
1 parent ee642f7 commit 3922596
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions deploy/aks.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@ az aks create -g demo-aks -n aml-aks --enable-managed-identity -s Standard_D16as
az k8s-extension create --name amlaksext --extension-type Microsoft.AzureML.Kubernetes --config enableTraining=True enableInference=True inferenceRouterServiceType=LoadBalancer allowInsecureConnections=True InferenceRouterHA=False --cluster-type managedClusters --cluster-name aml-aks --resource-group demo-aks --scope cluster
```

Once the AKS is created, you can attach it to AML. To do this, go to the Kubernetes Clusters tab in Compute; press new and select Kubernetes. Provide a name that will be used as the partition name and select the AKS from the drop-down list.

From here on you can submit a job from the command line e.g.:
```
sbatch -p aks --wrap="hostname"
```

0 comments on commit 3922596

Please sign in to comment.