Merge pull request #1285 from robgil-dds/170237476-autoscaling-fix

170237476 - Autoscaling fix
This commit is contained in:
dandds 2020-01-02 12:02:43 -05:00 committed by GitHub
commit 2f7a974955
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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" {