adj cluster register
Register a new cluster and print its one-time agent join token
Register a new data-plane cluster.
Prints the cluster id/name and a one-time agent join token. The token is shown ONCE and never retrievable again — store it now. With -o json the response object (id, name, token) is emitted so scripts can capture the token.
Usage
adj cluster register <name>
Global flags
| Flag | Shorthand | Default | Description |
|---|---|---|---|
--context |
— |
config context to use (overrides current-context) | |
--output |
-o | table |
output format: table|json|yaml |
--server |
— |
server base URL (overrides the active context) | |
--token |
— |
access token (overrides the active context) | |
--verbose |
-v | false |
log requests to stderr |