nacos-group / nacos-k8s

This project contains a Nacos Docker image meant to facilitate the deployment of Nacos on Kubernetes using StatefulSets.
611 stars 468 forks source link

nacos-operator 启动报错 #471

Open AlkTTT opened 3 months ago

AlkTTT commented 3 months ago

执行kubectl apply -f chart/nacos-operator/nacos-operator-all.yaml报错

serviceaccount/nacos-operator created clusterrole.rbac.authorization.k8s.io/nacos-operator created clusterrolebinding.rbac.authorization.k8s.io/nacos-operator created service/nacos-operator created deployment.apps/nacos-operator created error: resource mapping not found for name: "nacos.nacos.io" namespace: "data-base" from "chart/nacos-operator/nacos-operator-all.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" ensure CRDs are installed first

kubernetes version : 1.30.3

Mino9526 commented 2 months ago

operator/chart/nacos-operator/crds/crd.yaml 需要先安装下