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:
Steps Taken:
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
Followed the documentation to update the cluster using: gcloud container clusters update <CLUSTER_NAME> --autoprovisioning-cgroup-mode=v2 --region=europe-west2
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?