API Reference
lean private-cloud add-compute
Introduction
Add private cloud compute
$ lean private-cloud add-compute [OPTIONS]
Description
Adds a compute node to a running private cloud cluster.
Use the --token, --master-domain, and --master-port options to connect the node to an existing master server.
Use --slave-domain to specify the domain of the node being added.
Use --compute to select a compute configuration, and --extra-docker-config to pass additional Docker configuration as a JSON string.
Pass --update to pull the latest Docker image before starting, or --stop to stop any existing deployment on this node first.
Options
The lean private-cloud add-compute command supports the following options:
| Option | Description |
|---|---|
--token <string> | The master server token |
--master-domain, --master-ip <string> | The master server domain |
--master-port <integer> | The master server port |
--slave-domain, --slave-ip <string> | The slave server domain |
--update | Pull the latest image before starting |
--no-update | Do not update to the latest version |
--compute <string> | Compute configuration to use |
--extra-docker-config <string> | Extra docker configuration as a JSON string |
--stop | Stop any existing deployment |
--lean-config <file> | The Lean configuration file that should be used (defaults to the nearest lean.json) |
--verbose | Enable debug logging |
--help | Display the help text of the lean private-cloud add-compute command and exit |