eksctl icon indicating copy to clipboard operation
eksctl copied to clipboard

[Feature] Label or resource that declares version of eksctl used to create cluster

Open jpmcb opened this issue 1 year ago • 2 comments

What feature/behavior/change do you want?

It'd be great if there was a label or resource of some kind that declared what version of eksctl the cluster was created with.

I'm not sure the best place for this in the overall eksctl architecture, but maybe a label on the nodes would be a good spot?

bash-4.2$ kubectl get nodes --show-labels
NAME                                           STATUS   ROLES    AGE     VERSION                LABELS
ip-192-168-51-199.us-west-2.compute.internal   Ready    <none>   3d17h   v1.24.10-eks-08ad9cc   alpha.eksctl.io/eksctl-cli-version=0.139.0

Why do you want this feature?

Controllers that expect a cluster to be created with a certain version of eksctl may break without being able to determine the version that nodes/resources were created with.

Having eksctl drop the version that was used to create the cluster into the cluster would allow for controllers to query that result and operate appropriately for that version.

jpmcb avatar May 01 '23 15:05 jpmcb