You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <aname="input_create_project"></a> [create\_project](#input\_create\_project)| Defines if create the project. All resources are created this project. If `false` - the project\_id is required. |`bool`|`false`| no |
71
72
| <aname="input_default_node_pools_oauth_scopes"></a> [default\_node\_pools\_oauth\_scopes](#input\_default\_node\_pools\_oauth\_scopes)| Default node pool oauth scopes added to all node pools |`list(string)`| <pre>[<br> "https://www.googleapis.com/auth/cloud-platform",<br> "https://www.googleapis.com/auth/logging.write",<br> "https://www.googleapis.com/auth/monitoring"<br>]</pre> | no |
72
73
| <aname="input_default_pool_machine_type"></a> [default\_pool\_machine\_type](#input\_default\_pool\_machine\_type)| In some cases the GKE won't be created unless the default pool uses specific machine type (for example confidential nodes) so we have to set the type even if the default pool is removed. |`string`|`"e2-small"`| no |
74
+
| <aname="input_disable_services_on_destroy"></a> [disable\_services\_on\_destroy](#input\_disable\_services\_on\_destroy)| Whether project services will be disabled when the resources are destroyed. |`bool`|`true`| no |
73
75
| <aname="input_enable_confidential_nodes"></a> [enable\_confidential\_nodes](#input\_enable\_confidential\_nodes)| Whether to enable confidential nodes. |`bool`|`false`| no |
74
76
| <aname="input_enable_private_endpoint"></a> [enable\_private\_endpoint](#input\_enable\_private\_endpoint)| Defines if create private endpoint. It disables the public endpoint so the cluster is accessible only from VPC. |`bool`|`false`| no |
75
77
| <aname="input_enable_private_nodes"></a> [enable\_private\_nodes](#input\_enable\_private\_nodes)| Defines if use private nodes. Implies creation of cloud NAT service so nodes and pods can access public internet. |`bool`|`true`| no |
@@ -111,12 +113,14 @@ The node_pools variable takes the following parameters:
111
113
| --- | --- | --- | --- |
112
114
| <aname="autoscaling"></a> [autoscaling](#autoscaling)| Configuration required by cluster autoscaler to adjust the size of the node pool to the current cluster usage |`true`| Optional |
113
115
| <aname="node_locations"></a> [node\_locations](#node\_locations)| The list of zones in which the cluster's nodes are located. Nodes must be in the region of their regional cluster or in the same region as their cluster's zone for zonal clusters. Defaults to cluster level node locations if nothing is specified |`""`| Optional |
114
-
| <aname="node_count"></a> [node\_count](#node\_count)| The number of nodes in the nodepool when autoscaling is false. Otherwise defaults to 1. Only valid for non-autoscaling clusters | `` | Required |
116
+
| <aname="node_count"></a> [node\_count](#node\_count)| The number of nodes in the nodepool when autoscaling is false. Otherwise defaults to 1. Only valid for non-autoscaling clusters |`1`| Required |
115
117
| <aname="min_count"></a> [min\_count](#min\_count)| Minimum number of nodes in the NodePool. Must be >=0 and <= max_count. Should be used when autoscaling is true |`1`| Optional |
116
118
| <aname="max_count"></a> [max\_count](#max\_count)| Maximum number of nodes in the NodePool. Must be >= min_count |`100`| Optional |
117
119
| <aname="image_type"></a> [image\_type](#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 |`COS_CONTAINERD`| Optional |
118
120
| <aname="machine_type"></a> [machine\_type](#machine\_type)| The name of a Google Compute Engine machine type |`e2-medium`| Optional |
119
121
| <aname="min_cpu_platform"></a> [min\_cpu\_platform](#min\_cpu\_platform)| Minimum CPU platform to be used by the nodes in the pool. The nodes may be scheduled on the specified or newer CPU platform. |`""`| Optional |
120
122
| <aname="local_ssd_count"></a> [local\_ssd\_count](#local\_ssd\_count)| The amount of local SSD disks that will be attached to each cluster node and may be used as a `hostpath` volume or a `local` PersistentVolume. |`0`| Optional |
121
123
| <aname="disk_size_gb"></a> [disk\_size\_gb](#disk\_size\_gb)| Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB |`100`| Optional |
122
-
| <aname="disk_type"></a> [disk\_type](#disk\_type)| Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') |`pd-standard`| Optional |
124
+
| <aname="preemptible"></a> [preemptible](#preemptible)| A boolean that represents whether or not the underlying node VMs are preemptible. See the [official documentation](https://cloud.google.com/container-engine/docs/preemptible-vm)</a> for more information.) |`false`| Optional |
125
+
| <aname="spot"></a> [spot](#spot)| A boolean that represents whether the underlying node VMs are spot. See the [official documentation](https://cloud.google.com/kubernetes-engine/docs/concepts/spot-vms) for more information. |`false`| Optional |
126
+
| <aname="compact_placement_policy"></a> [compact\_placement\_policy](#compact\_placement\_policy)| Compact placement policy enabled places node pool's nodes in a closer physical proximity in order to reduce network latency between nodes. |`false`| Optional |
0 commit comments