k3s/examples/guestbook-go/_src
Karl Isenberg 11b3fb3bdc Make guestbook-go url paths relative to survive multiple proxies 2015-07-22 15:20:22 -07:00
..
guestbook Fix some paths in the Dockerfiles. 2014-09-23 20:58:08 +00:00
public Make guestbook-go url paths relative to survive multiple proxies 2015-07-22 15:20:22 -07:00
script Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
Dockerfile examples/guestbook-go: build from source and remove bin/docker dep 2014-09-25 16:34:20 -07:00
README.md Run gendocs 2015-07-17 15:35:43 -07:00
main.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00

README.md

WARNING WARNING WARNING WARNING WARNING

PLEASE NOTE: This document applies to the HEAD of the source tree

If you are using a released version of Kubernetes, you should refer to the docs that go with that version.

The latest 1.0.x release of this document can be found [here](http://releases.k8s.io/release-1.0/examples/guestbook-go/_src/README.md).

Documentation for other releases can be found at releases.k8s.io.

Building and releasing Guestbook Image

This process employs building two docker images, one compiles the source and the other hosts the compiled binaries.

Releasing the image requires that you have access to the docker registry user account which will host the image.

To build and release the guestbook image:

cd examples/guestbook-go/_src
./script/release.sh

Step by step

If you may want to, you can build and push the image step by step.

Start fresh before building
./script/clean.sh 2> /dev/null
Build

Builds a docker image that builds the app and packages it into a minimal docker image

./script/build.sh
Push

Accepts an optional tag (defaults to "latest")

./script/push.sh [TAG]
Clean up
./script/clean.sh

Analytics