[英]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.