host-metrics: correct deploy create command shape
`deploy create` requires `--stack` (deploy.py:70) and lives in the `deploy` group, not `deployment`. `laconic-so deployment create ...` does not exist as a subcommand.pull/753/head
parent
a62be4def8
commit
6726d68100
|
|
@ -60,10 +60,17 @@ metrics.
|
||||||
### Create and start
|
### Create and start
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
laconic-so deployment create --spec-file spec-host-metrics.yml --deployment-dir ./deployment-host-metrics
|
laconic-so --stack host-metrics deploy create \
|
||||||
|
--spec-file spec-host-metrics.yml \
|
||||||
|
--deployment-dir ./deployment-host-metrics
|
||||||
laconic-so deployment --dir ./deployment-host-metrics start
|
laconic-so deployment --dir ./deployment-host-metrics start
|
||||||
```
|
```
|
||||||
|
|
||||||
|
`deploy create` builds the deployment dir from the spec; `deployment start`
|
||||||
|
brings the containers up. The `--stack` option is required for `deploy`
|
||||||
|
subcommands but rejected on `deployment` subcommands (the deployment dir
|
||||||
|
already knows its stack).
|
||||||
|
|
||||||
### Verify
|
### Verify
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue