简体   繁体   English

带有证书管理器的 Istio Kubernetes 入口:版本“certmanager.k8s.io/v1alpha1”中的种类“证书”不匹配

[英]Istio Kubernetes Ingress with Cert-Manager: no matches for kind "Certificate" in version "certmanager.k8s.io/v1alpha1"

I'm trying to configure HTTPS for my K8s/Istio cluster.我正在尝试为我的 K8s/Istio 集群配置 HTTPS。 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 及其 CRD,但没有任何帮助。

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

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.找不到有关此错误的任何信息,因为它在安装开箱即用或安装 cert-manager 的 CRD 后对每个人都有效。

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.我建议您尝试为 cert-manager 安装安装,然后您可以关注此 stackoverflow 帖子,我猜它会解决问题。 You just need to make few substitutions at places where ingress has to be replaced with istio.您只需要在必须用 istio 替换 ingress 的地方进行少量替换。

Kindly use请使用

apiVersion: cert-manager.io/v1alpha2

in clusterissuer, if the apiVersion for clusterIssuer present in that stackoverflow post is not acceptable在 clusterissuer 中,如果该 stackoverflow 帖子中存在的 clusterIssuer 的 apiVersion 不可接受

Use the "kubectl api-versions" to list all the supported api versions.

if the list contains the supported version then you should be able to generate kind certificates with the corresponding versions for eg: # kubectl api-versions |grep cert acme.cert-manager.io/v1 cert-manager.io/v1 certificates.k8s.io/v1 certificates.k8s.io/v1beta1` if the list contains the supported version then you should be able to generate kind certificates with the corresponding versions for eg: # kubectl api-versions |grep cert acme.cert-manager.io/v1 cert-manager.io/v1 certificate.k8s .io/v1 证书.k8s.io/v1beta1`

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

相关问题 带有证书管理器的 Istio Ingress - Istio Ingress with cert-manager 使用cert-manager istio ingress和LetsEncrypt在kubernetes中配置SSL证书 - Configure SSL certificates in kubernetes with cert-manager istio ingress and LetsEncrypt 在 Kubernetes 和 nginx 入口上使用客户端证书身份验证时,如何修复 cert-manager 对 Let's Encrypt ACME 挑战的响应? - How to fix cert-manager responses to Let's Encrypt ACME challenges when using client certificate authentication on Kubernetes with nginx ingress? 无法列出* v1alpha1.Order:禁止使用orders.certmanager.k8s.io - Failed to list *v1alpha1.Order: orders.certmanager.k8s.io is forbidden 带有证书管理器和自签名 ClusterIssuer 的 Kubernetes TLS Ingress 路由不起作用 - Kubernetes TLS Ingress route with cert-manager and SelfSigned ClusterIssuer not working Kubernetes cert-manager 证书已创建但无法验证 - Kubernetes cert-manager certificate is created but can not get vertified Kubernetes 证书管理器 GoDaddy - Kubernetes cert-manager GoDaddy Kubernetes:cert-manager 证书保持挂起状态 - Kubernetes: cert-manager certificate is keep in pending state 将 cert-manager 证书移动到另一个 Kubernetes 集群 - Move cert-manager certificate to another Kubernetes cluster Kubernetes 证书管理器问题 - Kubernetes cert-manager issue
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM