Reject
The bacalhau node reject command offers administrators the ability to reject a compute node's request to join the cluster.
Description
Using the reject sub-command, administrators can reject a node in the pending state from joining the cluster and receiving work. This feature is crucial for system administrators to manage the cluster and will stop the node from taking part in the cluster until approved.
Usage
bacalhau node reject [id] [flags]
Flags
-h,--help:- Description: Displays the help documentation for the
rejectcommand.
- Description: Displays the help documentation for the
-m,--message string:- Description: A message to attach to the reject action.
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
-
Reject a Node with ID
nodeID123:bacalhau node reject nodeID123 -
Reject a Node with an audit message:
bacalhau node reject nodeID123 -m "potentially bad"