oz0-node join

Join a cluster.

For: Operators and developers looking up a command.

Join a cluster. The node creates its key locally (it never leaves the machine) and checks the server against the CA hash in the join token or --ca-hash before it sends anything. With a valid token it is accepted at once; without one it waits until an operator runs oz0 node accept.

Usage

oz0-node join [flags]

Flags

FlagTypeDefaultDescription
--ca-hashstringcluster CA hash (sha256:...) to join without a token and wait for approval
--namestringhost namedisplay name
--regionstringthe region this node belongs to, such as eu; the join fails unless --server is an edge of that region (default: the region of the edge it joins through). A node works only through its own region's edges
--serverstringedge address, for example https://edge.example.com:7443 (required)
--token-filefilea file (- for stdin) holding the join token from oz0 token create (or set OZ0_JOIN_TOKEN); a token never goes on the command line, where every user of the machine can read it

Inherited flags

FlagTypeDefaultDescription
--data-dirstring~/.local/share/orchestrator-zero-nodewhere the node keeps its identity, uv, Python, runtimes and state
--log-levelstringinfolog level: debug, info, warn or error

See all oz0-node commands and the global flags.

On this page
Copyright © 2026