跳转到内容

Enrol a node

此内容尚不支持你的语言。

Goal

A machine of yours registered with the control plane and ready to be given containers.

Before you start

  • A Linux machine with Docker installed and a root shell.
  • Outbound HTTPS from that machine to the control plane.
  • Rights to enrol within your tenant. A node belongs to one tenant, as tenancy and isolation describes.

Steps

  1. Open Nodes and choose Enrol a node.
  2. Copy the install command. It carries a single-use enrolment token.
  3. Run it as root on the machine.
  4. Watch the node appear in the list and become ready.

Verify

The node is listed and ready, and GET /api/v1/nodes/{name} returns it.

Evidence this worked

The installer’s last line reports the agent enrolled, and the node’s first check-in changes its state in the list within about thirty seconds. A node that never appears has not completed enrolment — the token was consumed by an earlier attempt, or the machine cannot reach the control plane.

When it fails

  • The token is refused as already used. Enrolment tokens are single-use. Issue another rather than re-running the old command; a stale copy of the install line is the most common cause.
  • The node appears and never becomes ready. The agent enrolled but cannot maintain its connection outbound. Check egress rather than the enrolment.
  • The node belongs to another tenant. Nodes do not move between tenants; the machine has to be removed and enrolled again.