Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1alpha1.M3DBCluster: the server could not find the requested resource #318

Closed
kendrickclark opened this issue Mar 30, 2022 · 1 comment
Closed

Comments

@kendrickclark
Copy link

Thanks for opening an issue for the M3DB Operator! We'd love to help you, but we need the following information included
with any issue:

  • What version of the operator are you running? Please include the docker tag. If using master, please include the git
    SHA logged when the operator first starts.

Master, but I do not see a git commit listed in the log output.

  • What version of Kubernetes are you running? Please include the output of kubectl version.

Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.5", GitCommit:"c285e781331a3785a7f436042c65c5641ce8a9e9", GitTreeState:"clean", BuildDate:"2022-03-16T15:51:05Z", GoVersion:"go1.17.8", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.0", GitCommit:"c2b5237ccd9c0f1d600d3072634ca66cefdf272f", GitTreeState:"clean", BuildDate:"2021-08-04T20:01:24Z", GoVersion:"go1.16.6", Compiler:"gc", Platform:"linux/amd64"}

  • What are you trying to do?

Install m3db-operator using helm. I have the bundle.yaml in the crd folder for a helm deployment.

  • What did you expect to happen?

Expected M3DB-operator to run without error.

  • What happened?

Received the following error. It does work successfully if I use version 1.22.10

{"level":"info","ts":1648604968.6569011,"msg":"using InCluster k8s config"}
{"level":"info","ts":1648604968.6584117,"msg":"starting Operator controller","controller":"m3db-cluster-controller"}
E0330 01:49:28.668199 1 reflector.go:153] pkg/mod/k8s.io/client-go@v0.17.3/tools/cache/reflector.go:105: Failed to list *v1alpha1.M3DBCluster: the server could not find the requested resource (get m3dbclusters.operator.m3db.io)
{"level":"fatal","ts":1648604968.6791635,"msg":"error running controller","error":"could not create or update CRD: error creating CRD 'm3dbclusters.operator.m3db.io': the server could not find the requested resource","errorVerbose":"the server could not find the requested resource\nerror creating CRD 'm3dbclusters.operator.m3db.io'\ncould not create or update CRD"}

@kendrickclark
Copy link
Author

Same error as found in #310

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant