Commit aea50afd authored by Vivek Ojha's avatar Vivek Ojha
Browse files

Merge branch 'revert-2ac6026e' into 'master'

adjustment of pod count and max node count

See merge request !372
parents 2fbee466 803908e3
Pipeline #48336 passed with stages
in 1 minute and 13 seconds
......@@ -95,14 +95,14 @@ resource "azurerm_kubernetes_cluster" "main" {
default_node_pool {
name = "default"
node_count = var.agent_vm_count
node_count = "2"
vm_size = var.agent_vm_size
os_disk_size_gb = var.agent_vm_disk
vnet_subnet_id = var.vnet_subnet_id
enable_auto_scaling = var.auto_scaling_default_node
max_pods = var.max_pods
max_count = var.agent_vm_count
min_count = var.auto_scaling_default_node == true ? var.agent_vm_count : null
max_count = "2"
min_count = "2"
orchestrator_version = var.kubernetes_version
}
......
......@@ -54,7 +54,7 @@ variable "agent_vm_size" {
variable "max_pods" {
type = string
default = 30
default = 20
}
variable "kubernetes_version" {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment