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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ The node_pools variable takes the following parameters:
| reservation_affinity_values | The list of label values of reservation resources. For example: the name of the specific reservation when using a key of "compute.googleapis.com/reservation-name". This should be passed as comma separated string. | | Optional |
| local_ssd_encryption_mode | specifies the method used for encrypting the local SSDs attached to the node. Valid values are: "STANDARD_ENCRYPTION" and "EPHEMERAL_KEY_ENCRYPTION" | | Optional |
| max_run_duration | The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s". | null | Optional |
| flex_start | Enables Flex Start provisioning model for the node pool | null | Optional |

## windows_node_pools variable

Expand Down
1 change: 1 addition & 0 deletions autogen/main/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ The node_pools variable takes the following parameters:
| reservation_affinity_values | The list of label values of reservation resources. For example: the name of the specific reservation when using a key of "compute.googleapis.com/reservation-name". This should be passed as comma separated string. | | Optional |
| local_ssd_encryption_mode | specifies the method used for encrypting the local SSDs attached to the node. Valid values are: "STANDARD_ENCRYPTION" and "EPHEMERAL_KEY_ENCRYPTION" | | Optional |
| max_run_duration | The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s". | null | Optional |
| flex_start | Enables Flex Start provisioning model for the node pool | null | Optional |

## windows_node_pools variable

Expand Down
3 changes: 3 additions & 0 deletions autogen/main/cluster.tf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,7 @@ resource "google_container_cluster" "primary" {

local_ssd_encryption_mode = lookup(var.node_pools[0], "local_ssd_encryption_mode", null)
max_run_duration = lookup(var.node_pools[0], "max_run_duration", null)
flex_start = lookup(var.node_pools[0], "flex_start", null)
}
}
{% endif %}
Expand Down Expand Up @@ -846,6 +847,7 @@ locals {
"secondary_boot_disk",
"local_ssd_encryption_mode",
"max_run_duration",
"flex_start",
]
}

Expand Down Expand Up @@ -1288,6 +1290,7 @@ resource "google_container_node_pool" "windows_pools" {

local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
max_run_duration = lookup(each.value, "max_run_duration", null)
flex_start = lookup(each.value, "flex_start", null)
}

lifecycle {
Expand Down
3 changes: 3 additions & 0 deletions cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,7 @@ resource "google_container_cluster" "primary" {

local_ssd_encryption_mode = lookup(var.node_pools[0], "local_ssd_encryption_mode", null)
max_run_duration = lookup(var.node_pools[0], "max_run_duration", null)
flex_start = lookup(var.node_pools[0], "flex_start", null)
}
}

Expand Down Expand Up @@ -975,6 +976,7 @@ resource "google_container_node_pool" "pools" {

local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
max_run_duration = lookup(each.value, "max_run_duration", null)
flex_start = lookup(each.value, "flex_start", null)
}

lifecycle {
Expand Down Expand Up @@ -1306,6 +1308,7 @@ resource "google_container_node_pool" "windows_pools" {

local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
max_run_duration = lookup(each.value, "max_run_duration", null)
flex_start = lookup(each.value, "flex_start", null)
}

lifecycle {
Expand Down
1 change: 1 addition & 0 deletions modules/beta-private-cluster-update-variant/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@ The node_pools variable takes the following parameters:
| reservation_affinity_values | The list of label values of reservation resources. For example: the name of the specific reservation when using a key of "compute.googleapis.com/reservation-name". This should be passed as comma separated string. | | Optional |
| local_ssd_encryption_mode | specifies the method used for encrypting the local SSDs attached to the node. Valid values are: "STANDARD_ENCRYPTION" and "EPHEMERAL_KEY_ENCRYPTION" | | Optional |
| max_run_duration | The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s". | null | Optional |
| flex_start | Enables Flex Start provisioning model for the node pool | null | Optional |

## windows_node_pools variable

Expand Down
4 changes: 4 additions & 0 deletions modules/beta-private-cluster-update-variant/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ resource "google_container_cluster" "primary" {

local_ssd_encryption_mode = lookup(var.node_pools[0], "local_ssd_encryption_mode", null)
max_run_duration = lookup(var.node_pools[0], "max_run_duration", null)
flex_start = lookup(var.node_pools[0], "flex_start", null)
}
}

Expand Down Expand Up @@ -725,6 +726,7 @@ locals {
"secondary_boot_disk",
"local_ssd_encryption_mode",
"max_run_duration",
"flex_start",
]
}

Expand Down Expand Up @@ -1138,6 +1140,7 @@ resource "google_container_node_pool" "pools" {

local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
max_run_duration = lookup(each.value, "max_run_duration", null)
flex_start = lookup(each.value, "flex_start", null)
}

lifecycle {
Expand Down Expand Up @@ -1483,6 +1486,7 @@ resource "google_container_node_pool" "windows_pools" {

local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
max_run_duration = lookup(each.value, "max_run_duration", null)
flex_start = lookup(each.value, "flex_start", null)
}

lifecycle {
Expand Down
1 change: 1 addition & 0 deletions modules/beta-private-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ The node_pools variable takes the following parameters:
| reservation_affinity_values | The list of label values of reservation resources. For example: the name of the specific reservation when using a key of "compute.googleapis.com/reservation-name". This should be passed as comma separated string. | | Optional |
| local_ssd_encryption_mode | specifies the method used for encrypting the local SSDs attached to the node. Valid values are: "STANDARD_ENCRYPTION" and "EPHEMERAL_KEY_ENCRYPTION" | | Optional |
| max_run_duration | The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s". | null | Optional |
| flex_start | Enables Flex Start provisioning model for the node pool | null | Optional |

## windows_node_pools variable

Expand Down
3 changes: 3 additions & 0 deletions modules/beta-private-cluster/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ resource "google_container_cluster" "primary" {

local_ssd_encryption_mode = lookup(var.node_pools[0], "local_ssd_encryption_mode", null)
max_run_duration = lookup(var.node_pools[0], "max_run_duration", null)
flex_start = lookup(var.node_pools[0], "flex_start", null)
}
}

Expand Down Expand Up @@ -1055,6 +1056,7 @@ resource "google_container_node_pool" "pools" {

local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
max_run_duration = lookup(each.value, "max_run_duration", null)
flex_start = lookup(each.value, "flex_start", null)
}

lifecycle {
Expand Down Expand Up @@ -1399,6 +1401,7 @@ resource "google_container_node_pool" "windows_pools" {

local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
max_run_duration = lookup(each.value, "max_run_duration", null)
flex_start = lookup(each.value, "flex_start", null)
}

lifecycle {
Expand Down
1 change: 1 addition & 0 deletions modules/beta-public-cluster-update-variant/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@ The node_pools variable takes the following parameters:
| reservation_affinity_values | The list of label values of reservation resources. For example: the name of the specific reservation when using a key of "compute.googleapis.com/reservation-name". This should be passed as comma separated string. | | Optional |
| local_ssd_encryption_mode | specifies the method used for encrypting the local SSDs attached to the node. Valid values are: "STANDARD_ENCRYPTION" and "EPHEMERAL_KEY_ENCRYPTION" | | Optional |
| max_run_duration | The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s". | null | Optional |
| flex_start | Enables Flex Start provisioning model for the node pool | null | Optional |

## windows_node_pools variable

Expand Down
4 changes: 4 additions & 0 deletions modules/beta-public-cluster-update-variant/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ resource "google_container_cluster" "primary" {

local_ssd_encryption_mode = lookup(var.node_pools[0], "local_ssd_encryption_mode", null)
max_run_duration = lookup(var.node_pools[0], "max_run_duration", null)
flex_start = lookup(var.node_pools[0], "flex_start", null)
}
}

Expand Down Expand Up @@ -703,6 +704,7 @@ locals {
"secondary_boot_disk",
"local_ssd_encryption_mode",
"max_run_duration",
"flex_start",
]
}

Expand Down Expand Up @@ -1116,6 +1118,7 @@ resource "google_container_node_pool" "pools" {

local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
max_run_duration = lookup(each.value, "max_run_duration", null)
flex_start = lookup(each.value, "flex_start", null)
}

lifecycle {
Expand Down Expand Up @@ -1461,6 +1464,7 @@ resource "google_container_node_pool" "windows_pools" {

local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
max_run_duration = lookup(each.value, "max_run_duration", null)
flex_start = lookup(each.value, "flex_start", null)
}

lifecycle {
Expand Down
1 change: 1 addition & 0 deletions modules/beta-public-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ The node_pools variable takes the following parameters:
| reservation_affinity_values | The list of label values of reservation resources. For example: the name of the specific reservation when using a key of "compute.googleapis.com/reservation-name". This should be passed as comma separated string. | | Optional |
| local_ssd_encryption_mode | specifies the method used for encrypting the local SSDs attached to the node. Valid values are: "STANDARD_ENCRYPTION" and "EPHEMERAL_KEY_ENCRYPTION" | | Optional |
| max_run_duration | The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s". | null | Optional |
| flex_start | Enables Flex Start provisioning model for the node pool | null | Optional |

## windows_node_pools variable

Expand Down
3 changes: 3 additions & 0 deletions modules/beta-public-cluster/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ resource "google_container_cluster" "primary" {

local_ssd_encryption_mode = lookup(var.node_pools[0], "local_ssd_encryption_mode", null)
max_run_duration = lookup(var.node_pools[0], "max_run_duration", null)
flex_start = lookup(var.node_pools[0], "flex_start", null)
}
}

Expand Down Expand Up @@ -1033,6 +1034,7 @@ resource "google_container_node_pool" "pools" {

local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
max_run_duration = lookup(each.value, "max_run_duration", null)
flex_start = lookup(each.value, "flex_start", null)
}

lifecycle {
Expand Down Expand Up @@ -1377,6 +1379,7 @@ resource "google_container_node_pool" "windows_pools" {

local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
max_run_duration = lookup(each.value, "max_run_duration", null)
flex_start = lookup(each.value, "flex_start", null)
}

lifecycle {
Expand Down
1 change: 1 addition & 0 deletions modules/private-cluster-update-variant/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ The node_pools variable takes the following parameters:
| reservation_affinity_values | The list of label values of reservation resources. For example: the name of the specific reservation when using a key of "compute.googleapis.com/reservation-name". This should be passed as comma separated string. | | Optional |
| local_ssd_encryption_mode | specifies the method used for encrypting the local SSDs attached to the node. Valid values are: "STANDARD_ENCRYPTION" and "EPHEMERAL_KEY_ENCRYPTION" | | Optional |
| max_run_duration | The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s". | null | Optional |
| flex_start | Enables Flex Start provisioning model for the node pool | null | Optional |

## windows_node_pools variable

Expand Down
4 changes: 4 additions & 0 deletions modules/private-cluster-update-variant/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,7 @@ resource "google_container_cluster" "primary" {

local_ssd_encryption_mode = lookup(var.node_pools[0], "local_ssd_encryption_mode", null)
max_run_duration = lookup(var.node_pools[0], "max_run_duration", null)
flex_start = lookup(var.node_pools[0], "flex_start", null)
}
}

Expand Down Expand Up @@ -679,6 +680,7 @@ locals {
"secondary_boot_disk",
"local_ssd_encryption_mode",
"max_run_duration",
"flex_start",
]
}

Expand Down Expand Up @@ -1079,6 +1081,7 @@ resource "google_container_node_pool" "pools" {

local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
max_run_duration = lookup(each.value, "max_run_duration", null)
flex_start = lookup(each.value, "flex_start", null)
}

lifecycle {
Expand Down Expand Up @@ -1411,6 +1414,7 @@ resource "google_container_node_pool" "windows_pools" {

local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
max_run_duration = lookup(each.value, "max_run_duration", null)
flex_start = lookup(each.value, "flex_start", null)
}

lifecycle {
Expand Down
1 change: 1 addition & 0 deletions modules/private-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ The node_pools variable takes the following parameters:
| reservation_affinity_values | The list of label values of reservation resources. For example: the name of the specific reservation when using a key of "compute.googleapis.com/reservation-name". This should be passed as comma separated string. | | Optional |
| local_ssd_encryption_mode | specifies the method used for encrypting the local SSDs attached to the node. Valid values are: "STANDARD_ENCRYPTION" and "EPHEMERAL_KEY_ENCRYPTION" | | Optional |
| max_run_duration | The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s". | null | Optional |
| flex_start | Enables Flex Start provisioning model for the node pool | null | Optional |

## windows_node_pools variable

Expand Down
3 changes: 3 additions & 0 deletions modules/private-cluster/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,7 @@ resource "google_container_cluster" "primary" {

local_ssd_encryption_mode = lookup(var.node_pools[0], "local_ssd_encryption_mode", null)
max_run_duration = lookup(var.node_pools[0], "max_run_duration", null)
flex_start = lookup(var.node_pools[0], "flex_start", null)
}
}

Expand Down Expand Up @@ -997,6 +998,7 @@ resource "google_container_node_pool" "pools" {

local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
max_run_duration = lookup(each.value, "max_run_duration", null)
flex_start = lookup(each.value, "flex_start", null)
}

lifecycle {
Expand Down Expand Up @@ -1328,6 +1330,7 @@ resource "google_container_node_pool" "windows_pools" {

local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
max_run_duration = lookup(each.value, "max_run_duration", null)
flex_start = lookup(each.value, "flex_start", null)
}

lifecycle {
Expand Down