Article · 4 min read · Home lab
Windows laptops and desktops
A device is a Windows laptop or desktop that reports to kubespin. You see whether it’s on, asleep or off, keep it awake, and reach it with remote desktop over the mesh. There’s no Docker, no WSL and no terminal: you run one installer.
A device is a Windows laptop or desktop that reports to kubespin. You see whether it’s on, asleep or off, keep it awake, and reach it with remote desktop over the mesh. There’s no Docker, no WSL and no terminal: you run one installer.
Devices don’t run apps and don’t count as servers. Each plan allows a number of them (see below).
In kubespin
Add a device
- Go to Devices › Add a device and download
kubespin-setup.exe. - Run it on the PC. It asks for admin rights once and installs the kubespin agent as a Windows service.
- It opens kubespin at a page with one button, Add this device. Choose it.
If the browser doesn’t open, the code is in the tray icon; type it in on the same page instead.
The installer isn’t code-signed yet, so Windows warns about it. Add a device says how to run it anyway. The agent then updates itself, and each update is checked against a checksum kubespin sends over the agent’s sealed connection.
Windows 10 and 11, on x64 and Arm.
The Devices page
Each device shows as Online, Asleep or Offline, with:
- its system, CPU, memory and disk;
- the battery, on a laptop;
- the Windows updates waiting. kubespin reports them but never installs them.
A device that said it was going to sleep shows Asleep, not down.
Keep awake
Keep awake stops the device sleeping while it’s on mains power. Turning it off puts the old power settings back.
Remote desktop
Remote desktop turns it on or off from kubespin. It can only be reached from the mesh’s addresses, never from the internet (see kubespin: The mesh network).
- Windows Pro and up: Windows’ own Remote Desktop, with Network Level Authentication.
- Windows Home, which can’t host Remote Desktop: a VNC server (TightVNC), installed the first time you turn it on. It runs as a service with no web viewer or file transfer, and accepts connections from the mesh only. Its password is made on the PC and never leaves it; an administrator on the PC sees it from the tray’s Show VNC password. Turning it off stops and disables it.
kubespin never turns off a Remote Desktop, or changes a VNC server, that it didn’t set up.
The tray icon
The tray icon shows whether the device is connected, waiting or not connected. A local administrator can change the same switches from it, confirmed by Windows’ admin prompt.
Remove a device
Remove it in kubespin, and its agent uninstalls itself on its next report and puts back what kubespin changed. Uninstalling the agent in Windows removes the device from kubespin.
Command line
The kubespin command has no devices subcommand. Use kubespin api:
kubespin api GET /devices
API
List your devices, with how many your plan allows:
curl -s https://kubespin.io/api/v1/devices \
-H "Authorization: Bearer $KUBESPIN_TOKEN"
Rename a device, or switch Keep awake or Remote desktop. The agent applies the change on its next report:
curl -s -X PATCH https://kubespin.io/api/v1/devices/$DEVICE_ID \
-H "Authorization: Bearer $KUBESPIN_TOKEN" \
-H "Content-Type: application/json" \
-d '{"keep_awake": true, "remote_desktop": true}'
| Field | What it does |
|---|---|
name |
The device’s name in kubespin. |
keep_awake |
true stops it sleeping on mains power. |
remote_desktop |
true turns on Remote Desktop, or VNC on Windows Home. Refused with 409 while the device is paused. |
Remove a device with DELETE /api/v1/devices/{id}.
[!permissions] Permissions API token: Read only to list devices; Read and change to change or remove them.
Devices don’t have a team permission area yet, so in a team every member can see and change them.
Devices and your plan
| Free | Trial | Maker | Pro | Team | |
|---|---|---|---|---|---|
| Devices | 2 | 10 | 5 | 15 | 50 |
Over the limit, the extra devices are paused: still shown, but with remote desktop off. See kubespin: Plans and billing.
Coming
Joining the mesh straight from the installer, and Macs.