【问题标题】:release-channel attribute in terraform for GKE cluster creationterraform 中用于 GKE 集群创建的 release-channel 属性
【发布时间】:2019-08-09 13:25:01
【问题描述】:

https://cloud.google.com/kubernetes-engine/docs/concepts/release-channels 提供在集群创建时指定发布通道以自动升级集群。

gcloud alpha container clusters create [CLUSTER-NAME] \
      --zone [ZONE] \
      [ADDITIONAL-FLAGS] \
      --release-channel rapid

Terraform 似乎不可能。 在 terraform 中也有这个功能会很好,对吧?

【问题讨论】:

    标签: terraform-provider-gcp


    【解决方案1】:

    我相信发布渠道功能仍处于测试阶段

    值得在https://github.com/terraform-providers/terraform-provider-google-beta 中提出(根据https://www.terraform.io/docs/providers/google/version_2_upgrade.html#the-google-beta-provider,“现在需要能够配置处于测试阶段的产品和功能”)

    【讨论】:

      【解决方案2】:

      当我需要尚未提供给 google 提供程序的资源时,我通常只创建一个调用 gcloud 命令的包装模块。这是一个例子:

      https://github.com/rojopolis/terraform-google-filestore

      【讨论】:

        猜你喜欢
        • 2020-03-19
        • 2021-09-30
        • 2020-08-20
        • 1970-01-01
        • 2020-12-26
        • 2019-12-24
        • 1970-01-01
        • 2020-12-07
        • 2022-06-17
        相关资源
        最近更新 更多