Merge pull request #1077 from aledbf/update-echodeader
Update echoheaders images
This commit is contained in:
commit
9b80d3b6b0
6 changed files with 87 additions and 87 deletions
|
@ -11,7 +11,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: echoheaders
|
- name: echoheaders
|
||||||
image: gcr.io/google_containers/echoserver:1.5
|
image: gcr.io/google_containers/echoserver:1.8
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
|
|
|
@ -49,7 +49,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: echoheaders
|
- name: echoheaders
|
||||||
image: gcr.io/google_containers/echoserver:1.5
|
image: gcr.io/google_containers/echoserver:1.8
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -102,7 +102,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.5 --replicas=1 --port=8080
|
kubectl run echoheaders --image=gcr.io/google_containers/echoserver:1.8 --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)
|
||||||
|
|
|
@ -11,7 +11,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: echoheaders
|
- name: echoheaders
|
||||||
image: gcr.io/google_containers/echoserver:1.5
|
image: gcr.io/google_containers/echoserver:1.8
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
|
|
|
@ -21,7 +21,7 @@ kind: ReplicationController
|
||||||
metadata:
|
metadata:
|
||||||
name: http-svc
|
name: http-svc
|
||||||
spec:
|
spec:
|
||||||
replicas: 2
|
replicas: 1
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
@ -29,7 +29,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: http-svc
|
- name: http-svc
|
||||||
image: gcr.io/google_containers/echoserver:1.5
|
image: gcr.io/google_containers/echoserver:1.8
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -58,7 +58,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: echoheaders
|
- name: echoheaders
|
||||||
image: gcr.io/google_containers/echoserver:1.5
|
image: gcr.io/google_containers/echoserver:1.8
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue