![]() ![]() For those which are not already configured that way, you'll nee to make the following changes if you wish to use k3sup: Some Linux hosts are configured to allow sudo to run without having to repeat your password. Pre-requisites for k3sup servers and agents Binaries are provided for MacOS, Windows, and Linux (including ARM). It uses SSH to connect to remote servers and creates a local KUBECONFIG file on your disk. The k3sup tool is a client application which you can run on your own computer. Raspberry Pi 4 with my ssh key copied over via ssh-copy-id.Ubuntu 18.04 VM created on DigitalOcean with ssh key copied automatically.In the demo I install Kubernetes ( k3s) onto two separate machines and get my kubeconfig downloaded to my laptop each time in around one minute. Windows users can use k3sup install and k3sup join with a normal "Windows command prompt". You can use the installer on MacOS and Linux, or visit the Releases page to download the executable for Windows. K3sup is distributed as a static Go binary. Join nodes into an existing k3s cluster with k3sup joinĬonceptual architecture, showing k3sup running locally against any VM such as AWS EC2 or a VPS such as DigitalOcean.Fetch the KUBECONFIG from an existing k3s cluster.Build a HA, multi-master (server) cluster.Get from zero to kubectl with k3s on Raspberry Pi (RPi), VMs, AWS EC2, Packet bare-metal, DigitalOcean, Civo, Scaleway, and others.Bootstrap Kubernetes with k3s onto any VM with k3sup install - either manually, during CI or through cloud-init.Want to see continued development? Sponsor alexellis on GitHub Uses K3sup was created by Alex Ellis - the founder of OpenFaaS ® & inlets. If you are a local computer, you can bypass SSH with k3sup install -local Do you use k3sup? Once you've provisioned a VM with your favourite tooling, k3sup means you are only 60 seconds away from running kubectl get pods on your own computer. K3sup was developed to automate what can be a very manual and confusing process for many developers, who are already short on time. You may wonder why a tool like this needs to exist when you can do this sort of thing with bash. The kubeconfig file on the server is then fetched and updated so that you can connect from your laptop using kubectl. ![]() 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. You can also use it to join existing Linux hosts into a k3s cluster as agents. This tool uses ssh to install k3s to a remote Linux host. □□ Micro-tutorial for Raspberry Pi (2, 3, or 4) □.Create a multi-master (HA) setup with embedded etcd. ![]() ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |