Skip to content

Commit

Permalink
feature: add gpu node autoscaling support for all modules (terraform-…
Browse files Browse the repository at this point in the history
…google-modules#807)


* updates upgrade guide

Co-authored-by: Bharath KKB <bharathkrishnakb@gmail.com>
  • Loading branch information
JamesTimms and bharathkkb committed Jul 8, 2021
1 parent bfa8bf4 commit 934a06d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions docs/upgrading_to_v16.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The v16.0 release of *kubernetes-engine* is a backwards incompatible release.

### cluster_autoscaling modified
The `cluster_autoscaling` variable has been modified to require a `gpu_resources` value.
The `cluster_autoscaling` variable has been modified to require a `gpu_resources` value. If you have enabled `cluster_autoscaling` and do not require `gpu_resources`, you can set it to an empty list as shown below.

```diff
module "gke" {
Expand All @@ -18,11 +18,7 @@ The `cluster_autoscaling` variable has been modified to require a `gpu_resources
max_cpu_cores = 100
min_memory_gb = 1
max_memory_gb = 1000
+ gpu_resources = [{
+ resource_type = "nvidia-tesla-t4"
+ minimum = 1
+ maximum = 3
+ }]
+ gpu_resources = []
}
}
```

0 comments on commit 934a06d

Please sign in to comment.