examples/guestbook-go: add guestbook service creation step

In the README, create the guestbook service so the guestbook server is
reachable from outside Kubernetes.
I'll take a look at this before committing 1402.

On Tue, Oct 14, 2014 at 10:52 AM, Daniel Smith <notifications@github.com>
wrote:

> In examples/guestbook-go/README.md:
>
> > +### Step Six: Create the guestbook service.
> > +
> > +Just like for redis, we want to have a service to proxy connections to the guestboook. The service specification for the guestbook is in `examples/guestbook-go/guestbook-service.json`
> > +
> > +This time the selector for the service is `name=guestbook`. As for the port, we decide to export the internal `http-server` port to port `3000`.
> > +
> > +Now that you have created the service specification, create it in your cluster with the `kubecfg` CLI:
> > +
> > +```shell
> > +$ cluster/kubecfg.sh -c examples/guestbook-go/guestbook-service.json create services
> > +  ID         Labels            Selector               Port
> > +----------   ----------        ----------             ----------
> > +guestbook                      name=guestbook         3000
> > +```
> > +
> > +To play with the service itself, grab the external IP of any Kubernetes host from the [Google Cloud Console][cloud-console] or the `gcutil` tool, and visit `http://<host-ip>:3000`.
>
> I believe this is going to be inaccurate once services v2 lands? @thockin
> <https://github.com/thockin>
>
> One thing that will work--though we may not wish to explain this on our
> basic introductory material--is to visit https://
> <master-ip>/api/v1beta1/proxy/services/guestbook-- this will proxy
> traffic over the service. 'redirect' can be used in place of proxy, but
> whether the IP it returns will work depends on your network setup.
>
> --
> Reply to this email directly or view it on GitHub
> <https://github.com/GoogleCloudPlatform/kubernetes/pull/1774/files#r18845732>
> .
>