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
-
-
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
agent
command.
- Description: Displays help information for the
Global Flags
--api-host string
:- Description: Specifies the host used for RESTful communication between the client and server. The flag is disregarded if the
BACALHAU_API_HOST
environment variable is set. - Default:
bootstrap.production.bacalhau.org
- Description: Specifies the host used for RESTful communication between the client and server. The flag is disregarded if the
--api-port int
:- Description: Specifies the port for REST communication. If the
BACALHAU_API_PORT
environment variable is set, this flag will be ignored. - Default:
1234
- Description: Specifies the port for REST communication. If the
--log-mode logging-mode
:- Description: Sets the desired log format. Options are:
default
,station
,json
,combined
, andevent
. - Default:
default
- Description: Sets the desired log format. Options are:
--repo string
:- Description: Defines the path to the bacalhau repository.
- Default: ``$HOME/.bacalhau`