-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Closed
Changes from 2 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
5bceb97
Updated node_pools variable documentation
neelesh9795 21303df
Added tables to the documentation
neelesh9795 b8ff54e
Made changes to the variables
neelesh9795 fa1e5b6
Added the autoscaling property
neelesh9795 018820a
Default column added
neelesh9795 0dff25b
Default column added
neelesh9795 400f241
Made changes to the table
neelesh9795 9f87ead
Added node_locations
neelesh9795 8bcb4fa
Merge branch 'master' into feature/node-pool
neelesh9795 3e8620a
Updated auto upgrade
neelesh9795 53e2359
node count added
neelesh9795 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | | ||
| max_count | Maximum number of nodes in the NodePool. Must be >= min_count | Required | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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: | ||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not required, has a default: https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/blob/master/cluster.tf#L150