The Tool Desk
Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →You can turn a fresh Ubuntu VPS into a working K3s cluster with one server command, then add agents with the server’s node-token. A single K3s server is already a complete Kubernetes cluster; additional VPSs are optional workers. The reliable sequence is to prepare unique hostnames, meet the resource minimums, allow the required traffic, install the server, copy its token, join agents with K3S_URL and K3S_TOKEN, and confirm every node is Ready.
Need a server to try this on? Antihost offers Linux VPS plans with NVMe storage, full root access and a 14-day free trial.
What you are building
K3s is a lightweight Kubernetes distribution suited to small VPS clusters, labs, edge systems and game-service infrastructure. The installation below uses one Ubuntu VPS as the K3s server (the control plane) and, if needed, other Ubuntu VPSs as agents (workers). The server runs the Kubernetes API and can also run workloads. K3s documentation describes a single-node server installation as a fully functional Kubernetes cluster, so you do not need multiple machines for a usable test cluster.
As an Amazon Associate I earn from qualifying purchases.
Recommended Free Tools
This guide assumes Ubuntu LTS on every machine, root access or a user that can run sudo, and network reachability between the VPSs. Commands are shown exactly as shell commands; run server commands on the server VPS and agent commands on each worker VPS.
Hardware and operating-system requirements
Official minimums
The K3s requirements documentation lists these configuration minimums, excluding CPU and memory consumed by your workloads:
#1 Best Overall
- BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
- EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
- COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
- LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
- WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.
| Node role | Minimum CPU | Minimum RAM | What the figure means |
|---|---|---|---|
| Server | 2 cores | 2 GB | Minimum for the K3s server itself; pods, logging and system services need additional capacity. |
| Agent | 1 core | 512 MB | Minimum for the agent; application pods require memory and CPU on top of this. |
These are not comfortable production sizes. A 2026 Ubuntu 24.04 walkthrough recommends about 4 GB of RAM for a practical single-node test installation. Treat that as a third-party recommendation, not an official K3s minimum. If you plan to run a database, game server, ingress controller, monitoring or several replicas, budget those workloads separately and leave headroom for the operating system.
Ubuntu and hostnames
- Use an Ubuntu LTS release supported by your VPS provider. The procedure is intended for Ubuntu 24.04 LTS as well as other current Ubuntu LTS releases.
- Give every machine a unique hostname. K3s uses the hostname to identify a node. Duplicate names can silently corrupt cluster membership.
- If unique hostnames are not possible, set a unique
K3S_NODE_NAMEvalue on each machine before installation. - Keep the system clocks and package state current using your normal Ubuntu administration process, and confirm that you can obtain the server’s private or public IP address from each agent.
Required network ports
Apply firewall rules at the VPS provider and on the operating system only when those firewalls are enabled. Ubuntu’s UFW is often reported as disabled by default, but verify your own image rather than assuming it.
| Port | Protocol | Direction and scope | Purpose |
|---|---|---|---|
| 6443 | TCP | Reachable by all nodes; agents connect to the server | Kubernetes API server |
| 8472 | UDP | Between all nodes | Flannel VXLAN, the default networking backend |
| 10250 | TCP | As required for metrics collection | Kubelet metrics, when metrics-server is used |
| 51820 | UDP | Between nodes when selected | Flannel WireGuard backend |
| 51821 | UDP | Between nodes when selected | Flannel WireGuard backend |
| 2379–2380 | TCP | Server nodes only | Embedded etcd traffic for a highly available server cluster |
| 5001 | TCP | Only when enabled | Embedded registry mirror |
Ports 51820/UDP, 51821/UDP, 2379–2380/TCP and 5001/TCP are conditional. Do not expose them simply because they appear in a generic port list. Port 6443 must be reachable from every node. K3s uses reverse tunnelling, so agents initiate outbound connections to the server; you normally do not need to open an inbound agent port for the server to contact the worker.
K3s quick start: prepare each Ubuntu VPS
- Confirm the role. Choose one VPS as the initial server. Decide which machines, if any, will be agents.
- Set a unique hostname. Check the current value with
hostnamectl. Change it using Ubuntu’s standard hostname tools if two machines share a name, then reconnect so the change is applied consistently. - Record addresses. From every agent, make sure the server address you intend to use is reachable. A private address is preferable when all VPSs share a private network; otherwise use the server’s reachable public address and restrict port 6443 at the provider firewall to trusted sources.
- Check the firewall. Inspect UFW and any cloud firewall. Allow TCP 6443 from agents and UDP 8472 between all nodes. Add 10250 only if you will use metrics-server, and add the conditional ports only for the features that require them.
- Check capacity. Verify at least 2 CPU cores and 2 GB RAM on the server and 1 core and 512 MB RAM on each agent. For a single-node test, around 4 GB RAM is a more practical starting point according to a third-party Ubuntu 24.04 guide.
Install the K3s server
Log in to the selected server VPS as root or use a sudo-capable account. The standard installer is:
curl -sfL https://get.k3s.io | sh -
The installer places the K3s binary at /usr/local/bin/k3s, creates a systemd unit named k3s, and starts the service. Setting no K3S_URL makes this machine a server rather than an agent.
Rank #2
- WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
- AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
- PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
- ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
- COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed
After the command returns, check the service before doing anything else:
Quick wins for a faster PC:
Scan for outdated or missing drivers - takes under a minuteDriver Scan →Repair Windows errors before they cause bigger problemsFix Now →sudo systemctl status k3s --no-pager
A running service indicates that the server process started, but node readiness is the cluster-level check. On the server, run:
sudo kubectl get nodes
On a single-node installation, the server should appear in the output. A single server can schedule workloads, so you can stop here if your goal is a one-VPS laboratory or small deployment. If you add agents, leave this terminal available for the token and verification steps.
Install server, agent, cluster: joining workers
Read the node-token
K3s writes the join credential on the server at:
sudo cat /var/lib/rancher/k3s/server/node-token
Copy the complete token exactly, including punctuation, and treat it like a password. Do not publish it in a repository, chat room or shell history that other users can read. If your terminal wraps the line, copy the underlying value rather than the visual line break.
Run the agent installer
On each worker VPS, substitute the server’s reachable address and the token you just copied:
Rank #3
- Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
- Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
- Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
- ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
- Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)
curl -sfL https://get.k3s.io | K3S_URL=https://<server-ip>:6443 K3S_TOKEN=<token> sh -
For example, the URL must include the scheme and port: https://203.0.113.10:6443. The angle-bracket text is a placeholder; replace it with real values and do not type the brackets. Providing K3S_URL is what tells the installer to configure an agent instead of installing another server.
The agent installer creates its systemd service and starts the worker. Repeat the command on every additional worker, using the same server URL and token. Each worker still needs its own unique hostname. If you had to use custom names, provide a distinct K3S_NODE_NAME for each agent in the installer environment.
Verify that every node is Ready
Return to the server and run:
sudo kubectl get nodes
The output should list the server and each joined agent, with STATUS shown as Ready. This is the requested end state: the API is responding, node registration succeeded and the control plane can see the workers.
Use the following checks when a node is missing or remains NotReady:
- On the affected machine, inspect the service with
sudo systemctl status k3s-agent --no-pagerfor an agent orsudo systemctl status k3s --no-pagerfor a server. - Confirm that the agent can reach the server on TCP 6443 and that the server address in
K3S_URLis correct. - Confirm UDP 8472 is allowed between every node. The default Flannel VXLAN backend needs this path for pod networking.
- Recheck the hostname on every machine. Duplicate hostnames can create confusing membership failures rather than a clear installer error.
- Re-copy the token from
/var/lib/rancher/k3s/server/node-token. A missing character or an extra line break prevents authentication. - Check memory and CPU pressure. The documented minimums exclude workloads; a node can register and still become unstable when it is overcommitted.
Firewall and provider rules in practice
There are usually two independent filtering layers: the VPS provider’s security group and Ubuntu’s local firewall. A rule in only one layer is insufficient. Permit TCP 6443 from the agents to the server, and permit UDP 8472 in both directions between nodes. If metrics-server is installed, ensure the path it uses to reach kubelets includes TCP 10250. For a highly available setup with embedded etcd, restrict TCP 2379 and 2380 to server nodes; workers do not need those ports.
Rank #4
- Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
- Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
- 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
- Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
- USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC
Do not open the Kubernetes API to the entire internet unless you have a specific reason and compensating controls. Prefer a private network or a narrow source range. The join token grants cluster access, so store it with the same care as an administrator credential.
Single-node versus multi-node layouts
Single-node test cluster
One server VPS is the shortest path to a working cluster. It contains the control plane and can run pods itself. This layout is appropriate for learning, CI experiments and small services where a server failure is acceptable. Size it above the bare minimum if you will install ingress, monitoring, a registry or stateful applications; the practical 4 GB RAM recommendation is a useful test baseline, not a guarantee for every workload.
Do these 3 things before closing this tab:
1Fix the driver behind crashes, sound loss and screen glitches2Repair Windows errors before they cause bigger problems3Scan for outdated or missing drivers - takes under a minuteServer plus agents
Adding agents separates application capacity from the control-plane host. Agents connect outbound to the server, and the server’s kubectl get nodes output becomes the authoritative view of membership. This layout does not by itself make the control plane highly available: one server remains a single point of failure.
Multiple servers for embedded etcd
K3s can use embedded etcd for a highly available server cluster. In that design, allow TCP 2379–2380 between server nodes only. Plan the server count, storage and failure domains deliberately; do not turn on HA ports or add servers casually to a cluster that was created as a single-node installation. Consult the current K3s documentation for the supported HA bootstrap and version-specific flags before building this topology, because installer channels and options can change.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Version and upgrade decisions
The one-line installer follows K3s’s current channel behavior unless you explicitly select a version. Exact channel names and installer flags change over time, and they were not established here from current release notes. Before pinning a production version, check the live K3s documentation and release notes, then test the chosen version on a disposable VPS. Keep server and agent versions within the compatibility guidance for that release, and schedule upgrades rather than mixing arbitrary binaries.
Best Value
- Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
- Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
- Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
- Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
- Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.
Common mistakes and their fixes
“The installer made another server”
If you intended an agent but omitted K3S_URL, the installer has no instruction to join an existing server. Re-run the agent installation with both K3S_URL and K3S_TOKEN set, after removing or rebuilding the unintended node according to your operational policy.
“Connection refused” or timeout on port 6443
Check that the server service is running, that the address resolves to the correct VPS, and that provider and host firewalls allow TCP 6443 from the agent. A private address that is not routed between VPS networks produces the same symptom as a closed firewall.
Nodes register but pods cannot communicate
First verify UDP 8472 between all nodes. That port carries the default Flannel VXLAN traffic. If you selected a WireGuard Flannel backend instead, allow the corresponding UDP 51820 and 51821 ports as required by that configuration.
A node appears twice or replaces another node
Inspect hostnames. Two machines with the same hostname can silently collide in cluster membership. Rename the machines or set unique K3S_NODE_NAME values, then rejoin the affected node cleanly.
Metrics are unavailable
Metrics-server requires access to kubelet metrics. Confirm that TCP 10250 is permitted where your metrics deployment needs it, and distinguish a metrics configuration problem from basic node readiness.
Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchWindows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallOperational checklist after installation
- Record which VPS is the server and which are agents, including their unique hostnames and addresses.
- Restrict API access and protect the node token.
- Monitor disk, RAM and CPU; the K3s minimums do not include application workloads.
- Document the enabled Flannel backend and corresponding firewall ports.
- Back up application data and any cluster state that matters to you. A single-node cluster has no control-plane redundancy.
- Read the current K3s documentation before enabling embedded etcd, an embedded registry mirror, a non-default networking backend or a pinned release channel.
What success looks like
The setup is complete when the server’s k3s systemd service is running, every intended worker has joined with the server token, and sudo kubectl get nodes lists the expected machines as Ready. From there, deploy workloads using your normal Kubernetes manifests and continue treating capacity, firewall scope, credentials and version selection as ongoing operational responsibilities rather than one-time installation details.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




