oz0 node list
List nodes
For: Operators and developers looking up a command.
List nodes
Usage
oz0 node list [flags]
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--all | bool | read every page, not one | |
--json | bool | print JSON instead of a table | |
--limit | int32 | at most this many rows a page (the server's 25 when 0, at most 100) | |
--page-token | string | go on after the page before: the token it printed | |
--pending | bool | only nodes waiting for approval (same as --state pending) | |
--query | string | only nodes whose ID, name or labels hold every word, without case | |
--state | string | only nodes in this state: pending, accepted, rejected, blocked or purging | |
--status | string | only nodes in this condition: online, offline, pending, blocked, draining, purging, rejected or findings | |
--tenant | string | only this tenant's nodes |
Inherited flags
| Flag | Type | Default | Description |
|---|---|---|---|
--context | string | $OZ0_CONTEXT or <config dir>/orchestrator-zero/context.json | CLI context file written by server init |
--log-level | string | info | log level: debug, info, warn or error |
See all oz0 commands and the global flags.