fix output replication-controller and daemon-set

This commit is contained in:
mi 2017-04-24 10:02:05 +08:00
parent d24879f881
commit edc2be4353

View File

@ -251,17 +251,17 @@ file "web-deployment.json" created
The `*-deployment.json` files contain the Deployment objects. The `*-deployment.json` files contain the Deployment objects.
```console ```console
$ kompose convert --rc $ kompose convert --replication-controller
file "redis-svc.yaml" created file "redis-svc.yaml" created
file "web-svc.yaml" created file "web-svc.yaml" created
file "redis-rc.yaml" created file "redis-replicationcontroller.yaml" created
file "web-rc.yaml" created file "web-replicationcontroller.yaml" created
``` ```
The `*-rc.yaml` files contain the Replication Controller objects. If you want to specify replicas (default is 1), use `--replicas` flag: `$ kompose convert --rc --replicas 3` The `*-replicationcontroller.yaml` files contain the Replication Controller objects. If you want to specify replicas (default is 1), use `--replicas` flag: `$ kompose convert --replication-controller --replicas 3`
```console ```console
$ kompose convert --ds $ kompose convert --daemon-set
file "redis-svc.yaml" created file "redis-svc.yaml" created
file "web-svc.yaml" created file "web-svc.yaml" created
file "redis-daemonset.yaml" created file "redis-daemonset.yaml" created