Open timohirt opened 3 weeks ago
This is expected behavior. Karpenter 1.0.0 includes conversion webhooks which enable users to use both the v1beta1 and v1 versions of the CRDs. The v1 version is the storage version, but you can still convert to the v1beta1 version (which is what happens when you do a kubectl get
specifying the v1beta1 version). Importantly, these are the same underlying resources which is why deleting one appears to delete both.
Thank you for the answer. So, with a later release they are going to be deleted automatically?
Not exactly deleted, but we'll be dropping the conversion webhooks and the v1beta1
version from the vended CRD at v1.1.0. The upgrade process to v1.1.0 will include a step to ensure all stored data is on the latest storage version before upgrading the CRD, probably with a tool like kubernetes-sig/kube-storage-version-migrator.
This issue has been inactive for 14 days. StaleBot will close this stale issue after 14 more days of inactivity.
Description
Observed Behavior:
I updated from 0.36.1 to 0.37.1 to 1.0.0. Which worked fine. Then I migrated the manifest of
NodePool
andEc2NodeClass
to v1 schema.When I get the resources in the cluster, I see both versions exist at the same time. Here an example for
NodePool
.and here for
v1beta1
:Expected Behavior:
I tried deleting v1beta1 resources, which deletes the v1 resource as well. So, how can I get rid of the old version?
Reproduction Steps (Please include YAML):
EC2NodeClass
versionv1beta1
EC2NodeClass
to schema versionv1
and deploy.Versions:
Chart Version: 1.0.0
Kubernetes Version (
kubectl version
): 1.29Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment