[nginx/README] fix console example of running Ingress controller

This commit is contained in:
du 2017-09-07 18:38:30 +08:00
parent 6b83a0fd04
commit bfaf951477

View file

@ -102,9 +102,10 @@ Usage of :
Before deploying the controller to production you might want to run it outside the cluster and observe it. Before deploying the controller to production you might want to run it outside the cluster and observe it.
```console ```console
$ make build $ tmpdir=$(mktemp -d)
$ TEMP_DIR=${tmpdir} make build
$ mkdir /etc/nginx-ssl $ mkdir /etc/nginx-ssl
$ ./rootfs/nginx-ingress-controller --running-in-cluster=false --default-backend-service=kube-system/default-http-backend $ ${tmpdir}/rootfs/nginx-ingress-controller --running-in-cluster=false --default-backend-service=kube-system/default-http-backend
``` ```
## Deployment ## Deployment