Commit Graph

11 Commits (4b453fb3ed142eee597aff5e22ab1941943d2e18)

Author SHA1 Message Date
Tim Hockin 3586986416 Switch to k8s.gcr.io vanity domain
This is the 2nd attempt.  The previous was reverted while we figured out
the regional mirrors (oops).

New plan: k8s.gcr.io is a read-only facade that auto-detects your source
region (us, eu, or asia for now) and pulls from the closest.  To publish
an image, push k8s-staging.gcr.io and it will be synced to the regionals
automatically (similar to today).  For now the staging is an alias to
gcr.io/google_containers (the legacy URL).

When we move off of google-owned projects (working on it), then we just
do a one-time sync, and change the google-internal config, and nobody
outside should notice.

We can, in parallel, change the auto-sync into a manual sync - send a PR
to "promote" something from staging, and a bot activates it.  Nice and
visible, easy to keep track of.
2018-02-07 21:14:19 -08:00
Tim Hockin e9dd8a68f6 Revert k8s.gcr.io vanity domain
This reverts commit eba5b6092a.

Fixes https://github.com/kubernetes/kubernetes/issues/57526
2017-12-22 14:36:16 -08:00
Tim Hockin eba5b6092a Use k8s.gcr.io vanity domain for container images 2017-12-18 09:18:34 -08:00
Matthias Luebken 1531700f42 using registry and image name as specified in _src/Makefile 2016-03-15 10:18:28 +01:00
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
Piotr Szczesniak ff0316dd71 Rewrote guestbook-go example to use kube-dns
This is follow up of #5284.

I also built a new kubernetes/guestbook:v2 image.
2015-03-18 12:07:16 +01:00
Nalin Dahyabhai f49aee2507 Fixup JSON syntax errors in example controller 2015-01-15 12:13:34 -05: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