forked from LaconicNetwork/kompose
Update docs: --bundle is global flag now
This commit is contained in:
parent
3ce0519a82
commit
a65dcfb5d5
@ -11,7 +11,7 @@
|
|||||||
For example, if you have a Docker bundle like [`docker-compose-bundle.dsb`](./examples/docker-compose-bundle.dsb), you can convert it into Kubernetes deployments and services like this:
|
For example, if you have a Docker bundle like [`docker-compose-bundle.dsb`](./examples/docker-compose-bundle.dsb), you can convert it into Kubernetes deployments and services like this:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ kompose convert --bundle docker-compose-bundle.dsb
|
$ kompose --bundle docker-compose-bundle.dsb convert
|
||||||
WARN[0000]: Unsupported key networks - ignoring
|
WARN[0000]: Unsupported key networks - ignoring
|
||||||
file "redis-svc.json" created
|
file "redis-svc.json" created
|
||||||
file "web-svc.json" created
|
file "web-svc.json" created
|
||||||
|
|||||||
@ -55,7 +55,7 @@ db-svc.json docker-compose-bundle.dsb docker-voting.yml redis-svc.json
|
|||||||
Using `--bundle, --dab` to specify a DAB file as below:
|
Using `--bundle, --dab` to specify a DAB file as below:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ kompose convert --bundle docker-compose-bundle.dsb
|
$ kompose --bundle docker-compose-bundle.dsb convert
|
||||||
WARN[0000]: Unsupported key networks - ignoring
|
WARN[0000]: Unsupported key networks - ignoring
|
||||||
file "redis-svc.json" created
|
file "redis-svc.json" created
|
||||||
file "web-svc.json" created
|
file "web-svc.json" created
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user