-
Notifications
You must be signed in to change notification settings - Fork 219
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
Failed to watch *v1.NodeClaim: failed to list *v1.NodeClaim: request to convert CR from an invalid group/version: karpenter.sh/v1beta1 #1886
Comments
Did you ensure all stored versions of Karpenter's CRs were migrated to /triage needs-information |
Yes it was migrated to v1.1.0, but the error says failed to list *v1.NodeClaim: request to convert CR from an invalid group/version: karpenter.sh/v1beta1
done ["v1"] ["v1"] ["v1"] |
What version of Karpenter did you migrate from to |
it was from 0.36.0 to v1.1.0 |
Did you upgrade directly, or did you upgrade through |
I am also facing the same issue, I have upgraded from v1.0.0 to v1.1.0, |
@abhilashsupare did you follow all of the steps in the migration guide, particularly ensuring that all stored versions for CRs were migrated before upgrading? |
Yes it was migrated to v1.1.0, but the error says failed to list *v1.NodeClaim: request to convert CR from an invalid group/version: karpenter.sh/v1beta1 kubectl get crd ${crd} -ojsonpath="{.status.storedVersions}{'\n'}" ["v1"] ["v1"] ["v1"] |
yes it is migraded and pasted you the output |
@saikumarbommakanti I'm trying to understand what steps you took to migrate from v0.36.0 to v1.1.0. Did you upgrade directly, or did you upgrade to |
/assign jmdeal |
Getting the same error after the upgrade
|
My issue was resolved by updating both helm charts(controller and CRD ) on the same level (1.0.8) |
I have an argo deployment and this is what helped in my case: After failed upgrade to 1.1.0 via Argo, I've rolled back to v 0.37 (I have a custom chart which includes crds) and disabled sync in argo, deleted all installed part in argo including CRDS After that I've manually installed helm charts (karpenter and karpenter crds) from v1.
It was throwing some errors like
Theh I've added simple nodepool+ec2nodeclass and tested it. It worked as expected. Then I've removed manually installed helm charts and installed v1.1 again via argocd with CRDs included into the chart and it also started to work. just remembered: I've also had a rouge karpenter node which was visible in get nodes but not in nodeclaims so check your nodes before upgrade. |
Description
Observed Behavior:
Failed to watch *v1.NodeClaim: failed to list *v1.NodeClaim: request to convert CR from an invalid group/version: karpenter.sh/v1beta1
Expected Behavior:
the karpenter helm chart was upgraded to v1.1.0 but seeing the above error
Reproduction Steps (Please include YAML):
Install the karpenter v1.1.0 on eks cluster and was not able to bring the kapenter pod up
Versions:
kubectl version
): v1.31.2 is the server versionThe text was updated successfully, but these errors were encountered: