Clarify default backend creation.
This commit is contained in:
parent
7abc7a77f6
commit
83643b199c
1 changed files with 11 additions and 5 deletions
|
@ -21,10 +21,16 @@ This is a nginx Ingress controller that uses [ConfigMap](https://github.com/kube
|
||||||
|
|
||||||
## Deploy the Ingress controller
|
## Deploy the Ingress controller
|
||||||
|
|
||||||
Loadbalancers are created via a ReplicationController or Daemonset
|
First create a default backend:
|
||||||
|
```
|
||||||
|
$ kubectl create -f examples/default-backend.yaml
|
||||||
|
$ kubectl expose rc default-http-backend --port=80 --target-port=8080 --name=default-http-backend
|
||||||
|
```
|
||||||
|
|
||||||
|
Loadbalancers are created via a ReplicationController or Daemonset:
|
||||||
|
|
||||||
```
|
```
|
||||||
kubectl create -f examples/default/rc-default.yaml
|
$ kubectl create -f examples/default/rc-default.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
## HTTP
|
## HTTP
|
||||||
|
|
Loading…
Reference in a new issue