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

Reducing max count of the aks node pool to support kubenet CNI #11

Merged
merged 1 commit into from
May 2, 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
6 changes: 3 additions & 3 deletions locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
node_pools = merge({ for k, v in local.cpupools : "${v["name"]}sp" => {
name = "${v["name"]}sp"
node_count = 0
max_count = 20
max_count = 10
min_count = 0
os_disk_size_gb = 100
priority = "Spot"
Expand All @@ -91,7 +91,7 @@
{ for k, v in local.gpupools : "${v["name"]}sp" => {
name = "${v["name"]}sp"
node_count = 0
max_count = 20
max_count = 5
min_count = 0
os_disk_size_gb = 100
priority = "Spot"
Expand All @@ -111,10 +111,10 @@
vnet_subnet_id = var.subnet_id
max_pods = var.max_pods_per_node
} if v != null },
{ for k, v in local.gpupools : "${v["name"]}" => {

Check warning on line 114 in locals.tf

View workflow job for this annotation

GitHub Actions / tflint (ubuntu-latest)

Interpolation-only expressions are deprecated in Terraform v0.12.14

Check warning on line 114 in locals.tf

View workflow job for this annotation

GitHub Actions / tflint (macos-latest)

Interpolation-only expressions are deprecated in Terraform v0.12.14

Check warning on line 114 in locals.tf

View workflow job for this annotation

GitHub Actions / tflint (windows-latest)

Interpolation-only expressions are deprecated in Terraform v0.12.14
name = "${v["name"]}"

Check warning on line 115 in locals.tf

View workflow job for this annotation

GitHub Actions / tflint (ubuntu-latest)

Interpolation-only expressions are deprecated in Terraform v0.12.14

Check warning on line 115 in locals.tf

View workflow job for this annotation

GitHub Actions / tflint (macos-latest)

Interpolation-only expressions are deprecated in Terraform v0.12.14

Check warning on line 115 in locals.tf

View workflow job for this annotation

GitHub Actions / tflint (windows-latest)

Interpolation-only expressions are deprecated in Terraform v0.12.14
node_count = 0
max_count = 20
max_count = 5
min_count = 0
os_disk_size_gb = 100
priority = "Regular"
Expand Down
Loading