Skip to content

Commit

Permalink
Merge pull request kubernetes#248 from HuiWang0025/patch-3
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
k8s-ci-robot authored Jul 7, 2018
2 parents 4a199c0 + d90efa9 commit 0227266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guestbook-go/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Tip: It is helpful to set labels on your services themselves--as we've done here

### Step Five: Create the guestbook pods <a id="step-five"></a>

This is a simple Go `net/http` ([negroni](https://github.com/codegangsta/negroni) based) server that is configured to talk to either the slave or master services depending on whether the request is a read or a write. The pods we are creating expose a simple JSON interface and serves a jQuery-Ajax based UI. Like the Redis read slaves, these pods are also managed by a replication controller.
This is a simple Go `net/http` ([negroni](https://github.com/codegangsta/negroni) based) server that is configured to talk to either the slave or master services depending on whether the request is a read or a write. The pods we are creating expose a simple JSON interface and serves a jQuery-Ajax based UI. Like the Redis slave pods, these pods are also managed by a replication controller.

1. Use the [guestbook-controller.json](guestbook-controller.json) file to create the guestbook replication controller by running the `kubectl create -f` *`filename`* command:

Expand Down

0 comments on commit 0227266

Please sign in to comment.