如何在 Google Cloud Platform 中编辑 Kubernetes 集群的描述字段?

How can I edit the description field of a Kubernetes cluster in Google Cloud Platform?

我想编辑部署在 Google 的容器引擎中的 Kubernetes 集群的描述字段。

我从Google云平台的容器引擎页面进入集群的页面时可以看到描述,从命令行使用

gcloud beta container clusters describe <container_id>  

但是我找不到任何 REST 或命令行 API 来编辑 这个字段。 有可能吗?

谢谢

不,目前无法编辑描述字段。抱歉!

通过查看 Google 容器引擎 API [1],目前似乎不可能。 projects.zones.clusters.update 方法只能更新以下参数:

  • desiredNodeVersion
  • 所需的监控服务
  • desiredAddonsConfig

您当然可以创建新集群并重新创建资源,但我想这似乎有点矫枉过正。

[1] https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters/update#ClusterUpdate