Closed ndegory closed 7 years ago
I propose something along the following lines:
$ amp cluster create [--managers count] [--workers count] [--driver "local"] [--driver-opt opt ...]
$ amp cluster destroy CLUSTER
$ amp cluster update --workers --managers CLUSTER
$ amp cluster status CLUSTER
please add a label option:
$ amp cluster create --name=NAME
this will be used to label the Docker engines. The bootstrap script is called with the -l option: bootstrap -l NAME
in the amp cluster create
command, what are --driver-opt
?
To be defined, when an option is needed for a driver. Not implemented for now.
What about the amp cluster status
command?
For now amp cluster create
should bootstrap with what is provided by the bootstrap script and templates. This means:
Regarding the status, it's similar to the above, it should call the appropriate tool (bootstrap script for local deployment, terraform container for remote deployment).
@ndegory Is this issue still current?
The AMP CLI uses InfraKit for cluster deployment (amp start and stop commands). A few more options should be available for controlling the cluster:
5
)local
)