-
Notifications
You must be signed in to change notification settings - Fork 39
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
m3db-operator is not compatible with kubernetes v1.22 #323
Comments
abdulmi
changed the title
m3db-operator is not compatible with kubernetes 1.22
m3db-operator is not compatible with kubernetes v1.22
Jun 9, 2022
schallert
added a commit
that referenced
this issue
Jun 27, 2022
- Remove API references to v1beta1 CRD API. Previously the operator installed the CRD itself, but with 1.22 it's more common to install the CRD separately (since the schema is fully included in the CRD definition). - Generate the CRD manifest using `controller-gen`. Fixes #323.
Hey @abdulmi, thanks for your patience while we work on making the operator 1.22-compatible. We have some final testing to do, but believe the linked PR will get us there. I'll keep you posted! |
schallert
added a commit
that referenced
this issue
Jun 28, 2022
- Remove API references to v1beta1 CRD API. Previously the operator installed the CRD itself, but with 1.22 it's more common to install the CRD separately (since the schema is fully included in the CRD definition). - Generate the CRD manifest using `controller-gen`. Fixes #323.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
master
, please include the gitSHA logged when the operator first starts.
latest master 9758b96
kubectl version
.1.22
What are you trying to do?
Upgrading the kubernetes server from 1.21 to 1.22
What did you expect to happen?
The operator continues to work as expected
What happened?
The m3db-operator crashloops with the error below
Looking into this, I found out that the m3db-operator code uses a deprecated method as mentioned by the Deprecated API guide. Specifically at this linem3db-operator/crd.go at 01941360ac992fc2f9cce0b6a3383dbde8baf859 · m3db/m3db-operator, its using apiextensions.k8s.io/v1beta1, which according to the guide should be replaced with apiextensions.k8s.io/v1. I have a starter PR to fix this #321, but I still have to fix the spec validation since its using a library thats also dependent on the beta version of the API.
Just wanted to check, is it expected that the operator is not compatible after kubernetes 1.21 ?
The text was updated successfully, but these errors were encountered: