Nodes

Turn on the cluster's WireGuard mesh (idempotent). The running control plane brings its end up within a minute and nodes follow. `DELETE /nodes/wireguard` turns it off while nothing depends on it.

Changed on
post/nodes/wireguard

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Request body

cidrstring nullable

Mesh address pool (private IPv4, clear of the compute pool).

listen_portinteger nullable

UDP port the mesh listens on.

node_api_portinteger nullable

TCP port nodes reach the control plane's API on over the mesh. Defaults to the mesh port number.

Response

Mesh enabled; current state

ca_rotation_requiredboolean required

Whether the cluster CA must be rotated before the mesh can be turned on: it predates certificate address history, so no pool can be proven free of its worker certificates. Always false once the mesh is on.

can_disableboolean required

Whether DELETE /nodes/wireguard can turn the mesh off now: it is on and nothing depends on it.

can_enableboolean required

Whether POST /nodes/wireguard can turn the mesh on here.

cidrstring nullable

Mesh address pool, when enabled.

disable_blockerstring nullable

What prevents turning it off, when the mesh is on and can_disable is false (nodes on the mesh, pairings in progress, the control plane's overlay on its mesh address). Rendered verbatim.

enable_blockerstring nullable

What prevents enabling it, when can_enable is false and the mesh is off. Rendered verbatim.

enable_commandstring required

CLI equivalent of enabling, for the control-plane host.

handshake_errorstring nullable

Why handshake data is missing, when it is.

join_urlstring nullable

The configured external URL: what temps join should point at. null when none is configured.

listen_portinteger required

UDP port every node must accept from the others — the configured one even while the mesh is off, so it can be opened in advance.

pool_cidrstring required

The pool the mesh uses, or would use if turned on now: nodes get their mesh addresses from it. Unrelated to the compute pool.

reasonstring nullable

Why the mesh is not ready, when it is not. Rendered verbatim.

state'disabled' | 'starting' | 'ready' required

Whether the cluster's mesh is carrying traffic.

Changes

    • info

      added the optional property disable_blocker to the response with the status

    • info

      added the required property can_disable to the response with the status

    • info

      added the required property ca_rotation_required to the response with the status

    1 more change in this revision