Commit Graph

1133 Commits (b2b738eed31bdf72d3cc4c14176d1b37265f93e4)

Author SHA1 Message Date
Chao Xu 08fc35018a Client-gen: handle dotted package name 2016-04-14 10:04:58 -07:00
k8s-merge-robot 429228d403 Merge pull request #23953 from nikhiljindal/u8sServer
Automatic merge from submit-queue

moving genericapiserver command line flags to genericapiserver

cc @kubernetes/sig-api-machinery
2016-04-13 23:15:24 -07:00
goltermann a3104ba96c Final vet fixes; enabling vet checks in verify scripts. 2016-04-13 13:51:51 -07:00
nikhiljindal 8d7a8c6ae6 moving genericapiserver command line flags to genericapiserver 2016-04-13 13:28:18 -07:00
k8s-merge-robot f5e8e7453b Merge pull request #23806 from smarterclayton/streaming_watch
Automatic merge from submit-queue

Implement a streaming serializer for watch

Changeover watch to use streaming serialization. Properly version the
watch objects. Implement simple framing for JSON and Protobuf (but not
YAML).

@wojtek-t @lavalamp
2016-04-13 05:18:17 -07:00
k8s-merge-robot 31de62216d 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
Clayton Coleman 3474911736 Implement a streaming serializer for watch
Changeover watch to use streaming serialization. Properly version the
watch objects. Implement simple framing for JSON and Protobuf (but not
YAML).
2016-04-11 11:22:05 -04:00
Janet Kuo c1596e6711 Update guestbook examples; replace RC concepts with Deployment 2016-03-30 14:16:52 -07:00
Dawn Chen c47f74a470 Merge pull request #23348 from pwittrock/docs
Update docs to reflect `kubectl run` creates deployments by default i…
2016-03-28 17:03:47 -07:00
Phillip Wittrock 4d2f3c1c17 Update docs to reflect `kubectl run` creates deployments by default instead of replicatino controllers. 2016-03-28 16:25:02 -07:00
k8s-merge-robot 08e9ef0ef9 Merge pull request #22195 from jeffmendoza/wordpress-update
Auto commit by PR queue bot
2016-03-25 14:14:44 -07:00
Jeff Mendoza fb601cd1e2 WordPress example major update.
Rewrite the WordPress example to use deployments, persistent volume
claims, and update the sample flow to the latest guidelines.
2016-03-25 11:40:35 -07:00
Matthias Luebken 024918d819 Merge branch 'master' into fix-guestbook-go-build 2016-03-24 13:37:16 +01:00
Alban Crequy f6f013b992 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
k8s-merge-robot 6147ef87d8 Merge pull request #22263 from runseb/22121
Auto commit by PR queue bot
2016-03-21 18:06:37 -07:00
k8s-merge-robot 6f2729f0dc Merge pull request #23132 from jeffmendoza/update-exmaple-guidelines
Auto commit by PR queue bot
2016-03-21 17:30:24 -07:00
Matthias Luebken 95cee0db17 * updated console output to reflect actual output
* added a tip how to build your own image
2016-03-21 22:23:53 +01:00
Matthias Luebken cc91f129a0 pinned version 2016-03-21 22:22:41 +01:00
k8s-merge-robot 4b1b291a9f Merge pull request #22905 from gambol99/cephfs_path_example
Auto commit by PR queue bot
2016-03-21 12:46:26 -07:00
k8s-merge-robot 63608235d6 Merge pull request #22153 from idvoretskyi/patch-8
Auto commit by PR queue bot
2016-03-21 12:11:12 -07:00
Jeff Mendoza b865784264 Add rule about kubectl to example guidelines doc. 2016-03-17 10:09:45 -07:00
Nick Stogner caf2ebb208 fix incorrect db label
The rethinkdb example driver-service was incorrectly labeled as db:
`influxdb`
2016-03-16 12:09:43 -04:00
k8s-merge-robot 4b7e74ceeb Merge pull request #22898 from nikhiljindal/apiserverexampleport
Auto commit by PR queue bot
2016-03-15 08:46:59 -07:00
Matthias Luebken 1531700f42 using registry and image name as specified in _src/Makefile 2016-03-15 10:18:28 +01:00
Matthias Luebken 771354f14a replacing the shell scripts with a Makefile 2016-03-15 09:49:50 +01:00
Rohith 395e83c549 - updating the cephfs example, most people, myself include skip the readme and jump to the code
- add the path attribute to the example
2016-03-12 16:51:32 +00:00
k8s-merge-robot c9250bba2a Merge pull request #21899 from zmerlynn/update-spark
Auto commit by PR queue bot
2016-03-12 07:25:17 -08:00
nikhiljindal df89b2d2fc Change the port for apiserver example 2016-03-12 00:12:53 -08:00
Brian Grant 532ba5a3c6 Merge pull request #21535 from AdoHe/restore_secure_etcd
restore ability to run against secured etcd
2016-03-11 12:14:06 -08:00
AdoHe 7228b9b987 restore ability to run against secured etcd 2016-03-11 11:21:16 -05:00
k8s-merge-robot b33ff00b16 Merge pull request #22691 from mkulke/fix-mysql-cinder-example
Auto commit by PR queue bot
2016-03-10 09:36:16 -08:00
runseb 66008ff419 Clarify examples/kubectl-container 2016-03-10 17:49:19 +01:00
David McMahon dae84f5306 Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
Magnus Kulke 5b77064cc3 Added ignore-db-dir arg. 2016-03-08 09:58:12 +01:00
Magnus Kulke 8d4a31b02e Trailing ws. 2016-03-08 09:56:58 +01:00
k8s-merge-robot fea6b0d50c Merge pull request #22608 from fejta/redis
Auto commit by PR queue bot
2016-03-06 17:32:20 -08:00
Brian Grant 8098504ef9 Merge pull request #21645 from amygdala/cassandra
Cassandra example: daemonset volume fix, readme cleanup, update to new gcr image
2016-03-06 16:20:21 -08:00
Erick Fejta 6a657e0bc2 Use redis from gcr.io and e2e tag 2016-03-05 20:37:44 -08:00
Zach Loafman 6e2e7bd3b6 Bump Spark / Zeppelin to 1.5.2 / 0.5.6 tags
From https://github.com/kubernetes/application-images/pull/5
2016-03-04 13:26:05 -08:00
k8s-merge-robot 80e201f74b Merge pull request #21717 from jeffmendoza/sample-guidelines
Auto commit by PR queue bot
2016-03-03 13:18:29 -08:00
Jeff Mendoza d303112875 Update exmaple README, and add guidelines.md to examples. 2016-03-03 09:20:50 -08:00
k8s-merge-robot d81d823ca5 Merge pull request #22393 from eparis/blunderbuss
Auto commit by PR queue bot
2016-03-02 18:51:56 -08:00
Eric Paris 5e5a823294 Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
k8s-merge-robot d5a4915cf3 Merge pull request #22036 from timstclair/docs
Auto commit by PR queue bot
2016-03-01 11:46:33 -08:00
Amy Unruh 04a585458c Cassandra example: daemonset volume fix, readme cleanup, update to new gcr
image consistent with the code base.
Change the label on the daemonset to 'app'.
2016-03-01 08:58:42 -08:00
Ihor Dvoretskyi ec0ec74e51 Docker Ceph link updated 2016-02-28 12:55:38 -08:00
Fabio Yeon 09dd0f1809 Merge pull request #21639 from jayunit100/cassandra-example-fix
Fix broken cassandra test: Up to date containers + RC of 2 nodes with…
2016-02-26 15:48:02 -08:00
Fabio Yeon 1065f4f932 Merge pull request #21621 from jayunit100/k8bps-defaultns
[examples] k8petstore: connection timeouts + allow blips.
2016-02-26 15:47:00 -08:00
Tim St. Clair 198c120036 Detect & fix backwards markdown links (of the form (foo)[bar]) 2016-02-26 13:24:21 -08:00
Eric Tune 095a85e76e Update docs and examples to batch/v1 Job
Documented manualSelector field.

Documented that you do not need to provide a selector
or unique labels with batch/v1 Job.

Updated all Job examples to apiVersion: batch/v1

Updated all Job examples to use generated selectors.
2016-02-25 09:28:07 -08:00