[Enhancement] Suggest join commands after successfully completing k3sup install
#358
Open
2 of 3 tasks
k3sup install
#358
Expected Behaviour
Once a user successfully completes a
k3sup install
command, offer a couple other helpful "next step" commands for joining other nodes (both control plane and worker). This is a minor change to the output but could be helpful, similar to whatkubeadm
provides, to speed the process should a user want to join other nodes. The suggested commands can also be adaptive to the initial input. For example, ifk3sup install
was run with the flag--k3s-extra-args
then the suggested next commands could include this flag and its arguments.For example, one suggested output may look like (including current output as of 0.11.0:
Current Behaviour
Currently, k3sup does not print suggested next-step commands.
Are you a GitHub Sponsor (Yes/No?)
Possible Solution
Print some templated commands at the end of the block sent to stdout.
Steps to Reproduce
k3sup install
and observe the output to stdout.Context
As a new user to
k3sup
, I wanted to deploy a HA cluster to understand the process. As this requires multiple commands against multiple server instances, I had to inspect the help fork3sup
each time in order to build a command line that would accomplish the use case. While this was not difficult, it occurred to me that perhaps this could be made a little simpler for new (or even existing) users by shortcuting some of that process.Your Environment
K3s 1.21
What OS or type or VM are you using for your cluster? Where is it hosted? (for
k3sup install/join
): vSphere, self-hostedOperating System and version (e.g. Linux, Windows, MacOS): Ubuntu 18.04
"Be part of the solution"
Subject to approval, are you willing to work on a Pull Request for this issue or feature request?
The text was updated successfully, but these errors were encountered: