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

Can not update node pool to private node pool

I try to update my exsiting node pool to private node pool, but it return error 400

gcloud container node-pools update node-pool-name --cluster=database --enable-private-nodes --region asia-southeast1 --project my-project

ERROR: (gcloud.container.node-pools.update) ResponseError: code=400, message=Private nodepools are temporarily not supported for your cluster when cluster is the middle of PSC migration.

0 1 480
1 REPLY 1

Hi @vanphuoc3012,

Welcome to Google Cloud Community!

The error you're seeing is likely due to an ongoing Google Kubernetes Engine (GKE) migration to Private Service Connect. This migration is not yet complete for your cluster, so the gcloud command is failing. Please wait for the migration to finish, then try the command again.

According to this documentation, Private or public clusters that meet any of the following conditions, use Private Service Connect to privately connect nodes and the control plane:

  • New public clusters in version 1.23 on or after March 15, 2022.
  • New private clusters in version 1.29 after January 28, 2024.

Existing public clusters that don't meet the preceding conditions are being migrated to Private Service Connect. Therefore, these clusters might already use Private Service Connect. However, existing private clusters that don't meet the preceding conditions are not migrated yet.

If the issue persists, please contact Google Support Team.

I hope the above information is helpful.

Top Labels in this Space