Merge pull request #1285 from robgil-dds/170237476-autoscaling-fix
170237476 - Autoscaling fix
This commit is contained in:
commit
2f7a974955
@ -19,7 +19,6 @@ resource "azurerm_kubernetes_cluster" "k8s" {
|
||||
vm_size = "Standard_D1_v2"
|
||||
os_disk_size_gb = 30
|
||||
vnet_subnet_id = var.vnet_subnet_id
|
||||
node_count = 1
|
||||
enable_node_public_ip = true # Nodes need a public IP for external resources. FIXME: Switch to NAT Gateway if its available in our subscription
|
||||
enable_auto_scaling = var.enable_auto_scaling
|
||||
max_count = var.max_count # FIXME: if auto_scaling disabled, set to 0
|
||||
|
@ -9,7 +9,7 @@ module "k8s" {
|
||||
vnet_subnet_id = module.vpc.subnets #FIXME - output from module.vpc.subnets should be map
|
||||
enable_auto_scaling = true
|
||||
max_count = 5
|
||||
min_count = 2
|
||||
min_count = 3
|
||||
}
|
||||
|
||||
#module "main_lb" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user