Skip to content

Commit 21712e3

Browse files
authored
Merge branch 'main' into gke-patch
2 parents f584f0a + c0c80e6 commit 21712e3

File tree

16 files changed

+35
-0
lines changed

16 files changed

+35
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@ The node_pools variable takes the following parameters:
401401
| 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 |
402402
| 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 |
403403
| max_run_duration | The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s". | null | Optional |
404+
| flex_start | Enables Flex Start provisioning model for the node pool | null | Optional |
404405

405406
## windows_node_pools variable
406407

autogen/main/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ The node_pools variable takes the following parameters:
285285
| 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 |
286286
| 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 |
287287
| max_run_duration | The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s". | null | Optional |
288+
| flex_start | Enables Flex Start provisioning model for the node pool | null | Optional |
288289

289290
## windows_node_pools variable
290291

autogen/main/cluster.tf.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,7 @@ resource "google_container_cluster" "primary" {
686686

687687
local_ssd_encryption_mode = lookup(var.node_pools[0], "local_ssd_encryption_mode", null)
688688
max_run_duration = lookup(var.node_pools[0], "max_run_duration", null)
689+
flex_start = lookup(var.node_pools[0], "flex_start", null)
689690
}
690691
}
691692
{% endif %}
@@ -854,6 +855,7 @@ locals {
854855
"secondary_boot_disk",
855856
"local_ssd_encryption_mode",
856857
"max_run_duration",
858+
"flex_start",
857859
]
858860
}
859861

@@ -1296,6 +1298,7 @@ resource "google_container_node_pool" "windows_pools" {
12961298

12971299
local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
12981300
max_run_duration = lookup(each.value, "max_run_duration", null)
1301+
flex_start = lookup(each.value, "flex_start", null)
12991302
}
13001303

13011304
lifecycle {

cluster.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,7 @@ resource "google_container_cluster" "primary" {
537537

538538
local_ssd_encryption_mode = lookup(var.node_pools[0], "local_ssd_encryption_mode", null)
539539
max_run_duration = lookup(var.node_pools[0], "max_run_duration", null)
540+
flex_start = lookup(var.node_pools[0], "flex_start", null)
540541
}
541542
}
542543

@@ -983,6 +984,7 @@ resource "google_container_node_pool" "pools" {
983984

984985
local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
985986
max_run_duration = lookup(each.value, "max_run_duration", null)
987+
flex_start = lookup(each.value, "flex_start", null)
986988
}
987989

988990
lifecycle {
@@ -1314,6 +1316,7 @@ resource "google_container_node_pool" "windows_pools" {
13141316

13151317
local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
13161318
max_run_duration = lookup(each.value, "max_run_duration", null)
1319+
flex_start = lookup(each.value, "flex_start", null)
13171320
}
13181321

13191322
lifecycle {

modules/beta-private-cluster-update-variant/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,7 @@ The node_pools variable takes the following parameters:
455455
| 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 |
456456
| 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 |
457457
| max_run_duration | The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s". | null | Optional |
458+
| flex_start | Enables Flex Start provisioning model for the node pool | null | Optional |
458459

459460
## windows_node_pools variable
460461

modules/beta-private-cluster-update-variant/cluster.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,7 @@ resource "google_container_cluster" "primary" {
581581

582582
local_ssd_encryption_mode = lookup(var.node_pools[0], "local_ssd_encryption_mode", null)
583583
max_run_duration = lookup(var.node_pools[0], "max_run_duration", null)
584+
flex_start = lookup(var.node_pools[0], "flex_start", null)
584585
}
585586
}
586587

@@ -733,6 +734,7 @@ locals {
733734
"secondary_boot_disk",
734735
"local_ssd_encryption_mode",
735736
"max_run_duration",
737+
"flex_start",
736738
]
737739
}
738740

@@ -1146,6 +1148,7 @@ resource "google_container_node_pool" "pools" {
11461148

11471149
local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
11481150
max_run_duration = lookup(each.value, "max_run_duration", null)
1151+
flex_start = lookup(each.value, "flex_start", null)
11491152
}
11501153

11511154
lifecycle {
@@ -1491,6 +1494,7 @@ resource "google_container_node_pool" "windows_pools" {
14911494

14921495
local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
14931496
max_run_duration = lookup(each.value, "max_run_duration", null)
1497+
flex_start = lookup(each.value, "flex_start", null)
14941498
}
14951499

14961500
lifecycle {

modules/beta-private-cluster/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,7 @@ The node_pools variable takes the following parameters:
433433
| 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 |
434434
| 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 |
435435
| max_run_duration | The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s". | null | Optional |
436+
| flex_start | Enables Flex Start provisioning model for the node pool | null | Optional |
436437

437438
## windows_node_pools variable
438439

modules/beta-private-cluster/cluster.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,7 @@ resource "google_container_cluster" "primary" {
581581

582582
local_ssd_encryption_mode = lookup(var.node_pools[0], "local_ssd_encryption_mode", null)
583583
max_run_duration = lookup(var.node_pools[0], "max_run_duration", null)
584+
flex_start = lookup(var.node_pools[0], "flex_start", null)
584585
}
585586
}
586587

@@ -1063,6 +1064,7 @@ resource "google_container_node_pool" "pools" {
10631064

10641065
local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
10651066
max_run_duration = lookup(each.value, "max_run_duration", null)
1067+
flex_start = lookup(each.value, "flex_start", null)
10661068
}
10671069

10681070
lifecycle {
@@ -1407,6 +1409,7 @@ resource "google_container_node_pool" "windows_pools" {
14071409

14081410
local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
14091411
max_run_duration = lookup(each.value, "max_run_duration", null)
1412+
flex_start = lookup(each.value, "flex_start", null)
14101413
}
14111414

14121415
lifecycle {

modules/beta-public-cluster-update-variant/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,7 @@ The node_pools variable takes the following parameters:
442442
| 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 |
443443
| 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 |
444444
| max_run_duration | The runtime of each node in the node pool in seconds, terminated by 's'. Example: "3600s". | null | Optional |
445+
| flex_start | Enables Flex Start provisioning model for the node pool | null | Optional |
445446

446447
## windows_node_pools variable
447448

modules/beta-public-cluster-update-variant/cluster.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,7 @@ resource "google_container_cluster" "primary" {
581581

582582
local_ssd_encryption_mode = lookup(var.node_pools[0], "local_ssd_encryption_mode", null)
583583
max_run_duration = lookup(var.node_pools[0], "max_run_duration", null)
584+
flex_start = lookup(var.node_pools[0], "flex_start", null)
584585
}
585586
}
586587

@@ -711,6 +712,7 @@ locals {
711712
"secondary_boot_disk",
712713
"local_ssd_encryption_mode",
713714
"max_run_duration",
715+
"flex_start",
714716
]
715717
}
716718

@@ -1124,6 +1126,7 @@ resource "google_container_node_pool" "pools" {
11241126

11251127
local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
11261128
max_run_duration = lookup(each.value, "max_run_duration", null)
1129+
flex_start = lookup(each.value, "flex_start", null)
11271130
}
11281131

11291132
lifecycle {
@@ -1469,6 +1472,7 @@ resource "google_container_node_pool" "windows_pools" {
14691472

14701473
local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
14711474
max_run_duration = lookup(each.value, "max_run_duration", null)
1475+
flex_start = lookup(each.value, "flex_start", null)
14721476
}
14731477

14741478
lifecycle {

0 commit comments

Comments
 (0)