Commit Graph

155 Commits

Author SHA1 Message Date
David McMahon b222f28cb9 Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
David McMahon f05b9a47e9 Updated docs and examples for release-1.3. 2016-06-13 12:24:34 -07:00
Dawn Chen 0cba8b9eae Revert "Versioning docs and examples for v1.4.0-alpha.0."
This reverts commit cce9db3aa9555671c5ddf69549b46ed0fd7e472a.
2016-06-10 16:46:46 -07:00
David McMahon b1e6c67b24 Versioning docs and examples for v1.4.0-alpha.0. 2016-06-10 14:55:35 -07:00
Amy Unruh d9eec9ea25 update to use gb-frontend:v4. New image includes the change in PR # 23381. 2016-04-12 09:47:38 -07:00
k8s-merge-robot 78ab8ad4b6 Merge pull request #23381 from kinvolk/alban/apache-log
Automatic merge from submit-queue

examples/guestbook/php-redis: don't reopen stdio fds

/etc/apache2/apache2.conf was configured to log in this way:
> ErrorLog /proc/self/fd/2
> CustomLog /proc/self/fd/1 combined

This causes apache to reopen the already-opened fds. It works fine when
the file descriptors are pipes or ttys but it fails when they are Unix
sockets because sockets cannot be opened with the open() syscall. The
issue happens when apache is connected to systemd-journald, like in the
rkt container run-time.

This patch uses "cat" to directly write to the stdio fds without
reopening them. apache2.conf now looks like:
> ErrorLog "|$/bin/cat 1>&2"
> CustomLog "|/bin/cat" combined

It works both with Docker and rkt (tested with and without
--interactive).

Symptoms:
> [ 2673.478868] apache2-foreground[4]: (6)No such device or address:
> AH00091: apache2: could not open error log file /proc/self/fd/2.

See also: https://github.com/coreos/rkt/issues/2300

-----

/cc @sjpotter @yifan-gu @jonboulle
2016-04-11 16:58:23 -07:00
Janet Kuo 599369872e Update guestbook examples; replace RC concepts with Deployment 2016-03-30 14:16:52 -07:00
Alban Crequy 604f8889f5 examples/guestbook/php-redis: don't reopen stdio fds
/etc/apache2/apache2.conf was configured to log in this way:
> ErrorLog /proc/self/fd/2
> CustomLog /proc/self/fd/1 combined

This causes apache to reopen the already-opened fds. It works fine when
the file descriptors are pipes or ttys but it fails when they are Unix
sockets because sockets cannot be opened with the open() syscall. The
issue happens when apache is connected to systemd-journald, like in the
rkt container run-time.

This patch uses "cat" to directly write to the stdio fds without
reopening them. apache2.conf now looks like:
> ErrorLog "|$/bin/cat 1>&2"
> CustomLog "|/bin/cat" combined

It works both with Docker and rkt (tested with and without
--interactive).

Symptoms:
> [ 2673.478868] apache2-foreground[4]: (6)No such device or address:
> AH00091: apache2: could not open error log file /proc/self/fd/2.

See also: https://github.com/coreos/rkt/issues/2300
2016-03-23 16:01:34 +01:00
David McMahon 74811d373b Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
Erick Fejta 081191c990 Use redis from gcr.io and e2e tag 2016-03-05 20:37:44 -08:00
Amy Unruh 28190822dd Update guestbook frontend php script suggested in issue #18640.
(Created new GCR image version with the changes).
2016-02-16 11:05:51 -08:00
Paul Morie ba54aa4a61 Add boilerplate checks for Dockerfiles 2016-02-03 18:35:26 -05:00
k8s-merge-robot a895684167 Merge pull request #17932 from GertiPoppel/DocContribution
Auto commit by PR queue bot
2016-01-19 17:15:33 -08:00
Chao Xu 533747fa0f run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
Amy Unruh 3d7803157a config best practices doc edits 2015-12-16 07:35:31 -08:00
Gerti Poppel d7e3392688 auto update 2015-12-01 16:49:46 +01:00
Gerti Poppel f5f0b2b86a fixed some typos and formatting 2015-12-01 16:46:21 +01:00
Corey Farwell 0dcfb0205e Fix typo in guestbook README 2015-11-18 11:25:21 -05:00
Tim Hockin 34577ed6aa Run update-gendocs 2015-11-13 13:57:57 -08:00
Zichang Lin 407a606117 Update guestbook example according to config best practices 2015-11-07 14:39:32 +08:00
hurf ebe5bd5270 Remove trace of "kubectl stop"
Remove doc and use of "kubectl stop" since it's deprecated.
2015-10-30 14:12:20 +08:00
Zichang Lin 20fc82b523 Fix document link 2015-09-23 10:17:05 +08:00
eulerzgy 734f6af47c fix document 2015-09-12 22:49:13 +08:00
k8s-merge-robot 9031da0acd Merge pull request #13758 from amygdala/gb2
Auto commit by PR queue bot
2015-09-09 17:03:04 -07:00
Chao Xu f8a1778403 Merge pull request #13652 from clasohm/example_download_links_raw
add raw flag for GitHub download links
2015-09-09 16:19:14 -07:00
Amy Unruh 01c0f3f913 Update the frontend image to a version that uses relative URLs.
Update image names in the README.
2015-09-09 13:20:48 -07:00
Carsten Clasohm 59555f860e add raw flag for GitHub download links 2015-09-07 17:43:09 -07:00
Amy Unruh d24dc3bd95 Use GCR images from 'google-samples' project; allow switch on whether dns service is
supported, or to use env vars to get service host info.

Test change to reflect php filename change.
2015-09-03 19:14:24 -07:00
Dr. Stefan Schimanski f8e6c6f16d Switch to gcr.io Docker registry 2015-08-17 09:43:52 +02:00
Dr. Stefan Schimanski 4d1a514c50 Convert guestbook example to relative urls 2015-08-17 09:43:51 +02:00
Brendan Burns c7394c0939 Fix the service printer to be a single line per service 2015-08-10 10:57:45 -07:00
Eric Paris b8989be240 Make munger begin/end less generic
Just force the beginMungeTag() endMungeTag() macros on users, by hiding
it under the covers. It really simplies things for users.
2015-07-30 20:41:30 -04:00
Janet Kuo 9c01325ab1 Use example syncer tags instead of hard-coded examples in doc 2015-07-27 14:48:41 -07:00
Vish Kannan 905bda2136 Merge pull request #11076 from nikhiljindal/apiError
Updating apiserver to not return 500 when a service without pods is proxied
2015-07-23 18:03:07 -07:00
Satnam Singh 302154cf8b Convert shell to console outpout for Guestbook example documentation 2015-07-18 23:03:55 +01:00
Tim Hockin d504a77b74 Run gendocs 2015-07-17 15:35:43 -07:00
Daniel Smith d2a40718e6 apply changes 2015-07-17 11:04:46 -07:00
Tim Hockin f653a8f0c4 Better scary message 2015-07-17 09:28:49 -07:00
Brian Grant 6bc6f66dfa Merge pull request #11400 from lavalamp/munger
Add absolute path link checking to munger
2015-07-16 22:50:14 -07:00
Daniel Smith 53f85f8e5d (mostly) auto fixed links 2015-07-16 16:28:18 -07:00
Tim Hockin 9a16ed9c01 Add munger to verify kubectl -f targets, fix docs 2015-07-16 15:39:45 -07:00
nikhiljindal 8d54f12602 Updating an error to apierror 2015-07-15 16:43:59 -07:00
Tim Hockin 8d25501cdf Run gendocs 2015-07-14 17:28:47 -07:00
Tim Hockin 71fcd5bfe1 Run gendocs 2015-07-14 15:28:59 -07:00
Mike Danese 945b5fd98b automated link fixes 2015-07-14 10:51:10 -07:00
Daniel Smith 5d3ad2236f Apply mungedocs changes 2015-07-13 17:48:40 -07:00
Chao Xu 5a3d5859fc replace REASON column with STATUS in kubectl output in examples/ 2015-07-07 13:46:50 -07:00
RichieEscarez 0c988f55fd Replaced (or defined first instance of) GKE/GCE with Google Container Engine/Google Compute Engine
Fixes #10354
2015-06-26 13:30:41 -07:00
Amy Unruh 022e6df874 Improvements to the guestbook example README that also address a number of open issues; switch to .yaml config files. 2015-06-22 08:48:49 -07:00
goltermann 27591f631d Update cleanup step to use kubectl labels. 2015-06-11 13:29:00 -07:00