Google Cloud:如何将kubernetes集群移动到其他区域?

问题描述 投票:0回答:1

我有一个kubernetes集群,该集群当前在欧洲-north1和欧洲-north1-a地区中运行。我想将此集群移至带有europe-west3-b区域的新区域Europe-west3,以访问nvidia-tesla-t4加速器。

gcloud compute accelerator-types list
NAME                   ZONE                       DESCRIPTION
nvidia-tesla-t4        europe-west3-b             NVIDIA Tesla T4

我试图通过gcloud CLI更新集群,但是标准的update命令似乎不支持这种操作。

错误:“指定位置“ europe-west3-b”在群集的区域” 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".'>]

有没有有效的方法在区域之间移动集群?

kubernetes google-cloud-platform google-compute-engine google-kubernetes-engine
1个回答
0
投票

不,您根本不能在区域之间移动任何东西,至少不能在整个运行集群中移动。您需要备份数据并将其还原到新区域中的新群集中。

© www.soinside.com 2019 - 2024. All rights reserved.