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

Feature Request: command to return version of k3s supported #263

Closed
anuaimi opened this issue Aug 31, 2020 · 2 comments
Closed

Feature Request: command to return version of k3s supported #263

anuaimi opened this issue Aug 31, 2020 · 2 comments
Labels
wontfix This will not be worked on

Comments

@anuaimi
Copy link

anuaimi commented Aug 31, 2020

I use k3sup to create k3s clusters. These clusters are long living so they need to be upgraded periodically. While it is easy to query a cluster to see what version it is based on, there is no easy way to know when k3sup supports a new version of k3s. It would be great to have a command that returns what version of k3s it installs. It might be as simple as adding the k3s version to the output of k3sup version

Expected Behaviour

k3sup version


| | |__ / ___ _ _ _ __
| |/ / |_ / | | | | '
| < ) _ \ || | |) |
||__
/|/_,| .__/
|_|
Version: 0.9.6
Git Commit: b94b83b
k3s version: 1.18

Current Behaviour

Possible Solution

Steps to Reproduce (for bugs)

Context

I'm creating a tool that sits on top of k3sup. It will create the VMs (on a number of popular public clouds), run k3sup on each node. It will also update k3sup and see if there is a new version of k3s. If so, it will upgrade each of the clusters (using a rolling update).

Your Environment

  • What Kubernetes distribution are you using (for k3sup app)?
kubectl version
  • What OS or type or VM are you using for your cluster? Where is it hosted? (for k3sup install/join):
    DO

  • Operating System and version (e.g. Linux, Windows, MacOS):
    MacOS

uname -a

cat /etc/os-release
@alexellis
Copy link
Owner

Hi @anuaimi thank you for your interest in the project.

Have you thought about running kubectl version to see what version your cluster is running at?

How would you see your solution working? I noticed you didn't fill out "Possible Solution", would you mind doing so?

Alex

@alexellis
Copy link
Owner

/add label: wontfix

Repository owner locked and limited conversation to collaborators Aug 29, 2022
@derek derek bot added the wontfix This will not be worked on label Aug 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants