169163334 - Adds autoscaling to k8s
This adds node autoscaling the k8s. Pod autoscaling needs to be configured in the kubectl config.
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
module "k8s" {
|
||||
source = "../../modules/k8s"
|
||||
region = var.region
|
||||
name = var.name
|
||||
environment = var.environment
|
||||
owner = var.owner
|
||||
k8s_dns_prefix = var.k8s_dns_prefix
|
||||
k8s_node_size = var.k8s_node_size
|
||||
vnet_subnet_id = module.vpc.subnets #FIXME - output from module.vpc.subnets should be map
|
||||
source = "../../modules/k8s"
|
||||
region = var.region
|
||||
name = var.name
|
||||
environment = var.environment
|
||||
owner = var.owner
|
||||
k8s_dns_prefix = var.k8s_dns_prefix
|
||||
k8s_node_size = var.k8s_node_size
|
||||
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
|
||||
}
|
||||
|
||||
#module "main_lb" {
|
||||
|
Reference in New Issue
Block a user