Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Error when trying to migrate a GKE Autopilot cluster to cgroupv2

We're trying to migrate our GKE Autopilot cluster from cgroupv1 to cgroupv2 following the official documentation (https://cloud.google.com/kubernetes-engine/docs/how-to/migrate-cgroupv2#autopilot_1), but we're encountering an error.

Cluster Details:

  • Region: europe-west2
  • GKE Version: 1.31.6-gke.1064001
  • Current cgroup mode: EFFECTIVE_CGROUP_MODE_V1
  • Current COS version: cos-117-18613-164-38

Steps Taken:

  1. Verified the current cgroup mode using: gcloud container clusters describe development --format='value(nodePools[0].config.effectiveCgroupMode)' --region=europe-west2 which returned EFFECTIVE_CGROUP_MODE_V1

  2. Followed the documentation to update the cluster using: gcloud container clusters update <CLUSTER_NAME> --autoprovisioning-cgroup-mode=v2 --region=europe-west2

  3. Received error: ERROR: (gcloud.container.clusters.update) ResponseError: code=400, message=INVALID_ARGUMENT: invalid node_pool_auto_config.linux_node_config. Allowed fields are: ["cgroup_mode"]

We've tried to update gcloud CLI to the latest version, with the same results.

We couldn't find anything online related to this.

Any ideas?

0 0 144
0 REPLIES 0
Top Labels in this Space