具有证书管理器的Istio Kubernetes入口:类型“证书"没有匹配项在版本"certmanager.k8s.io/v1alpha1"中 [英] Istio Kubernetes Ingress with Cert-Manager: no matches for kind "Certificate" in version "certmanager.k8s.io/v1alpha1"

查看:655
本文介绍了具有证书管理器的Istio Kubernetes入口:类型“证书"没有匹配项在版本"certmanager.k8s.io/v1alpha1"中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为我的K8s/Istio群集配置HTTPS.我正在按照官方教程逐步进行操作从零开始,每次尝试创建证书资源时都会遇到相同的错误.

I'm trying to configure HTTPS for my K8s/Istio cluster. I'm following this official tutorial step by step multiple times from scratch and get the same error every time when try to create a Certificate resource.

no matches for kind "Certificate" in version "certmanager.k8s.io/v1alpha1"

我尝试根据

I tried to install cert-manager and its CRD manually based on official docs and no help.

cert-manager-5ff755b6d5-9ncgr                               1/1       Running     0          6m55s
cert-manager-cainjector-576978ffc8-4db4l                    1/1       Running     0          6m55s
cert-manager-webhook-c67fbc858-wvtgs                        1/1       Running     0          6m55s

找不到有关此错误的任何信息,因为在立即安装后或在安装证书管理器的CRD之后,该错误对所有人都有效.

Can't find any piece of information regarding this error since it works foe everyone after installing out of the box or after installing cert-manager's CRD.

推荐答案

我建议您尝试此stackoverflow帖子,我猜它会得到解决.您只需要在必须用istio替换入口的地方进行很少的替换.

I suggest you to try this installation for cert-manager and thereafter you can follow this stackoverflow post , it will get the issue sorted, I guess. You just need to make few substitutions at places where ingress has to be replaced with istio.

请使用

apiVersion: cert-manager.io/v1alpha2

在clusterissuer中,如果该stackoverflow帖子中存在的clusterIssuer的apiVersion不可接受

in clusterissuer, if the apiVersion for clusterIssuer present in that stackoverflow post is not acceptable

这篇关于具有证书管理器的Istio Kubernetes入口:类型“证书"没有匹配项在版本"certmanager.k8s.io/v1alpha1"中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆