add_node
Registers a new rental node and returns the Docker command to install its agent. Confirm name and type first, then run the command on the machine to bring the node online.
Instructions
PROVIDER: add a new node to the account and get the docker command that installs the agent on the machine. Confirm the name and type with the user first. The returned command contains the node's secret token: show it only to the user, never paste it anywhere public. The node comes online once the command runs on the machine, then goes through the GPU check. At most 20 nodes an hour per key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | Operating system of the machine. Default linux. | |
| name | Yes | A label for the node, up to 100 characters. | |
| spot | No | A spot node: discounted and reclaimable (GPU only). Default false. | |
| type | No | Default gpu. | |
| available | No | On the market as soon as it is ready. Default true. |