alexellis / k3sup

bootstrap K3s over SSH in < 60s 🚀
https://github.com/sponsors/alexellis
Other
6.33k stars 376 forks source link

Add plan command node-token command #416

Closed alexellis closed 1 year ago

alexellis commented 1 year ago

Add plan command node-token command

Description

How Has This Been Tested?

Usage:

devices.json

[{
        "hostname": "node-1",
        "ip": "192.168.1.128"
}]

Command:

k3sup plan \
  --tls-san $SAN \
  --servers=3 \
  --user ubuntu \
  --background=true/false > bootstrap.sh

chmod +x bootstrap.sh

./bootstrap.sh

See testing below:

https://www.youtube.com/watch?v=o4UxRw-Cc8c&feature=youtu.be

Types of changes

Checklist:

Additional notes required in README..

Future plans: