Skip to content

Commit

Permalink
chore(publick8s): enable autoscaling for the system pool (#757)
Browse files Browse the repository at this point in the history
as we are planning to upgrade to kubernetes 1.28
jenkins-infra/helpdesk#4144, adding the
autoscaling may speed up the upgrade, cijioagent1 wasn't with autoscale
on the system pool and took 32mn to upgrade (most of it for the 3 nodes
system pool).
  • Loading branch information
smerle33 authored Jun 26, 2024
1 parent 91b7563 commit 7163466
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions publick8s.tf
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ resource "azurerm_kubernetes_cluster" "publick8s" {
os_disk_type = "Ephemeral"
os_disk_size_gb = 50
orchestrator_version = local.kubernetes_versions["publick8s"]
enable_auto_scaling = false
node_count = 2
enable_auto_scaling = true
min_count = 2
max_count = 4
vnet_subnet_id = data.azurerm_subnet.publick8s_tier.id
tags = local.default_tags
zones = local.publick8s_compute_zones
Expand Down

0 comments on commit 7163466

Please sign in to comment.