Skip to content

Commit b80c941

Browse files
authored
Merge pull request #386 from DeanJain/master
removing unwanted words after kubectl commands which is causing confusion
2 parents 46488e2 + ef5deea commit b80c941

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ and to refresh command syntax, output, changed prerequisites, as needed.
1414
|Name | Description | Notable Features Used | Complexity Level|
1515
------------- | ------------- | ------------ | ------------ |
1616
|[Guestbook](guestbook/) | PHP app with Redis | Deployment, Service | Beginner |
17+
|[Guestbook-Go](guestbook-go/) | Go app with Redis | Deployment, Service | Beginner |
1718
|[WordPress](mysql-wordpress-pd/) | WordPress with MySQL | Deployment, Persistent Volume with Claim | Beginner|
1819
|[Cassandra](cassandra/) | Cloud Native Cassandra | Daemon Set, Stateful Set, Replication Controller | Intermediate
1920

guestbook-go/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Use the `examples/guestbook-go/redis-master-controller.json` file to create a [r
3030

3131
```console
3232
$ kubectl create -f examples/guestbook-go/redis-master-controller.json
33-
replicationcontrollers/redis-master
33+
3434
```
3535

3636
2. To verify that the redis-master controller is up, list the replication controllers you created in the cluster with the `kubectl get rc` command(if you don't specify a `--namespace`, the `default` namespace will be used. The same below):
@@ -77,7 +77,7 @@ Services find the pods to load balance based on pod labels. The pod that you cre
7777

7878
```console
7979
$ kubectl create -f examples/guestbook-go/redis-master-service.json
80-
services/redis-master
80+
8181
```
8282

8383
2. To verify that the redis-master service is up, list the services you created in the cluster with the `kubectl get services` command:
@@ -100,7 +100,7 @@ The Redis master we created earlier is a single pod (REPLICAS = 1), while the Re
100100

101101
```console
102102
$ kubectl create -f examples/guestbook-go/redis-slave-controller.json
103-
replicationcontrollers/redis-slave
103+
104104
```
105105

106106
2. To verify that the redis-slave controller is running, run the `kubectl get rc` command:
@@ -143,7 +143,7 @@ Just like the master, we want to have a service to proxy connections to the read
143143

144144
```console
145145
$ kubectl create -f examples/guestbook-go/redis-slave-service.json
146-
services/redis-slave
146+
147147
```
148148

149149
2. To verify that the redis-slave service is up, list the services you created in the cluster with the `kubectl get services` command:
@@ -168,7 +168,7 @@ This is a simple Go `net/http` ([negroni](https://github.com/codegangsta/negroni
168168

169169
```console
170170
$ kubectl create -f examples/guestbook-go/guestbook-controller.json
171-
replicationcontrollers/guestbook
171+
172172
```
173173

174174
Tip: If you want to modify the guestbook code open the `_src` of this example and read the README.md and the Makefile. If you have pushed your custom image be sure to update the `image` accordingly in the guestbook-controller.json.

0 commit comments

Comments
 (0)