Update references to 1.3
This commit is contained in:
parent
6ead83512e
commit
076de3e8a7
3 changed files with 3 additions and 3 deletions
|
@ -46,7 +46,7 @@ $ kubectl create -f examples/default/rc-default.yaml
|
||||||
|
|
||||||
First we need to deploy some application to publish. To keep this simple we will use the [echoheaders app](https://github.com/kubernetes/contrib/blob/master/ingress/echoheaders/echo-app.yaml) that just returns information about the http request as output
|
First we need to deploy some application to publish. To keep this simple we will use the [echoheaders app](https://github.com/kubernetes/contrib/blob/master/ingress/echoheaders/echo-app.yaml) that just returns information about the http request as output
|
||||||
```
|
```
|
||||||
kubectl run echoheaders --image=gcr.io/google_containers/echoserver:1.3 --replicas=1 --port=8080
|
kubectl run echoheaders --image=gcr.io/google_containers/echoserver:1.4 --replicas=1 --port=8080
|
||||||
```
|
```
|
||||||
|
|
||||||
Now we expose the same application in two different services (so we can create different Ingress rules)
|
Now we expose the same application in two different services (so we can create different Ingress rules)
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
All the examples references the services `echoheaders-x` and `echoheaders-y`
|
All the examples references the services `echoheaders-x` and `echoheaders-y`
|
||||||
|
|
||||||
```
|
```
|
||||||
kubectl run echoheaders --image=gcr.io/google_containers/echoserver:1.3 --replicas=1 --port=8080
|
kubectl run echoheaders --image=gcr.io/google_containers/echoserver:1.4 --replicas=1 --port=8080
|
||||||
kubectl expose deployment echoheaders --port=80 --target-port=8080 --name=echoheaders-x
|
kubectl expose deployment echoheaders --port=80 --target-port=8080 --name=echoheaders-x
|
||||||
kubectl expose deployment echoheaders --port=80 --target-port=8080 --name=echoheaders-x
|
kubectl expose deployment echoheaders --port=80 --target-port=8080 --name=echoheaders-x
|
||||||
```
|
```
|
||||||
|
|
|
@ -58,7 +58,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: echoheaders
|
- name: echoheaders
|
||||||
image: gcr.io/google_containers/echoserver:1.3
|
image: gcr.io/google_containers/echoserver:1.4
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
---
|
---
|
||||||
|
|
Loading…
Reference in a new issue