Skip to content

Commit

Permalink
hotfix(infraci.jenkins.io-kubernetes-sponsored-agents) set min size t…
Browse files Browse the repository at this point in the history
…o 1 for ARM64 node pool to avoid slow auto-scaling
  • Loading branch information
dduportal authored Jun 21, 2024
1 parent 790b31d commit ef478d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infraci.jenkins.io-kubernetes-sponsored-agents.tf
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ resource "azurerm_kubernetes_cluster_node_pool" "linux_arm64_agents_1_sponsorshi
orchestrator_version = local.kubernetes_versions["infracijenkinsio_agents_1"]
kubernetes_cluster_id = azurerm_kubernetes_cluster.infracijenkinsio_agents_1.id
enable_auto_scaling = true
min_count = 0
min_count = 1 # Azure autoscaler with ARM64 is really slow when starting from zero nodes.
max_count = 20
zones = local.infracijenkinsio_agents_1_compute_zones # need to be on zone 1 for arm availability
vnet_subnet_id = data.azurerm_subnet.infraci_jenkins_io_kubernetes_agent_sponsorship.id
Expand Down

0 comments on commit ef478d5

Please sign in to comment.