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

feat: eks convert command to convert EKS CustomResources between versions #118

Open
jonathan-innis opened this issue Sep 28, 2023 · 1 comment

Comments

@jonathan-innis
Copy link

jonathan-innis commented Sep 28, 2023

kubectl used to have a supported a convert command that allowed you to perform conversion between two different API versions and know how to migrate between them. There are currently APIs that exist within EKS today that go through API graduation and have changes between the different graduation levels, similar to the graduation process that the core APIs went through.

A good example of this process is Karpenter which is going through its v1beta1 graduation process right now and is looking to add tool conversion support for migrating users between the alpha and beta versions of the API. Having this support in kubectl eks as kubectl eks convert would be an extremely nice feature to have.

The initial plan would be to support the Karpenter upgrade process and to expand out from that for other APIs in EKS that are not yet stable.

Examples of Usage

# Convert 'provisioner.yaml' to latest version and print to stdout.
kubectl eks convert -f provisioner.yaml

# Convert all files under current directory to latest version and create them all.
kubectl eks convert -f . | kubectl create -f -
@surajnarwade
Copy link
Member

@jonathan-innis that sounds super cool.

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

2 participants