sdpctl Reference Guide
sdpctl sites list
List and see status of sites of a collective
Synopsis
List and see status of sites of a collective. By default, configured sites will be shown in a table, but viewing sites in json format is supported using the ‘–json’ flag. Text lines that contain multiple lines will be abbreviated to only showing the first line in the table view. In that case, the abbreviated lines will be indicated with ‘[…]’. To view the full output, use the ‘–json’ flag.
sdpctl sites list [<site-id|site-name>]... [flags]
Examples
# will list all sites configured in a collective if no arguments are used.
> sdpctl sites list
Site Name Short Name ID Tags Description Status
--------- ---------- -- ---- ----------- ------
Default Site 8a4add9e-0e99-4bb1-949c-c9faf9a49ad4 [builtin] healthy
# list sites with json output
> sdpctl sites list --json
Options
-h, --help help for list
--json
Options inherited from parent commands
--api-version int Peer API version override
--ci-mode Log to stderr instead of file and disable progress-bars
--debug Enable debug logging
--events-path string send logs to unix domain socket path
--no-interactive Suppress interactive prompt with auto accept
--no-verify Don't verify TLS on for the given command, overriding settings from config file
-p, --profile string Profile configuration to use
SEE ALSO
sdpctl sites - Root command for listing and checking status of sites in a collective