【问题标题】:GKE Error: no matches for kind "BackendConfig" in version "cloud.google.com/v1"GKE 错误:版本“cloud.google.com/v1”中类型“BackendConfig”没有匹配项
【发布时间】:2020-08-28 17:56:49
【问题描述】:

我正在尝试关注 this documentation 配置 Cloud Armor,但在尝试应用它来创建 BackendConfig 时出现此错误。为什么我会收到此错误?显然他们是说应该有一个 BackendConfig 的 api 配置类型。

no matches for kind “BackendConfig” in version “cloud.google.com/v1”

【问题讨论】:

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


    【解决方案1】:

    我建议使用 api 版本“cloud.google.com/v1beta1”而不是“cloud.google.com/v1”。 The issue with V1 BackendConfig is that it is supported only in GKE 1.16.8-gke.3,因此,如果您不使用 GKE 1.16.8-gke.3,它可能无法正常工作。能否分享一下您使用的 GKE 版本是什么?

    【讨论】:

    • 为什么我使用的文档没有这样说?
    • 我们使用的是 1.14.10-gke.27。我能够使用 beta url 应用 backendconfig,但是在给定的部署资源配置中为其添加注释时,它没有做任何事情。云装甲政策中没有新目标。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-08-03
    • 2021-10-04
    • 2020-02-24
    • 2022-07-07
    • 2021-12-21
    • 2021-11-21
    • 1970-01-01
    相关资源
    最近更新 更多