Agent
The bacalhau agent command is a parent command that offers sub-commands to query information about the Bacalhau agent. This can be useful for debugging, monitoring, or managing the agent's behavior and health.
Usage
bacalhau agent [command]
Available Commands
-
-
Description: Retrieves the agent's liveness and health information. This can be helpful to determine if the agent is running and healthy.
-
Usage:
bacalhau agent alive
-
-
config:
-
Description: Retrieves the configuration the agent is running with, in YAML (default) or JSON.
-
Usage:
bacalhau agent config
-
-
node:
-
Description: Gathers the agent's node-related information. This might include details about the machine or environment where the agent is running, available resources, supported engines, etc.
-
Usage:
bacalhau agent node
-
-
-
Description: Retrieves the Bacalhau version of the agent. This can be beneficial for ensuring compatibility or checking for updates.
-
Usage:
bacalhau agent version
-
For more detailed information on any of the sub-commands, you can use the command:
bacalhau agent [command] --help
Flags
-h,--help:- Description: Displays help information for the
agentcommand.
- Description: Displays help information for the
--profile string:- Description: Use a specific profile for this command.
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