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

Option to choose kubectl version #177

Open
ashishapy opened this issue Nov 2, 2020 · 3 comments
Open

Option to choose kubectl version #177

ashishapy opened this issue Nov 2, 2020 · 3 comments
Labels
area/cli Related to the CLI plumbing kind/feature A new feature request priority/awaiting-more-information This is the lowest priority. More information is needed to think about working on it.
Milestone

Comments

@ashishapy
Copy link

kconnect setup the latest kubectl version
As per K8s version skew policy https://kubernetes.io/docs/setup/release/version-skew-policy/#kubectl

We must use a kubectl version that is within one minor version difference of your cluster. For example for 1.16 EKS cluster, kubectl version can not be greater than v1.17 and can not be less than v1.15.

Please provide an option to user to enter which version of K8s cluster they are in & setup kubectl cli accordingly. At least support last 4 versions of kubectl cli.

@ashishapy ashishapy added the kind/feature A new feature request label Nov 2, 2020
@richardcase
Copy link
Contributor

Thanks @ashishapy, this is an interesting one as we requite v1.17 or later as we use extensions in the kubeconfig

@richardcase richardcase added area/cli Related to the CLI plumbing priority/awaiting-more-information This is the lowest priority. More information is needed to think about working on it. labels Nov 3, 2020
@richardcase richardcase added this to the Future milestone Nov 3, 2020
@ashishapy
Copy link
Author

Ok, then let's start giving options to install kubectl cli v1.17 onwards.

@ashishapy
Copy link
Author

I suppose that is the reason I was getting below error, when I use kubectl v1.16.13 because it doesn't support extensions in the kubeconfig

>$ kubectl config view
error: converting  to : type names don't match (Unknown, RawExtension), and no conversion 'func (runtime.Unknown, runtime.RawExtension) error' registered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli Related to the CLI plumbing kind/feature A new feature request priority/awaiting-more-information This is the lowest priority. More information is needed to think about working on it.
Projects
None yet
Development

No branches or pull requests

2 participants