美文网首页
k8s报错记录(二)

k8s报错记录(二)

作者: 无味wy | 来源:发表于2023-03-15 15:50 被阅读0次

    报错:

    resource mapping not found for name: "nginx-ingress-clusterrole" namespace: "" from "ingress-controller2.yaml": no matches for kind "ClusterRole" in version "rbac.authorization.k8s.io/v1beta1"
    ensure CRDs are installed first
    resource mapping not found for name: "nginx-ingress-role" namespace: "ingress-nginx" from "ingress-controller2.yaml": no matches for kind "Role" in version "rbac.authorization.k8s.io/v1beta1"
    ensure CRDs are installed first
    resource mapping not found for name: "nginx-ingress-role-nisa-binding" namespace: "ingress-nginx" from "ingress-controller2.yaml": no matches for kind "RoleBinding" in version "rbac.authorization.k8s.io/v1beta1"
    ensure CRDs are installed first
    resource mapping not found for name: "nginx-ingress-clusterrole-nisa-binding" namespace: "" from "ingress-controller2.yaml": no matches for kind "ClusterRoleBinding" in version "rbac.authorization.k8s.io/v1beta1"
    ensure CRDs are installed first
    

    解决:

    #版本问题
    yaml里
    rbac.authorization.k8s.io/v1beta1
    换成
    rbac.authorization.k8s.io/v1
    

    相关文章

      网友评论

          本文标题:k8s报错记录(二)

          本文链接:https://www.haomeiwen.com/subject/ijncrdtx.html