Skip to content

Commit 3176df6

Browse files
Alex Sonnscipe
authored andcommitted
chore(autopilot): Add node_pools_cgroup_mode to examples
1 parent 754badb commit 3176df6

File tree

4 files changed

+4
-0
lines changed
  • examples
    • simple_autopilot_private_cmek
    • simple_autopilot_private_non_default_sa
    • simple_autopilot_private
    • simple_autopilot_public

4 files changed

+4
-0
lines changed

examples/simple_autopilot_private/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ module "gke" {
5050
enable_private_endpoint = true
5151
enable_private_nodes = true
5252
network_tags = [local.cluster_type]
53+
node_pools_cgroup_mode = "CGROUP_MODE_V2"
5354
deletion_protection = false
5455
insecure_kubelet_readonly_port_enabled = false
5556
}

examples/simple_autopilot_private_cmek/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ module "gke" {
7171
enable_private_endpoint = true
7272
enable_private_nodes = true
7373
network_tags = [local.cluster_type]
74+
node_pools_cgroup_mode = "CGROUP_MODE_V2"
7475
deletion_protection = false
7576
boot_disk_kms_key = values(module.kms.keys)[0]
7677
depends_on = [google_kms_crypto_key_iam_member.main]

examples/simple_autopilot_private_non_default_sa/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ module "gke" {
4949
enable_vertical_pod_autoscaling = true
5050
enable_private_endpoint = true
5151
enable_private_nodes = true
52+
node_pools_cgroup_mode = "CGROUP_MODE_V2"
5253
deletion_protection = false
5354

5455
master_authorized_networks = [

examples/simple_autopilot_public/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ module "gke" {
4747
release_channel = "RAPID"
4848
enable_vertical_pod_autoscaling = true
4949
network_tags = [local.cluster_type]
50+
node_pools_cgroup_mode = "CGROUP_MODE_V2"
5051
deletion_protection = false
5152
enable_l4_ilb_subsetting = true
5253
stateful_ha = false

0 commit comments

Comments
 (0)