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

Updated node_pools variable documentation #297

Closed
wants to merge 11 commits into from
16 changes: 16 additions & 0 deletions autogen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,22 @@ In order to operate with the Service Account you must activate the following API
- Compute Engine API - compute.googleapis.com
- Kubernetes Engine API - container.googleapis.com

## node_pools Variable
The node_pools variable takes the following parameters:

name - (Optional) The name of the node pool. If left blank, Terraform will auto-generate a unique name
min_count - (Required) Minimum number of nodes in the NodePool. Must be >=0 and <= max_count
max_count - (Required) Maximum number of nodes in the NodePool. Must be >= min_count
machine_type - (Optional) The name of a Google Compute Engine machine type. Defaults to n1-standard-1
disk_size_gb - (Optional) Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. Defaults to 100GB
disk_type - (Optional) Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd'). If unspecified, the default disk type is 'pd-standard'
image_type - (Optional) The image type to use for this node. Note that changing the image type will delete and recreate all nodes in the node pool
preemptible - (Optional) A boolean that represents whether or not the underlying node VMs are preemptible
service_account - (Optional) The service account to be used by the Node VMs. If not specified, the "default" service account is used
initial_node_count - (Optional) The initial number of nodes for the pool. In regional or multi-zonal clusters, this is the number of nodes per zone. Changing this will force recreation of the resource
auto_repair - (Optional) Whether the nodes will be automatically repaired
auto_upgrade - (Optional) Whether the nodes will be automatically upgraded

## File structure
The project has the following folders and files:

Expand Down