Node
Description
The bacalhau agent node command retrieves information about the agent's node, providing insights into the agent's environment and aiding in debugging.
Usage
bacalhau agent node [flags]
Flags
-h,--help:- Displays help information for the
nodesub-command.
- Displays help information for the
--output format:- Defines the output format (either JSON or YAML).
- Options:
json,yaml - Default:
yaml
--pretty:- Beautifies the output when using JSON or YAML formats.
Global Flags
--api-host string:- Description: The host for the client and server to communicate on (via REST). Ignored if the
BACALHAU_API_HOSTenvironment variable is set. - Default:
0.0.0.0
- Description: The host for the client and server to communicate on (via REST). Ignored if the
--api-port int:- Description: The port for the client and server to communicate on (via REST). Ignored if the
BACALHAU_API_PORTenvironment variable is set. - Default:
1234
- Description: The port for the client and server to communicate on (via REST). Ignored if the
-c,--config string:- Description: Config file(s) or dot-separated path(s) to config values, for example
-c API.Host=10.0.0.1.
- Description: Config file(s) or dot-separated path(s) to config values, for example
--data-dir string:- Description: The filesystem path where Bacalhau initializes or opens its repo.
- Default:
$HOME/.bacalhau
--profile string:- Description: Use a specific profile for this command.
Examples
-
Retrieve Node Information in Default Format (YAML)
bacalhau agent node -
Retrieve Node Information in JSON Format
bacalhau agent node --output json -
Retrieve Node Information in Pretty-printed JSON Format
bacalhau agent node --output json --pretty