Skip to content
Tech News
← Back to articles

K3sup – bootstrap K3s over SSH in < 60s

read original get K3s Kubernetes Cluster Kit β†’ more articles
Why This Matters

k3sup is a lightweight, cross-platform utility that simplifies the deployment of k3s Kubernetes clusters via SSH, enabling users to set up and access clusters in under a minute. Its new Pro version enhances automation with plan and apply commands, supporting GitOps workflows for scalable cluster management. This tool streamlines Kubernetes setup, making it more accessible for developers and reducing manual configuration efforts.

Key Takeaways

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