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

chore(publick8s): enable autoscaling for the system pool #757

Merged
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
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