File tree Expand file tree Collapse file tree 4 files changed +48
-2
lines changed
safer-cluster-update-variant Expand file tree Collapse file tree 4 files changed +48
-2
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,9 @@ module "gke" {
9393 node_pools_taints = var. node_pools_taints
9494 node_pools_tags = var. node_pools_tags
9595
96- node_pools_oauth_scopes = var. node_pools_oauth_scopes
96+ node_pools_oauth_scopes = var. node_pools_oauth_scopes
97+ node_pools_linux_node_configs_sysctls = var. node_pools_linux_node_configs_sysctls
98+ node_pools_cgroup_mode = var. node_pools_cgroup_mode
9799
98100 cluster_autoscaling = var. cluster_autoscaling
99101
Original file line number Diff line number Diff line change @@ -224,6 +224,27 @@ variable "node_pools_oauth_scopes" {
224224 }
225225}
226226
227+ variable "node_pools_linux_node_configs_sysctls" {
228+ type = map (map (string ))
229+ description = " Map of maps containing linux node config sysctls by node-pool name"
230+
231+ # Default is being set in variables_defaults.tf
232+ default = {
233+ all = {}
234+ default-node-pool = {}
235+ }
236+ }
237+ variable "node_pools_cgroup_mode" {
238+ type = map (string )
239+ description = " Map of strings containing cgroup node config by node-pool name"
240+
241+ # Default is being set in variables_defaults.tf
242+ default = {
243+ all = " "
244+ default-node-pool = " "
245+ }
246+ }
247+
227248variable "cluster_autoscaling" {
228249 type = object ({
229250 enabled = bool
Original file line number Diff line number Diff line change @@ -93,7 +93,9 @@ module "gke" {
9393 node_pools_taints = var. node_pools_taints
9494 node_pools_tags = var. node_pools_tags
9595
96- node_pools_oauth_scopes = var. node_pools_oauth_scopes
96+ node_pools_oauth_scopes = var. node_pools_oauth_scopes
97+ node_pools_linux_node_configs_sysctls = var. node_pools_linux_node_configs_sysctls
98+ node_pools_cgroup_mode = var. node_pools_cgroup_mode
9799
98100 cluster_autoscaling = var. cluster_autoscaling
99101
Original file line number Diff line number Diff line change @@ -224,6 +224,27 @@ variable "node_pools_oauth_scopes" {
224224 }
225225}
226226
227+ variable "node_pools_linux_node_configs_sysctls" {
228+ type = map (map (string ))
229+ description = " Map of maps containing linux node config sysctls by node-pool name"
230+
231+ # Default is being set in variables_defaults.tf
232+ default = {
233+ all = {}
234+ default-node-pool = {}
235+ }
236+ }
237+ variable "node_pools_cgroup_mode" {
238+ type = map (string )
239+ description = " Map of strings containing cgroup node config by node-pool name"
240+
241+ # Default is being set in variables_defaults.tf
242+ default = {
243+ all = " "
244+ default-node-pool = " "
245+ }
246+ }
247+
227248variable "cluster_autoscaling" {
228249 type = object ({
229250 enabled = bool
You can’t perform that action at this time.
0 commit comments