Create a provider to use Azure Batch (#133)
* 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.
This commit is contained in:
committed by
Robbie Zhang
parent
1ad6fb434e
commit
d6e8b3daf7
41
providers/azurebatch/deployment/virtualkubelet/variables.tf
Normal file
41
providers/azurebatch/deployment/virtualkubelet/variables.tf
Normal file
@@ -0,0 +1,41 @@
|
||||
variable "cluster_client_certificate" {
|
||||
type = "string"
|
||||
description = "Cluster client Certificate"
|
||||
default = "eastus"
|
||||
}
|
||||
|
||||
variable "cluster_client_key" {
|
||||
type = "string"
|
||||
description = "Cluster client Certificate Key"
|
||||
}
|
||||
|
||||
variable "cluster_ca" {
|
||||
type = "string"
|
||||
description = "Cluster Certificate Authority"
|
||||
}
|
||||
|
||||
variable "cluster_host" {
|
||||
type = "string"
|
||||
description = "Cluster Admin API host"
|
||||
}
|
||||
|
||||
variable "virtualkubelet_docker_image" {
|
||||
type = "string"
|
||||
description = "The docker image to use for deploying the virtual kubelet"
|
||||
}
|
||||
|
||||
variable "azure_batch_account_name" {
|
||||
type = "string"
|
||||
description = "The name of the Azure Batch account to use"
|
||||
}
|
||||
|
||||
variable "azure_batch_pool_id" {
|
||||
type = "string"
|
||||
description = "The PoolID to use in Azure batch"
|
||||
default = "pool1"
|
||||
}
|
||||
|
||||
variable "resource_group_location" {
|
||||
description = "Resource group location"
|
||||
type = "string"
|
||||
}
|
||||
Reference in New Issue
Block a user