Commit Graph

5 Commits (fb340a4695f5d43107b81dfca3680225a0d3f554)

Author SHA1 Message Date
Satnam Singh 4d5eee828e Update guestbook-go example 2015-06-24 15:36:15 -07:00
Chao Xu d3d8a81871 update examples/guestbook-go to v1 2015-06-10 16:55:16 -07:00
Chao Xu 4a3ccabb12 update example/guestbook-go to v1beta3 2015-05-12 10:15:29 -07:00
Gurpartap Singh b7d1b1ac3c Updated guestbook based on suggestions in the pull request
Port of current guestbook's README.md

Fix guestbook pod and service names

Add go boilerplate

Use role label for redis pods

Give service.containerPort a name based value

This gives better env variable keys like REDIS_MASTER_SERVICE_REDIS_SERVER_ADDR, etc.

Avoid unnecessarily long names for service (esp in env vars)

Adding guestbook deploy/destroy scripts for k8s

These are probably only useful for quick testing. Maybe remove them
before merging the pull request.

Part of avoiding long names for services

Update Dockerfiles to git clone from Google's repo

Use correct service names while deleting them

Fix the script usage path.

K8s is not go gettable. Use git clone instead.

Using my fork in the Dockerfile to release and update to the docker hub
image.

Doesn't delete all pods if you remove controller too soon

Run the command in a shell to substitute env vars. Workaround for GoogleCloudPlatform/kubernetes#1309

GoogleCloudPlatform in lieu of my fork in Dckrfile

Some directory structure changes for guestbook src

README that explains the build process for source

Strip down the html and css to absolute essentials

Reformat JS according to Google's guidelines

Also added code to set random colors for elements.

Handle repetitive error checks using a common func

Also uses @roberthbailey’s stripped down code for reading env vars

infoString isn't really a string. Use info instead

Remove deploy.sh/destroy.sh scripts

Bind submit instead of keypress to capture submit

Add links to /env and /info in the footer

Reformat the JS

Incorporating suggestions by @filbranden

License boilerplate and some fixes to release.sh

Update README.md

Update README.md

Add building on boot2docker info to README

Accept docker bin path as a param for building

Use kubernetes user to host the image on registry

Don't get included in k8s's recursive build deps

https://github.com/GoogleCloudPlatform/kubernetes/pull/1299#discussion_r
17638061
2014-09-18 22:37:52 +05:30
Gurpartap Singh 13f79b00a0 Add Go guestbook's k8s config json files 2014-09-12 22:58:32 +05:30