问题描述
我正在尝试为我的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.
推荐答案
我建议您尝试此安装,用于证书管理器,此后您可以按照,我猜它会得到解决.您只需要在必须用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"中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!