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

fixed node count bug #14

Merged
merged 1 commit into from
Jul 1, 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
5 changes: 5 additions & 0 deletions locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
name = "${v["name"]}sp"
node_count = 0
max_count = v["max_count"]
node_count = null
min_count = 0
os_disk_size_gb = 100
priority = "Spot"
Expand All @@ -30,10 +31,11 @@
vnet_subnet_id = var.subnet_id
max_pods = var.max_pods_per_node
} if v["enable_spot_pool"] },
{ for k, v in var.cpu_pools : "${v["name"]}" => {

Check warning on line 34 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 34 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 34 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 35 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 35 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 35 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 = v["max_count"]
node_count = null
min_count = 0
os_disk_size_gb = 100
priority = "Regular"
Expand All @@ -54,6 +56,7 @@
name = "${v["name"]}sp"
node_count = 0
max_count = v["max_count"]
node_count = null
min_count = 0
os_disk_size_gb = 100
priority = "Spot"
Expand All @@ -73,10 +76,11 @@
vnet_subnet_id = var.subnet_id
max_pods = var.max_pods_per_node
} if v["enable_spot_pool"] },
{ for k, v in var.gpu_pools : "${v["name"]}" => {

Check warning on line 79 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 79 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 79 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 80 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 80 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 80 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 = v["max_count"]
node_count = null
min_count = 0
os_disk_size_gb = 100
priority = "Regular"
Expand All @@ -98,6 +102,7 @@
name = "tfycp"
node_count = 0
max_count = 4
node_count = null
min_count = 0
os_disk_size_gb = 100
priority = "Spot"
Expand Down
Loading