* Started work on provider * WIP Adding batch provider * Working basic call into pool client. Need to parameterize the baseurl * Fixed job creation by manipulating the content-type * WIP Kicking off containers. Dirty * [wip] More meat around scheduling simple containers. * Working on basic task wrapper to co-schedule pods * WIP on task wrapper * WIP * Working pod minimal wrapper for batch * Integrate pod template code into provider * Cleaning up * Move to docker without gpu * WIP batch integration * partially working * Working logs * Tidy code * WIP: Testing and readme * Added readme and terraform deployment for GPU Azure Batch pool. * Update to enable low priority nodes for gpu * Fix log formatting bug. Return node logs when container not yet started * Moved to golang v1.10 * Fix cri test * Fix up minor docs Issue. Add provider to readme. Add var for vk image.
44 lines
1.1 KiB
HCL
44 lines
1.1 KiB
HCL
variable "pool_id" {
|
|
type = "string"
|
|
description = "Name of the Azure Batch pool to create."
|
|
default = "pool1"
|
|
}
|
|
|
|
variable "vm_sku" {
|
|
type = "string"
|
|
description = "VM SKU to use - Default to NC6 GPU SKU."
|
|
default = "STANDARD_NC6"
|
|
}
|
|
|
|
variable "pool_bootstrap_script_url" {
|
|
type = "string"
|
|
description = "Publicly accessible url used for boostrapping nodes in the pool. Installing GPU drivers, for example."
|
|
}
|
|
|
|
variable "storage_account_id" {
|
|
type = "string"
|
|
description = "Name of the storage account to be used by Azure Batch"
|
|
}
|
|
|
|
variable "resource_group_name" {
|
|
type = "string"
|
|
description = "Name of the azure resource group."
|
|
default = "akc-rg"
|
|
}
|
|
|
|
variable "resource_group_location" {
|
|
type = "string"
|
|
description = "Location of the azure resource group."
|
|
default = "eastus"
|
|
}
|
|
|
|
variable "low_priority_node_count" {
|
|
type = "string"
|
|
description = "The number of low priority nodes to allocate to the pool"
|
|
}
|
|
|
|
variable "dedicated_node_count" {
|
|
type = "string"
|
|
description = "The number dedicated nodes to allocate to the pool"
|
|
}
|