Overview of k3sup functionality
masterk3sup is a lightweight utility designed to bootstrap Kubernetes using k3s on local or remote VMs. It automates the process of:
- SSHing into a remote server.
- Installing k3s (server or agent) using the Rancher utility script.
- Fetching the kubeconfig file automatically to your local machine so you can use
kubectlimmediately.
Key Capabilities:
- Bootstrap Kubernetes: Use
k3sup installto set up a k3s server on any VM (AWS, GCP, DigitalOcean, etc.) or Raspberry Pi. - Join Nodes: Use
k3sup jointo add existing Linux hosts as agents to an existing k3s cluster. - Local Installation: Use
k3sup install --localto bypass SSH if you are running k3s on your local machine. - Automation: Supports use in CI/CD or via
cloud-init.