gpt4 book ai didi

ssl - Istio Kubernetes Ingress 与 Cert-Manager : no matches for kind "Certificate" in version "certmanager.k8s.io/v1alpha1"

转载 作者:太空宇宙 更新时间:2023-11-03 13:49:17 24 4
gpt4 key购买 nike

我正在尝试为我的 K8s/Istio 集群配置 HTTPS。我正在关注这个 official tutorial从头开始多次逐步尝试创建证书资源时每次都会出现相同的错误。

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

我尝试根据 official docs 手动安装 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

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

最佳答案

我建议你试试this安装证书管理器,然后您可以按照 this stackoverflow post 进行操作,我猜它会解决问题。你只需要在必须用 istio 替换 ingress 的地方做一些替换。

请使用

apiVersion: cert-manager.io/v1alpha2

在 clusterissuer 中,如果该 stackoverflow 帖子中出现的 clusterIssuer 的 apiVersion Not Acceptable

关于ssl - Istio Kubernetes Ingress 与 Cert-Manager : no matches for kind "Certificate" in version "certmanager.k8s.io/v1alpha1",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58754832/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com