简体   繁体   English

如何获得 Google 管理的证书(入口)? 我没有收到“ManagedCertificate”的匹配项

[英]How to get a Google managed certificate (ingress)? I received no matches for "ManagedCertificate"

I've been following the document ( https://cloud.google.com/kubernetes-engine/docs/how-to/managed-certs ) to get Google managed ssl.我一直在关注文档 ( https://cloud.google.com/kubernetes-engine/docs/how-to/managed-certs ) 以获得 Google 管理的 ssl。

It was successfully before.之前是成功的。 However, after I completely deleted my cluster and started it over, I received this error message from但是,在我完全删除我的集群并重新启动它之后,我从

kubectl apply -f example-certificate.yaml
error: unable to recognize "example-certificate.yaml": no matches for 
kind "ManagedCertificate" in version "networking.gke.io/v1beta1"

I re-installed Kubernetes with the latest Kubernetes.我用最新的 Kubernetes 重新安装了 Kubernetes。

Client Version: version.Info{Major:"1", Minor:"11+", GitVersion:"v1.11.9-dispatcher", GitCommit:"e3f5193e8f1091a162af7e17a781e6a3129bcfd0", GitTreeState:"clean", BuildDate:"2019-03-28T18:15:47Z", GoVersion:"go1.10.8", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"11+", GitVersion:"v1.11.7-gke.12", GitCommit:"06f08e60069231bd21bdf673cf0595aac80b99f6", GitTreeState:"clean", BuildDate:"2019-02-25T20:37:10Z", GoVersion:"go1.10.8b4", Compiler:"gc", Platform:"linux/amd64"}

Then, I created a reserved external IP address.然后,我创建了一个保留的外部 IP 地址。

gcloud compute addresses create example-ip-address --global

After that, I'm still facing the same issue.在那之后,我仍然面临同样的问题。 I spent many hours to find a document about the error message, but couldn't find any clue about the error message.我花了很多时间找到有关错误消息的文档,但找不到有关错误消息的任何线索。

I had a similar issue on GKE cluster v 1.15.9-gke.24 Using apiVersion: networking.gke.io/v1beta1 solved it for me.我在 GKE 集群 v 1.15.9-gke.24 上遇到了类似的问题,使用 apiVersion: networking.gke.io/v1beta1 为我解决了这个问题。

You chose a old version for your cluster.您为集群选择了旧版本。 The current default version 1.11.7-gke.12 does not support it.当前默认版本1.11.7-gke.12不支持。 Just upgrade your cluster.只需升级您的集群。

I just had the same problem, as @Victor G. said, upgrading my master to 1.12.6-gke.10 fixed the problem.正如@Victor G. 所说,我只是遇到了同样的问题,将我的主人升级到 1.12.6-gke.10 解决了这个问题。

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

相关问题 Google 管理的 SSL 证书卡在 FAILED_NOT_VISIBLE - Google Managed SSL Certificate Stuck on FAILED_NOT_VISIBLE Gcloud LoadBalancer:无需停机即可更改 Google 托管证书 - Gcloud LoadBalancer: change Google Managed certificate without downtime 如何禁用谷歌管理的舞会? - How to disable google managed prom? 如何使用 ingress-nginx controller 在 Google Kube.netes Engine (GKE) 上向外部公开 UDP 服务? - How do I expose a UDP service externally on Google Kubernetes Engine (GKE) using the ingress-nginx controller? 如何从 HTTPS 请求中获取证书? - How can I get Certificate from HTTPS request? SSL 已添加证书但显示“Kube.netes Ingress controller 假证书” - SSL Certificate added but shows "Kubernetes Ingress controller fake certificate" Ingress 获取地址失败 - Ingress failing to get an address 如何使用 cloudarmor 为我的 gke ingress 配置 DDoS? - How do I configure DDoS with cloudarmor for my gke ingress? 我如何在 nginx 入口 controller 上使用云装甲? - How can i use cloud armor on nginx ingress controller? 创建 ManagedCertificate 结果为“Status: FailedNotVisible” - Creating a ManagedCertificate results in "Status: FailedNotVisible"
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM