-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for linux_node_config cgroupMode #12712
Comments
Please also add same to resource google_container_aws_node_pool TY. |
Waiting Terraform configuration availability, is there any workaround to change cgroup mode ? |
You can do this manually after the cluster is created, per node pool:
Then run:
This does a normal node pool rolling update, recreating all the nodes. |
Complementing @DanTulovsky's suggestion, you can perform this update via terraform using a For example: resource "null_resource" "update_cgroup" {
triggers = {
// whatever makes the most sense in your context
}
provisioner "local-exec" {
command = "sh ../scripts/update-cgroup-mode.sh ${module.node_pool} ${module.cluster.name} ${var.metadata.region}"
}
depends_on = [module.node_pool] // your module of node pools, so it will only run after creating it
} |
Suggest closing this as this was merged in GoogleCloudPlatform/magic-modules#8997 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Description
Newer GKE release allow setting the cgroupMode for nodes,:
https://cloud.google.com/kubernetes-engine/docs/how-to/node-system-config#cgroup-mode-options
New or Affected Resource(s)
Potential Terraform Configuration
References
b/288868203
The text was updated successfully, but these errors were encountered: