GKE node pool
This module creates and manages a node pool in a Google Kubernetes Engine (GKE) cluster separately from the cluster control plane. For more information see the official documentation and the API reference .
Requirements
Name |
Version |
|---|---|
>= 1.0 |
|
>= 4.75.0 |
Providers
Name |
Version |
|---|---|
>= 4.75.0 |
Modules
No modules.
Resources
Name |
Type |
|---|---|
resource |
|
resource |
|
data source |
Inputs
Name |
Description |
Type |
Default |
Required |
|---|---|---|---|---|
Map of labels used for all node pools, you can add specific labels to specific node pools in node_pools variable with the ‘labels’ key. |
|
|
no |
|
Map of metadata used for all node pools, you can add specific metadata to specific node pools in node_pools variable with the ‘metadata’ key |
|
|
no |
|
Set of oauth scopes used for all node pools, you can add specific oauth scopes to specific node pools in node_pools variable with the ‘oauth_scopes’ key. |
|
[ |
no |
|
Map of resource labels used for all node pools, you can add specific resource labels to specific node pools in node_pools variable with the ‘resource_labels’ key |
|
|
no |
|
Set of tags used for all node pools, you can add specific tags to specific node pools in node_pools variable with the ‘tags’ key. |
|
|
no |
|
Map of taints used for all node pools, you can add specific taints to specific node pools in node_pools variable with the ‘taint’ key. Each taint has a value and an effect |
map(object({ |
|
no |
|
Location of the GKE cluster to create the node pools for. |
|
n/a |
yes |
|
Name of the GKE cluster to create the node pools for. |
|
n/a |
yes |
|
Disable the /0.1/ and /v1beta1/ metadata server endpoints on the node. Changing this value will cause all node pools to be recreated |
|
|
no |
|
The minimum version of the cluster master |
|
|
no |
|
Specifies how node metadata is exposed to the workload running on the node. Possible values are GKE_METADATA, GCE_METADATA, UNSPECIFIED, GKE_METADATA_SERVER or EXPOSE |
|
|
no |
|
Map of maps containing the node pools configurations. Multiple keys can be used within a node pool configuration, for more information see the documentation |
|
|
no |
|
The release channel of this cluster. Accepted values are |
|
|
no |
|
The service account to run nodes |
|
|
no |
|
A map of timeouts for cluster operations |
|
|
no |
|
Map of maps containing Windows node pools configurations. All keys used for node pool configurations in node_pools can be used in windows_node_pools, see : https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_node_pool |
|
|
no |
Outputs
Name |
Description |
|---|---|
List of GKE generated instance groups |
|
List of GKE generated instance groups for Linux node pools |
|
List of Linux node pool names |
|
Linux node pool versions by node pool name |
|
List of node pool names |
|
Node pool versions by node pool name |
|
The service account to default running nodes as if not overridden in |
|
List of GKE generated instance groups for Windows node pools |
|
List of Windows node pool names |
|
Windows node pool versions by node pool name |