This commit is contained in:
Dastan 2017-09-14 00:34:49 +00:00 committed by GitHub
commit 38715ac4e2
2 changed files with 6 additions and 4 deletions

View file

@ -54,7 +54,9 @@ endif
# QEMUARCH=s390x # QEMUARCH=s390x
#endif #endif
TEMP_DIR := $(shell mktemp -d) ifndef TEMP_DIR
TEMP_DIR := $(shell mktemp -d)
endif
DOCKERFILE := $(TEMP_DIR)/rootfs/Dockerfile DOCKERFILE := $(TEMP_DIR)/rootfs/Dockerfile

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
@ -115,7 +116,6 @@ $ kubectl create -f examples/default-backend.yaml
``` ```
Follow the [example-deployment](../../examples/deployment/nginx/README.md) steps to deploy nginx-ingress-controller in Kubernetes cluster (you may prefer other type of workloads, like Daemonset, in production environment). Follow the [example-deployment](../../examples/deployment/nginx/README.md) steps to deploy nginx-ingress-controller in Kubernetes cluster (you may prefer other type of workloads, like Daemonset, in production environment).
Loadbalancers are created via a ReplicationController or Daemonset:
## HTTP ## HTTP