Reputation: 95
I have a kubernetes cluster that is currently running in the region europe-north1 and zone europe-north1-a. I want to move this cluster to the new region europe-west3 with the zone europe-west3-b to get access to nvidia-tesla-t4 accelerators.
gcloud compute accelerator-types list
NAME ZONE DESCRIPTION
nvidia-tesla-t4 europe-west3-b NVIDIA Tesla T4
I tried to update the cluster via the gcloud CLI but the standard update command seems not to support this kind of operation.
Error: "Specified location "europe-west3-b" is not a valid zone in the cluster\'s region "europe-north1"."
gcloud container clusters update cluster-1 \
--region europe-north1 \
--node-locations europe-west3-b
Updating cluster-1...
30 .........................done.
31 ERROR: (gcloud.container.clusters.update) Operation [<Operation
32 clusterConditions: [<StatusCondition
33 message: u'Specified location "europe-west3-b" is not a valid zone in the cluster\'s region "europe-north1".'>]
Is there any efficient way to move cluster between regions?
Upvotes: 0
Views: 2270
Reputation: 54249
No, you can’t move things between regions at all, least of all an entire running cluster. You’ll need to back up your data and restore it onto a new cluster in the new region.
Upvotes: 3