Skip to content

Commit aa5565f

Browse files
davidquarlesdanawillow
authored andcommitted
Add support for CPU Platform in google_container_node_pool (hashicorp#622)
* update container/v1 API * add support for CPU Platform in `google_container_node_pool` * fix broken links
1 parent 10724f3 commit aa5565f

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

docs/r/container_cluster.html.markdown

+6
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,12 @@ which the cluster's instances are launched
159159
are preemptible. See the [official documentation](https://cloud.google.com/container-engine/docs/preemptible-vm)
160160
for more information. Defaults to false.
161161

162+
* `min_cpu_platform` - (Optional) Minimum CPU platform to be used by this instance.
163+
The instance may be scheduled on the specified or newer CPU platform. Applicable
164+
values are the friendly names of CPU platforms, such as `Intel Haswell`. See the
165+
[official documentation](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
166+
for more information.
167+
162168
**Addons Config** supports the following addons:
163169

164170
* `http_load_balancing` - (Optional) The status of the HTTP Load Balancing

docs/r/container_node_pool.html.markdown

+6
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,12 @@ resource "google_container_cluster" "primary" {
114114
are preemptible. See the [official documentation](https://cloud.google.com/container-engine/docs/preemptible-vm)
115115
for more information. Defaults to false.
116116

117+
* `min_cpu_platform` - (Optional) Minimum CPU platform to be used by this instance.
118+
The instance may be scheduled on the specified or newer CPU platform. Applicable
119+
values are the friendly names of CPU platforms, such as `Intel Haswell`. See the
120+
[official documentation](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
121+
for more information.
122+
117123
The `autoscaling` block supports:
118124

119125
* `min_node_count` - (Required) Minimum number of nodes in the NodePool. Must be >=1 and

0 commit comments

Comments
 (0)