google-cloud-platform - GKE 错误 : no matches for kind "BackendConfig" in version "cloud.google.com/v1"

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

我正在尝试关注 this documentation在配置 Cloud Armor 时,我在尝试应用它来创建 BackendConfig 时收到此错误。为什么我收到这个错误?很明显,他们是说应该有一个后端配置的 api 配置类型。no matches for kind “BackendConfig” in version “cloud.google.com/v1”

最佳答案

我建议使用 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 版本吗?

关于google-cloud-platform - GKE 错误 : no matches for kind "BackendConfig" in version "cloud.google.com/v1",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61759412/

相关文章:

kubernetes - 无法更改Kubernetes日志目录

google-cloud-platform - 使用 gcloud 报告 Stackdriver 错误

google-cloud-platform - 如何为GCP云sql私有(private)IP生成DNS

docker - 如何将 Container VM 上的 docker 容器与 list 链接?

ruby-on-rails - 如何通过yaml将 secret 数据设置为kubernetes secret ?

google-cloud-platform - Google Cloud Storage : Is there a limit on the number of projects, 存储桶,可以创建服务帐户吗?

kubernetes - 如何降级 GKE master 并退出 Rapid channel

google-cloud-platform - 将 Cloud Armor 与 Cloud Run 结合使用并避免绕过

google-app-engine - 是否可以在 GCP 中使用带有防火墙的完全托管服务(Cloud Run 或 App Engine)?