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
18 changes: 18 additions & 0 deletions autogen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,24 @@ 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 | Description | Requirement |
| --- | --- | --- |
| name | The name of the node pool. If left blank, Terraform will auto-generate a unique name | Optional |
| min_count | Minimum number of nodes in the NodePool. Must be >=0 and <= max_count | Required |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

| max_count | Maximum number of nodes in the NodePool. Must be >= min_count | Required |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not required.

| machine_type | The name of a Google Compute Engine machine type. Defaults to n1-standard-1 | Optional |
| disk_size_gb | Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. Defaults to 100GB | Optional |
| disk_type | Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd'). If unspecified, the default disk type is 'pd-standard' | Optional |
| image_type | The image type to use for this node. Note that changing the image type will delete and recreate all nodes in the node pool | Optional |
| preemptible | A boolean that represents whether or not the underlying node VMs are preemptible | Optional |
| service_account | The service account to be used by the Node VMs. If not specified, the "default" service account is used | Optional |
| initial_node_count | 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 | Optional |
| auto_repair | Whether the nodes will be automatically repaired | Optional |
| auto_upgrade | Whether the nodes will be automatically upgraded | Optional |

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

Expand Down