Commit Graph

21 Commits

Author SHA1 Message Date
Justin Santa Barbara c2c45f8fc6 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 b601d3ce39 Fix update.sh 2015-01-28 20:00:47 -08:00
Jeff Lowdermlk f0f2d2c147 Update update-demo example and e2e test to use kubectl 2015-01-28 15:26:56 -08:00
Jeff Lowdermlk 85bea35190 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 00b05e7276 Convert gcutil to gcloud compute 2014-11-25 15:17:00 -08:00
David Oppenheimer 651f70bca5 Change update example to use a trivial webserver instead of nginx (issue #1803). 2014-11-12 15:13:11 -08:00
davidopp 9bf3932b8a Revert "Change update example to use a trivial webserver instead of nginx (issue..." 2014-11-11 23:03:23 -08:00
David Oppenheimer 95b7ba3419 Change update example to use a trivial webserver instead of nginx (issue #1803). 2014-11-11 22:16:18 -08:00
Tim Hockin b421994785 Fix update demo 2014-10-17 10:32:22 -07:00
Atish c4bbb706e2 Added missing .sh extension 2014-10-15 17:12:03 -04:00
Vishnu Kannan 327d486941 Fix update demo. 2014-10-07 08:03:42 +00:00
Joe Beda 3fe21e9873 Tweak instructions for update demo 2014-09-22 13:20:10 -07:00
Max Forbes 3b9e9387cf 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 bfac5dd64c Revert "Fix some readme and script bugs in examples."
This reverts commit 42baed492b92769b469e1b3c470183990fe78b16.
2014-09-10 13:42:19 -07:00
Max Forbes 5a9b7bcff5 Fix some readme and script bugs in examples. 2014-09-10 13:34:36 -07:00
Joe Beda 354ee3666c 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 da34be94bf 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 19cbf37f5e Augment the update example to turn black if the server is not responding. 2014-07-24 21:46:35 -07:00
Julia Ferraioli 94a376b0ad adding firewall instructions to the README 2014-07-14 15:24:50 -07:00
Takeshi Hagikura 7b95fbf28a 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 724fb74023 Initial add of cloud-demo 2014-06-26 18:52:08 -07:00