CmdID / az / az batchai / az batchai cluster
az batchai cluster create
Create a cluster. Azure CLI reference
24 options Its page in the Azure CLI reference
Options
--afs-mount-pathRelative mount path for Azure File share.--afs-nameName of Azure File Share to be mounted on each cluster node.--bfs-mount-pathRelative mount path for Azure Storage container.--bfs-nameName of Azure Storage container to be mounted on each cluster node.--config-file, -fA path to a json file containing cluster create parameters (json representation of azure.mgmt.batchai.models.ClusterCreateParameters).--custom-imageARM ID of a virtual machine image to be used for nodes creation.--generate-ssh-keysGenerate SSH public and private key files in ~/.ssh directory (if missing).--image, -iOperation system image for cluster nodes.--maxMax nodes count for the auto-scale cluster.--minMin nodes count for the auto-scale cluster.--nfs-mount-pathRelative mount path for NFS.--nfsName or ARM ID of a file server to be mounted on each cluster node.--password, -pOptional password for the admin user account to be created on each compute node.--setup-task-outputDirectory path to store where setup-task's logs.--setup-taskA command line which should be executed on each compute node when it's got allocated or rebooted.--ssh-key, -kOptional SSH public key value or path.--storage-account-keyStorage account key.--storage-account-nameStorage account name for Azure File Shares and/or Azure Storage Containers to be mounted on each cluster node.--subnetARM ID of a virtual network subnet to put the cluster in.--target, -tNumber of nodes which should be allocated immediately after cluster creation.--use-auto-storageIf provided, the command will create a storage account in a new or existing resource group named "batchaiautostorage".--user-name, -uName of admin user account to be created on each compute node.--vm-priorityVM priority.--vm-size, -sVM size for cluster nodes (e.g. Standard_NC6 for 1 GPU node)