Skip to content

Commit 7a1af21

Browse files
authored
Add support for node pool autoscaling (hashicorp#157)
* add node pool autoscaling * docs for node pool autoscaling * remove enabled attribute * remove enabled from docs
1 parent dff998e commit 7a1af21

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/r/container_node_pool.html.markdown

+10
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,13 @@ resource "google_container_cluster" "primary" {
6767

6868
* `name_prefix` - (Optional) Creates a unique name for the node pool beginning
6969
with the specified prefix. Conflicts with `name`.
70+
71+
* `autoscaling` - (Optional) Configuration required by cluster autoscaler to adjust
72+
the size of the node pool to the current cluster usage. Structure is documented below.
73+
74+
The `autoscaling` block supports:
75+
76+
* `minNodeCount` - (Required) Minimum number of nodes in the NodePool. Must be >=1 and
77+
<= `maxNodeCount`.
78+
79+
* `maxNodeCount` - (Required) Maximum number of nodes in the NodePool. Must be >= minNodeCount.

0 commit comments

Comments
 (0)