Skip to content

Instantly share code, notes, and snippets.

@lioneltchami
Created July 22, 2022 07:07
Show Gist options
  • Select an option

  • Save lioneltchami/d3dfa58ccf83df8943b6fc41f41ceb92 to your computer and use it in GitHub Desktop.

Select an option

Save lioneltchami/d3dfa58ccf83df8943b6fc41f41ceb92 to your computer and use it in GitHub Desktop.
$gpunodepoolname="aksgpudemo01"
$gpunodesize="standard_nc6s_v3"
$mingpunodecount="0"
$maxgpunodecount="1"
az aks nodepool add --resource-group $resourcegroupname --cluster-name $aksclustername --name $gpunodepoolname --node-count 0 --node-vm-size $gpunodesize --node-taints sku=gpu:NoSchedule --aks-custom-headers UseGPUDedicatedVHD=true --enable-cluster-autoscaler --min-count $mingpunodecount --max-count $maxgpunodecount
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment