Commit Graph

21 Commits (a0cb252d400ecca8168055754225256085fe2a1a)

Author SHA1 Message Date
Justin Santa Barbara c6f32d5a15 Stop both replication controllers in update-demo
The update test may have failed, and if we leave an RC around it
causes subsequent tests to fail
2015-02-11 12:54:18 -05:00
Brendan Burns 9f5ca3f6ac Fix update.sh 2015-01-28 20:00:47 -08:00
Jeff Lowdermlk c912b831ce Update update-demo example and e2e test to use kubectl 2015-01-28 15:26:56 -08:00
Jeff Lowdermlk 3e3f802f2b Fix update-demo to work correctly with a web browser.
The built in go http.Fileserver handles If-Modified-Since in the
header by comparing it with the last modified date on the
file/directory. Since the file is unaltered when we switch to a
new container, that results in 304s when trying to fetch data.json, so
the browser doesn't fetch the new picture after doing a rolling update.

Separate issue, the Dockerfile ADD command was being interpreted as
`copy html/data.json into a directory called 'html/kitten.jpg '`,
instead of the `copy these 2 files into root`. Changed to separate
commands using COPY, per recommended dockerfile practices.
2014-12-10 12:34:19 -08:00
Joe Beda 6ba07b38fc Convert gcutil to gcloud compute 2014-11-25 15:17:00 -08:00
David Oppenheimer 3d69351924 Change update example to use a trivial webserver instead of nginx (issue #1803). 2014-11-12 15:13:11 -08:00
davidopp 6a736901ca Revert "Change update example to use a trivial webserver instead of nginx (issue..." 2014-11-11 23:03:23 -08:00
David Oppenheimer 03ae4b54a3 Change update example to use a trivial webserver instead of nginx (issue #1803). 2014-11-11 22:16:18 -08:00
Tim Hockin e12ae4cdcd Fix update demo 2014-10-17 10:32:22 -07:00
Atish dc51231a89 Added missing .sh extension 2014-10-15 17:12:03 -04:00
Vishnu Kannan ecd45031b8 Fix update demo. 2014-10-07 08:03:42 +00:00
Joe Beda 590e4cbbb9 Tweak instructions for update demo 2014-09-22 13:20:10 -07:00
Max Forbes bd196ea49c Fix some readme and script bugs in examples (take 2).
v2: Resolve issues from comments, fix bugs in update-demo example, rename files for clarity, add turn-down steps.

v3: Add more set commands, clean up rest of env var checks.
2014-09-11 15:06:10 -07:00
Joe Beda 769d3ad882 Revert "Fix some readme and script bugs in examples."
This reverts commit 42baed492b.
2014-09-10 13:42:19 -07:00
Max Forbes 42baed492b Fix some readme and script bugs in examples. 2014-09-10 13:34:36 -07:00
Joe Beda ce34eacd2c Fix up e2e test for update demo.
Use the scripts that are in the example directory.  Also actually run the update as part of the test.
2014-09-04 13:25:39 -07:00
Joe Beda f8e2f927f6 Pretty up the demo a little.
Use images and some better formatting.  Also add scripts to help prevent typos.

This based on an improved version done by Julia Ferraioli.  She came up with the cool images.
2014-09-04 13:25:39 -07:00
Brendan Burns 854b9e14bd Augment the update example to turn black if the server is not responding. 2014-07-24 21:46:35 -07:00
Julia Ferraioli 7925cce67c adding firewall instructions to the README 2014-07-14 15:24:50 -07:00
Takeshi Hagikura f92cc6a948 Replace the outdated cloudcfg.sh to kubecfg.sh
Replaces the outdated cloudcfg.sh to kubecfg.sh in the dynamic update demo.
2014-07-02 07:35:08 +09:00
Brendan Burns 23c971605e Initial add of cloud-demo 2014-06-26 18:52:08 -07:00