如何更改Google Cloud SQL故障转移副本的计算机类型(How to change the machine type of a Google Cloud SQL failover replica)

我最近更改了Google Cloud SQL实例的计算机类型,但它没有自动更改故障转移副本的计算机类型。 编辑副本时,更改机器类型的按钮显示为灰色。 有谁知道如何更改副本的机器类型?

I recently changed the machine type for a Google Cloud SQL instance, but it did not automatically change the machine type for the failover replica. When I edit the replica, the button to change the machine type is greyed out. Does anyone know how I can change the machine type for the replica?

最满意答案

目前,通过UI无法实现。

在修复之前,您可以使用gcloud执行更改:

cloud sql instances patch --project=my-project my-instance --tier new-tier

At the moment, it's not possible via the UI.

Until that's fixed, you can use gcloud to perform the change:

cloud sql instances patch --project=my-project my-instance --tier new-tier

如何更改Google Cloud SQL故障转移副本的计算机类型(How to change the machine type of a Google Cloud SQL failover replica)

我最近更改了Google Cloud SQL实例的计算机类型,但它没有自动更改故障转移副本的计算机类型。 编辑副本时,更改机器类型的按钮显示为灰色。 有谁知道如何更改副本的机器类型?

I recently changed the machine type for a Google Cloud SQL instance, but it did not automatically change the machine type for the failover replica. When I edit the replica, the button to change the machine type is greyed out. Does anyone know how I can change the machine type for the replica?

最满意答案

目前,通过UI无法实现。

在修复之前,您可以使用gcloud执行更改:

cloud sql instances patch --project=my-project my-instance --tier new-tier

At the moment, it's not possible via the UI.

Until that's fixed, you can use gcloud to perform the change:

cloud sql instances patch --project=my-project my-instance --tier new-tier