Skip to content

Commit 8b4d9f7

Browse files
authored
Merge branch 'main' into cluster-egress-setting
2 parents 4743082 + c0c80e6 commit 8b4d9f7

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
@@ -685,6 +685,7 @@ resource "google_container_cluster" "primary" {
685685

686686
local_ssd_encryption_mode = lookup(var.node_pools[0], "local_ssd_encryption_mode", null)
687687
max_run_duration = lookup(var.node_pools[0], "max_run_duration", null)
688+
flex_start = lookup(var.node_pools[0], "flex_start", null)
688689
}
689690
}
690691
{% endif %}
@@ -853,6 +854,7 @@ locals {
853854
"secondary_boot_disk",
854855
"local_ssd_encryption_mode",
855856
"max_run_duration",
857+
"flex_start",
856858
]
857859
}
858860

@@ -1295,6 +1297,7 @@ resource "google_container_node_pool" "windows_pools" {
12951297

12961298
local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
12971299
max_run_duration = lookup(each.value, "max_run_duration", null)
1300+
flex_start = lookup(each.value, "flex_start", null)
12981301
}
12991302

13001303
lifecycle {

cluster.tf

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

537537
local_ssd_encryption_mode = lookup(var.node_pools[0], "local_ssd_encryption_mode", null)
538538
max_run_duration = lookup(var.node_pools[0], "max_run_duration", null)
539+
flex_start = lookup(var.node_pools[0], "flex_start", null)
539540
}
540541
}
541542

@@ -982,6 +983,7 @@ resource "google_container_node_pool" "pools" {
982983

983984
local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
984985
max_run_duration = lookup(each.value, "max_run_duration", null)
986+
flex_start = lookup(each.value, "flex_start", null)
985987
}
986988

987989
lifecycle {
@@ -1313,6 +1315,7 @@ resource "google_container_node_pool" "windows_pools" {
13131315

13141316
local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
13151317
max_run_duration = lookup(each.value, "max_run_duration", null)
1318+
flex_start = lookup(each.value, "flex_start", null)
13161319
}
13171320

13181321
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
@@ -580,6 +580,7 @@ resource "google_container_cluster" "primary" {
580580

581581
local_ssd_encryption_mode = lookup(var.node_pools[0], "local_ssd_encryption_mode", null)
582582
max_run_duration = lookup(var.node_pools[0], "max_run_duration", null)
583+
flex_start = lookup(var.node_pools[0], "flex_start", null)
583584
}
584585
}
585586

@@ -732,6 +733,7 @@ locals {
732733
"secondary_boot_disk",
733734
"local_ssd_encryption_mode",
734735
"max_run_duration",
736+
"flex_start",
735737
]
736738
}
737739

@@ -1145,6 +1147,7 @@ resource "google_container_node_pool" "pools" {
11451147

11461148
local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
11471149
max_run_duration = lookup(each.value, "max_run_duration", null)
1150+
flex_start = lookup(each.value, "flex_start", null)
11481151
}
11491152

11501153
lifecycle {
@@ -1490,6 +1493,7 @@ resource "google_container_node_pool" "windows_pools" {
14901493

14911494
local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
14921495
max_run_duration = lookup(each.value, "max_run_duration", null)
1496+
flex_start = lookup(each.value, "flex_start", null)
14931497
}
14941498

14951499
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
@@ -580,6 +580,7 @@ resource "google_container_cluster" "primary" {
580580

581581
local_ssd_encryption_mode = lookup(var.node_pools[0], "local_ssd_encryption_mode", null)
582582
max_run_duration = lookup(var.node_pools[0], "max_run_duration", null)
583+
flex_start = lookup(var.node_pools[0], "flex_start", null)
583584
}
584585
}
585586

@@ -1062,6 +1063,7 @@ resource "google_container_node_pool" "pools" {
10621063

10631064
local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
10641065
max_run_duration = lookup(each.value, "max_run_duration", null)
1066+
flex_start = lookup(each.value, "flex_start", null)
10651067
}
10661068

10671069
lifecycle {
@@ -1406,6 +1408,7 @@ resource "google_container_node_pool" "windows_pools" {
14061408

14071409
local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
14081410
max_run_duration = lookup(each.value, "max_run_duration", null)
1411+
flex_start = lookup(each.value, "flex_start", null)
14091412
}
14101413

14111414
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
@@ -580,6 +580,7 @@ resource "google_container_cluster" "primary" {
580580

581581
local_ssd_encryption_mode = lookup(var.node_pools[0], "local_ssd_encryption_mode", null)
582582
max_run_duration = lookup(var.node_pools[0], "max_run_duration", null)
583+
flex_start = lookup(var.node_pools[0], "flex_start", null)
583584
}
584585
}
585586

@@ -710,6 +711,7 @@ locals {
710711
"secondary_boot_disk",
711712
"local_ssd_encryption_mode",
712713
"max_run_duration",
714+
"flex_start",
713715
]
714716
}
715717

@@ -1123,6 +1125,7 @@ resource "google_container_node_pool" "pools" {
11231125

11241126
local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
11251127
max_run_duration = lookup(each.value, "max_run_duration", null)
1128+
flex_start = lookup(each.value, "flex_start", null)
11261129
}
11271130

11281131
lifecycle {
@@ -1468,6 +1471,7 @@ resource "google_container_node_pool" "windows_pools" {
14681471

14691472
local_ssd_encryption_mode = lookup(each.value, "local_ssd_encryption_mode", null)
14701473
max_run_duration = lookup(each.value, "max_run_duration", null)
1474+
flex_start = lookup(each.value, "flex_start", null)
14711475
}
14721476

14731477
lifecycle {

0 commit comments

Comments
 (0)