k3sup π (said 'ketchup')
k3sup is a light-weight utility to get from zero to KUBECONFIG with k3s on any local or remote VM. All you need is ssh access and the k3sup binary to get kubectl access immediately.
The tool is written in Go and is cross-compiled for Linux, Windows, MacOS and even on Raspberry Pi.
How do you say it? Ketchup, as in tomato.
Introducing K3sup Pro π
Whilst the CE edition is ideal for experimentation, k3sup-pro was built to satisfy long standing requests for an IaaC/GitOps experience.
k3sup-pro adds a plan and apply command to automate installations both small and large - running in parallel. The plan file can be customised and retained in Git for maintenance and updates.
What's this for? π»
This tool uses ssh to install k3s to a remote Linux host. You can also use it to join existing Linux hosts into a k3s cluster as agents . First, k3s is installed using the utility script from Rancher, along with a flag for your host's public IP so that TLS works properly. The kubeconfig file on the server is then fetched and updated so that you can connect from your laptop using kubectl .
You may wonder why a tool like this needs to exist when you can do this sort of thing with bash.
... continue reading