-
-
Notifications
You must be signed in to change notification settings - Fork 396
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
Add support for different kubernetes versions #46
Comments
@tibcoplord thanks for reporting this. The functionality was built in initially but temporarily disabled. I only need to figure out a way to get the list of k3s versions. |
@abiosoft K3s creates a release with each version in Github, maybe query it to get the version list. 🤔 |
Good call! The JSON for this is available at https://api.github.com/repos/k3s-io/k3s/tags |
Hi, I have a similar issue, please is it possible to use previous version of Kubernetes? I've tried to edit I'm running on Mac and installed Colima using Homebrew.
|
@eacarvalho at the moment, no. But it is being planned. What version of kubernetes would you like to use? |
Hi @abiosoft, the version should be lower than
Nice that this is being planned, I wish I could use this feature soon. Thanks a lot! |
@eacarvalho it is not as complex for me to add, what is more tedious is testing different versions and ensuring they still work as desired. I'll see what I can do to speed it up. Would you be willing to assist with testing and use the development version? It may take a while before the next release. As a temporary workaround if you can build from source, you can specify your preferred k3s version.
|
Please let me know in case you produce a development version! |
I would be happy to help support a bit of testing as well. Making it reasonably easy to install a different version of k3s would be very helpful, especially due to the major changes that are currently in 1.22. |
For the time being, you can change the k3s version in the current VM with something like this:
$ colima ssh
# sudo /usr/local/bin/k3s-uninstall.sh
# sudo apk add curl
# curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.21.9+k3s1 sh -
# sudo cat /etc/rancher/k3s/k3s.yaml
# exit
|
Alright, thanks. I'll see if I can squeeze this in before the next release. |
Currently, kubernetes 1.22 is a little new for me, so I've edited my local colima tree to use v1.21.5+k3s2
It would be nice to be able to specify the kubernetes version on the command line ... will be especially useful for desktop testing applications on different versions.
Cheers.
The text was updated successfully, but these errors were encountered: