Commit 4f84e3f7 authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #13758 from amygdala/gb2

Auto commit by PR queue bot
parents d6ce7190 d531f0fd
...@@ -328,7 +328,7 @@ replicationcontrollers/redis-slave ...@@ -328,7 +328,7 @@ replicationcontrollers/redis-slave
$ kubectl get rc $ kubectl get rc
CONTROLLER CONTAINER(S) IMAGE(S) SELECTOR REPLICAS CONTROLLER CONTAINER(S) IMAGE(S) SELECTOR REPLICAS
redis-master master redis name=redis-master 1 redis-master master redis name=redis-master 1
redis-slave slave kubernetes/redis-slave:v2 name=redis-slave 2 redis-slave slave gcr.io/google_samples/gb-redisslave:v1 name=redis-slave 2
``` ```
Once the replication controller is up, you can list the pods in the cluster, to verify that the master and slaves are running. You should see a list that includes something like the following: Once the replication controller is up, you can list the pods in the cluster, to verify that the master and slaves are running. You should see a list that includes something like the following:
...@@ -413,7 +413,7 @@ spec: ...@@ -413,7 +413,7 @@ spec:
spec: spec:
containers: containers:
- name: php-redis - name: php-redis
image: gcr.io/google_samples/gb-frontend:v2 image: gcr.io/google_samples/gb-frontend:v3
env: env:
- name: GET_HOSTS_FROM - name: GET_HOSTS_FROM
value: dns value: dns
...@@ -441,9 +441,9 @@ Then, list all your replication controllers: ...@@ -441,9 +441,9 @@ Then, list all your replication controllers:
```console ```console
$ kubectl get rc $ kubectl get rc
CONTROLLER CONTAINER(S) IMAGE(S) SELECTOR REPLICAS CONTROLLER CONTAINER(S) IMAGE(S) SELECTOR REPLICAS
frontend php-redis kubernetes/example-guestbook-php-redis:v2 name=frontend 3 frontend php-redis kubernetes/example-guestbook-php-redis:v3 name=frontend 3
redis-master master redis name=redis-master 1 redis-master master redis name=redis-master 1
redis-slave slave kubernetes/redis-slave:v2 name=redis-slave 2 redis-slave slave gcr.io/google_samples/gb-redisslave:v1 name=redis-slave 2
``` ```
Once it's up (again, it may take up to thirty seconds to create the pods) you can list the pods in the cluster, to verify that the master, slaves and frontends are all running. You should see a list that includes something like the following: Once it's up (again, it may take up to thirty seconds to create the pods) you can list the pods in the cluster, to verify that the master, slaves and frontends are all running. You should see a list that includes something like the following:
......
...@@ -15,7 +15,7 @@ spec: ...@@ -15,7 +15,7 @@ spec:
spec: spec:
containers: containers:
- name: php-redis - name: php-redis
image: gcr.io/google_samples/gb-frontend:v2 image: gcr.io/google_samples/gb-frontend:v3
env: env:
- name: GET_HOSTS_FROM - name: GET_HOSTS_FROM
value: dns value: dns
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment