From 3d76ad64a6b6c03fe404d6d856a39073eca9a045 Mon Sep 17 00:00:00 2001 From: Vaibhav Dhawan <42041225+vaibhav-dhawan@users.noreply.github.com> Date: Wed, 6 Dec 2023 21:53:12 +0000 Subject: [PATCH] Add auto_scaler_profile (#42) add autoscaler config for zonal nodepools --- aks.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aks.tf b/aks.tf index 9f28741..52cffbe 100644 --- a/aks.tf +++ b/aks.tf @@ -69,6 +69,10 @@ resource "azurerm_kubernetes_cluster" "aks" { log_analytics_workspace_id = azurerm_log_analytics_workspace.logs.id } + auto_scaler_profile { + balance_similar_node_groups = true + } + network_profile { load_balancer_sku = "standard" network_plugin = "azure"