Skip to content

Add a GPU node

Your cluster starts with one machine: the controller. It holds the app, your settings and your data, and it also runs recipes on its own GPUs. A GPU node is another machine that only runs recipes. It has no app and no database. The controller schedules work on it.

  • Linux on x86_64 or ARM64 (aarch64). The controller itself needs x86_64.
  • The NVIDIA driver, Docker Engine and the NVIDIA Container Toolkit, already installed. Recipes run in containers on the node, like on the controller.
  • Root access to run the install command.
  • A network path to the controller’s worker port (8443 by default). Check your firewall first: without it, the node cannot join.
  1. On the controller, open Nodes & GPU, then Add node at the top right.
  2. Under Enrollment token, create a token. Give it a label you will recognise.
  3. In Enroll command, keep New install selected. Copy the command for the address the node can reach: on your network, or from the Internet.
  4. Under Token, copy the token too. The command does not contain it.

The token appears only once, when you create it. A token created earlier shows no command: create a new one.

Paste the command in a terminal on the new machine. It asks for the enrollment token: paste the token and press Enter. The token does not show while you paste it. This keeps it out of your shell history.

The command then installs the GPU Kitchen service, joins the controller with the token, and starts. It asks no other question.

To join a machine where GPU Kitchen is already installed, choose Join only instead. That command uses sudo gpuk enroll and asks for the token the same way.

In a script, with no terminal to ask on, pipe the token into the Join only command:

Terminal window
printf '%s\n' "$TOKEN" | sudo gpuk enroll --controller wss://<controller>:8443 --token -

When the install finds models already downloaded on the machine, it prints where. The controller can reuse them later from Nodes & GPU, Storage view. Nothing is moved.

The node appears in Nodes & GPU with its GPUs. On the node itself, run:

Terminal window
sudo gpuk status

It says in one sentence whether the node is connected, and what to do when it is not. For example, a node that runs a different version than its controller is refused until you update it with sudo gpuk update.

In Nodes & GPU, Allocation view, each GPU’s row says which tasks it may serve: Local inference, My benchmarks and Community. Free GPUs on the dashboard counts the GPUs of online nodes where a local inference could start now. A GPU left to Community alone is not free there: a Run would refuse it.

In Nodes & GPU, each GPU’s row sets its inference VRAM, in GB. Lower it to leave memory to other programs on that GPU: the row then says how many GB stay for others. The setting stays when the node is scanned again, and engines are held to it when they start. When programs outside GPU Kitchen already use memory on a GPU, GPU Kitchen leaves them at least that much, rounded up to the next GB.

In Nodes & GPU, Storage view, the shared folder and its path are summarized once, to the right of the view bar. Its link opens the setting to change them. Opening the view reads each online node’s model list again. Disks are measured at most every 30 s for the whole cluster; the view shows the time of the last measure. Its help says whether this visit measured them or kept the last reading.

On a card with controllable lighting, the light bulb locates the GPU and the rainbow opens its lighting. The window offers only the effects that card announces, and only the settings each one uses. While the GPU is being located, no effect can be applied. If a protocol can only restore by switching the light off, the window says so first. When the node’s worker is too old to list effects, the rainbow stays visible but greyed, and says to update the worker.

On a local network, a node can also ask to join without a token. The Enroll mode in Add node decides what happens:

  • LAN automatic: any node on the network that reaches the controller joins at once.
  • LAN approval: the node waits under Awaiting approval until an owner approves or rejects it.
  • Token only: only a token lets a node join.

Your security profile sets the default and the limits:

Security profile Default Not allowed
Home lab LAN automatic —
Small team LAN approval —
Managed network LAN approval LAN automatic
Public server Token only LAN automatic and LAN approval

To install a node that waits for approval, copy the New install command and remove its --controller and --enroll-token options before you run it. Choose a cluster name with --cluster when you run several controllers.

  • Each node reaches the controller on the worker port (8443 by default).
  • The controller and the proxy reach each node on its data port (8300 by default).
  • While a node updates, its handover port (8302 by default) briefly takes over from the data port. Open it the same way as the data port.
  • Nodes copy models to each other on port 8301. Allow it between your nodes, never from the Internet.

You can change a node’s ports at install time with --data-port, --transfer-port and --handover-port.

A node the controller has not heard from for 90 seconds reads offline on every page. Only an offline node can be removed, and never the controller’s own machine. In Nodes & GPU, use the bin on its row, Remove or forget this node…:

  • Remove keeps its installation identity, so its worker comes back as the same node.
  • Forget, offered to the owner, drops that identity too: a future enrollment creates a new node.

A node keeps the identity it received when it joined. Running sudo gpuk enroll again on a node that already joined does not use the new token. The node keeps its old identity, prints this line, and reconnects to the controller it already knew:

already enrolled; keeping the persisted identity

To move the node, delete its identity first, then join with a token from the new controller:

Terminal window
sudo rm -rf /etc/gpu-kitchen/identity
sudo gpuk enroll --controller wss://<new-controller>:8443 --token -

Keep the file /etc/gpu-kitchen/machine-id. It identifies the machine itself and stays the same when the node changes controller.