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:- The host for REST communication. Overrides the
BACALHAU_API_HOSTenvironment variable. - Default:
bootstrap.production.bacalhau.org
- The host for REST communication. Overrides the
--api-port int:- The port for REST communication. Overridden if
BACALHAU_API_PORTenvironment variable is set. - Default:
1234
- The port for REST communication. Overridden if
--log-mode logging-mode:- Specifies the log format. Choices are:
default,station,json,combined,event. - Default:
default
- Specifies the log format. Choices are:
--repo string:- Path to the bacalhau repository.
- Default: ``$HOME/.bacalhau`
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