Closed jules-casoli closed 1 year ago
This pull request has been linked to Shortcut Story #127914: [EKS] apiVersion incompatibility with kubectl 1.26.
the warning is not very visible. Should we add a warning sign or some color?
Indeed, changed the class to error:
error is raised and is not very explicit
Added a check on start/attach. Not pretty, but good enough ?
⚠️ there is a remaining tag in the cluster data: "eksctl.cluster.k8s.io/v1alpha1/cluster-name": "asouilleux-cluster" ⚠️ there are additional tags mentioning the alpha too
Actually, I started a cluster on 1.26/0.5.9, and they are still there. We don't have any alpha
in our code, so I guess these come from eksctl, so, probably not an issue
kubectl deprecated the "alpha" apiVersion in version 1.24 This selectively update the kube_config file to use the new apiVersion, depending on the installed versions of kubectl and aws-iam-authenticator (which needs to be > 0.5.4 to support the "beta" apiVersion)