RedisLabs / redis-enterprise-k8s-docs

151 stars 89 forks source link

Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "RedisEnterpriseCluster" in version "app.redislabs.com/v1" helm.go:88: [debug] unable to recognize "": no matches for kind "RedisEnterpriseCluster" in version "app.redislabs.com/v1" #229

Open mravi996 opened 2 years ago

mravi996 commented 2 years ago

Team,

We are using 6.2.8-11 bundle.yaml to build redis but looks like it is failing with below error.

history.go:56: [debug] getting history for release raas Release "raas" does not exist. Installing it now. install.go:178: [debug] Original chart version: "" install.go:199: [debug] CHART PATH: /apps/data/svc_ara_automic/Helm/tmp/RAAS/raas/13331812/redis-1.0.0-36.tgz

client.go:128: [debug] creating 7 resource(s) install.go:151: [debug] CRD redis-enterprise-operator is already present. Skipping. Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "RedisEnterpriseCluster" in version "app.redislabs.com/v1" helm.go:88: [debug] unable to recognize "": no matches for kind "RedisEnterpriseCluster" in version "app.redislabs.com/v1" unable to build kubernetes objects from release manifest helm.sh/helm/v3/pkg/action.(*Install).RunWithContext helm.sh/helm/v3/pkg/action/install.go:277 main.runInstall helm.sh/helm/v3/cmd/helm/install.go:267

laurentdroin commented 2 years ago

Hi Ravi,

It looks like the RedisEnterpriseCluster CRD was not found, despite what your Helm chart says "CRD redis-enterprise-operator is already present. Skipping." So this seems like a problem with your Helm chart

To install Redis Enterprise Operator, please follow the instructions at https://github.com/RedisLabs/redis-enterprise-k8s-docs/blob/6.2.10-4/README.md

I hope this is helpful.