Skip to content

Commit

Permalink
chore(autopilot): Add node_pools_cgroup_mode to examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Sonn committed Feb 17, 2025
1 parent 1090df5 commit eb97093
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/simple_autopilot_private/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ module "gke" {
enable_private_endpoint = true
enable_private_nodes = true
network_tags = [local.cluster_type]
node_pools_cgroup_mode = "CGROUP_MODE_V2"
deletion_protection = false
insecure_kubelet_readonly_port_enabled = false
}
1 change: 1 addition & 0 deletions examples/simple_autopilot_private_cmek/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ module "gke" {
enable_private_endpoint = true
enable_private_nodes = true
network_tags = [local.cluster_type]
node_pools_cgroup_mode = "CGROUP_MODE_V2"
deletion_protection = false
boot_disk_kms_key = values(module.kms.keys)[0]
depends_on = [google_kms_crypto_key_iam_member.main]
Expand Down
1 change: 1 addition & 0 deletions examples/simple_autopilot_private_non_default_sa/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ module "gke" {
enable_vertical_pod_autoscaling = true
enable_private_endpoint = true
enable_private_nodes = true
node_pools_cgroup_mode = "CGROUP_MODE_V2"
deletion_protection = false

master_authorized_networks = [
Expand Down
1 change: 1 addition & 0 deletions examples/simple_autopilot_public/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ module "gke" {
release_channel = "RAPID"
enable_vertical_pod_autoscaling = true
network_tags = [local.cluster_type]
node_pools_cgroup_mode = "CGROUP_MODE_V2"
deletion_protection = false
enable_l4_ilb_subsetting = true
stateful_ha = false
Expand Down

0 comments on commit eb97093

Please sign in to comment.