Delete
The bacalhau node delete command offers administrators the ability to remove a node from the cluster using its name.
Description
Using the delete sub-command, administrators can remove a node from the list of available compute nodes in the cluster. This feature is necessary for the management of the infrastructure.
Usage
bacalhau node delete [id] [flags]
Flags
-h,--help:- Description: Displays the help documentation for the
deletecommand.
- Description: Displays the help documentation for the
-m,--message string:- Description: A message to attach to the delete 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
-
Delete the Node with ID
nodeID123:bacalhau node delete nodeID123 -
Delete a Node with an audit message:
bacalhau node delete nodeID123 -m "bad actor"