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.
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:
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.