2

Error: error creating NodePool: googleapi: Error 400: Creation of node pools using node images based on Docker container runtimes is not supported in GKE v1.23. This is to prepare for the removal of Dockershim in Kubernetes v1.24. We recommend that you migrate to image types based on Containerd (examples). For more information, contact Cloud Support., badRequest.

what could be the fix for this?

James Z
  • 12,209
  • 10
  • 24
  • 44
amp
  • 31
  • 3
  • you can share the terraform code and variables that you are passing so get some idea feel free to update question with details. – Harsh Manvar Jun 10 '22 at 04:38
  • Assuming you cloned https://github.com/terraform-google-modules/terraform-google-kubernetes-engine, you'll need to update the "version" field for the GKE module to "19.0" or later. You can find the field here: https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/blob/master/examples/acm-terraform-blog-part1/terraform/gke.tf#L34 – Gari Singh Jun 10 '22 at 08:53

1 Answers1

1

Assuming you cloned github.com/terraform-google-modules/…, you'll need to update the "version" field for the GKE module to "19.0" or later. You can find the field here:

https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/blob/master/examples/acm-terraform-blog-part1/terraform/gke.tf#L34

Gari Singh
  • 11,418
  • 2
  • 18
  • 41