Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/gke-node-pool/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| autoscaling | Configuration required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. | <pre>object({<br> min_node_count = optional(number)<br> max_node_count = optional(number)<br> total_min_node_count = optional(number)<br> total_max_node_count = optional(number)<br> location_policy = optional(string)<br> })</pre> | <pre>{<br> "max_node_count": 100,<br> "min_node_count": 1<br>}</pre> | no |
| cluster | The cluster to create the node pool for. Cluster must be present in location provided for clusters. May be specified in the format projects/{{project\_id}}/locations/{{location}}/clusters/{{cluster}} or as just the name of the cluster. | `string` | n/a | yes |
| cluster | The cluster to create the node pool for. Cluster must be present in location provided for clusters. May be specified in the format projects/{project\_id}/locations/{location}/clusters/{cluster} or as just the name of the cluster. | `string` | n/a | yes |
| 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. | `number` | `null` | no |
| kubernetes\_version | The Kubernetes version for the nodes in this pool. Note that if this field and auto\_upgrade are both specified, they will fight each other for what the node version should be, so setting both is highly discouraged. While a fuzzy version can be specified, it's recommended that you specify explicit versions as Terraform will see spurious diffs when fuzzy versions are used. See the google\_container\_engine\_versions data source's version\_prefix field to approximate fuzzy versions in a Terraform-compatible way. | `string` | `null` | no |
| location | The location (region or zone) of the cluster. | `string` | `null` | no |
Expand Down
4 changes: 2 additions & 2 deletions modules/gke-node-pool/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ spec:
interfaces:
variables:
- name: cluster
description: The cluster to create the node pool for. Cluster must be present in location provided for clusters. May be specified in the format projects/{{project_id}}/locations/{{location}}/clusters/{{cluster}} or as just the name of the cluster.
description: The cluster to create the node pool for. Cluster must be present in location provided for clusters. May be specified in the format projects/{project_id}/locations/{location}/clusters/{cluster} or as just the name of the cluster.
varType: string
required: true
connections:
Expand Down Expand Up @@ -409,9 +409,9 @@ spec:
roles:
- level: Project
roles:
- roles/compute.admin
- roles/container.admin
- roles/iam.serviceAccountUser
- roles/compute.admin
services:
- compute.googleapis.com
- container.googleapis.com
Expand Down
2 changes: 1 addition & 1 deletion modules/gke-node-pool/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

variable "cluster" {
description = "The cluster to create the node pool for. Cluster must be present in location provided for clusters. May be specified in the format projects/{{project_id}}/locations/{{location}}/clusters/{{cluster}} or as just the name of the cluster."
description = "The cluster to create the node pool for. Cluster must be present in location provided for clusters. May be specified in the format projects/{project_id}/locations/{location}/clusters/{cluster} or as just the name of the cluster."
type = string
}

Expand Down
Loading