Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix general node scaling bug for azure #2517

Merged
merged 1 commit into from
Jun 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,12 @@ resource "azurerm_kubernetes_cluster" "main" {
default_node_pool {
vnet_subnet_id = var.vnet_subnet_id
name = var.node_groups[0].name
node_count = 1
vm_size = var.node_groups[0].instance_type
enable_auto_scaling = "true"
min_count = 1
max_count = 1
min_count = var.node_groups[0].min_size
max_count = var.node_groups[0].max_size
max_pods = var.max_pods
# node_labels = var.node_labels

orchestrator_version = var.kubernetes_version
node_labels = {
"azure-node-pool" = var.node_groups[0].name
Expand Down
Loading