简体   繁体   English

错误:验证失败:无法识别“”:版本 .networking.k8s.io/v1beta1 中种类“FrontendConfig”没有匹配项”

[英]Error: validation failed: unable to recognize "": no matches for kind "FrontendConfig" in version "networking.k8s.io/v1beta1"

I am using fronendconfig.yaml file to enable http to https redirection, but it is giving me chart validation failed error.我正在使用 fronendconfig.yaml 文件启用 http 到 https 重定向,但它给我图表验证失败错误。 Listing the content of my yaml file.列出我的 yaml 文件的内容。 This issue is I am facing GKE ingress.这个问题是我正面临 GKE 入口。 My GKE master version is "1.17.14-gke.1600".我的 GKE 主版本是“1.17.14-gke.1600”。

apiVersion: networking.k8s.io/v1beta1
kind: FrontendConfig
metadata:
  name: "abcd"
spec:
  redirectToHttps:
    enabled: true
    responseCodeName: "301"

Using annotations in values.yaml file like this.

ingress:
  enabled: true
  annotations:
    networking.k8s.io/v1beta1.FrontendConfig: "abcd"

As of now, HTTP-to-HTTPS redirect is in beta and only available for GKE 1.18.10-gke.600 or greater as per the documentation .截至目前, HTTP-to-HTTPS redirect处于测试阶段,根据文档仅适用于 GKE 1.18.10-gke.600 或更高版本。

Since you stated to be using GKE 1.17.14-gke.1600, this won't be available for your cluster.由于您声明要使用 GKE 1.17.14-gke.1600,因此这不适用于您的集群。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法将部署从 apiVersion extensions/v1beta1 升级到 apps/v1,它会自动使用 extensions/v1beta1 - Can't upgrade Deployment from apiVersion extensions/v1beta1 to apps/v1, it uses extensions/v1beta1 automatically identity.v1beta1.devices 创建 403 错误 - identity.v1beta1.devices create 403 error 错误:PythonPipBuilder:验证 - python 的二进制验证失败 - Error: PythonPipBuilder:Validation - Binary validation failed for python K8S:运行负载均衡器同步例程时出错 - K8S: Error running load balancer syncing routine 在 GKE 中安装 istio 时出错 = 服务器找不到请求的资源(发布 `gatewaies.networking.istio.io`) - Error install istio in GKE = the server could not find the requested resource (post `gatewaies.networking.istio.io`) ERROR: (gcloud.beta.container.clusters.create) ResponseError: code=400, message=v1 API 无法用于访问 GKE 区域集群 - ERROR: (gcloud.beta.container.clusters.create) ResponseError: code=400, message=v1 API cannot be used to access GKE regional clusters 无法在 C# 中使用 SixLabors.ImageSharp 处理 .jpg 图像 - 版本 1.0.0-beta0007 - unable to process .jpg images using SixLabors.ImageSharp in c# - Version 1.0.0-beta0007 flutter版本解决失败 - version solving failed in flutter 错误:gcloud 加载失败:没有名为“googlecloudsdk.third_party.apis.binaryauthorization.v1alpha2.binaryauthorization_v1alpha2_messages”的模块 - ERROR: gcloud failed to load: No module named 'googlecloudsdk.third_party.apis.binaryauthorization.v1alpha2.binaryauthorization_v1alpha2_messages' 错误:(gcloud.beta.ai-platform.versions.create)参数版本:必须指定 - ERROR: (gcloud.beta.ai-platform.versions.create) argument VERSION: Must be specified
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM