【问题标题】:How can I edit the description field of a Kubernetes cluster in Google Cloud Platform?如何在 Google Cloud Platform 中编辑 Kubernetes 集群的描述字段?
【发布时间】:2016-07-09 11:30:53
【问题描述】:

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

我从谷歌云平台的Container Engine页面进入集群页面可以看到描述,在命令行使用该行

gcloud beta container clusters describe <container_id>  

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

谢谢

【问题讨论】:

    标签: google-cloud-platform kubernetes google-kubernetes-engine


    【解决方案1】:

    不,目前无法编辑描述字段。对不起!

    【讨论】:

      【解决方案2】:

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

      • desiredNodeVersion
      • desiredMonitoringService
      • desiredAddonsConfig

      您当然可以创建新集群并重新创建资源,但是我猜这似乎有点过头了。

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

      【讨论】:

        猜你喜欢
        • 2018-05-05
        • 1970-01-01
        • 2019-06-22
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2016-04-08
        • 2018-09-20
        • 2021-04-13
        相关资源
        最近更新 更多