Commit Graph

1631 Commits

Author SHA1 Message Date
Maciej Szulik f8fc5437f7 Move internal types of job from pkg/apis/extensions to pkg/apis/batch 2016-04-25 11:03:54 +02:00
k8s-merge-robot 093fbd61d3 Merge pull request #24296 from chrislovecnm/cassandra-seed-provider-docs
Automatic merge from submit-queue

Intial draft on SeedProvider docs

Alsa more documentation.  We need to reference the config section in the example docs.  There are multiple PRs open in those docs, so at this point I do not want to make a mess.

Let me know if there are docs standard template that will make this more pretty.
2016-04-22 22:26:10 -07:00
k8s-merge-robot ca6b7fdd21 Merge pull request #24138 from amygdala/gbrkt
Automatic merge from submit-queue

update gb-frontend image. New image includes the change in PR # 23381.

Update to use the gcr.io/google-samples/gb-frontend:v4 image. New image includes the change in https://github.com/kubernetes/kubernetes/pull/23381.
2016-04-22 14:18:05 -07:00
Clayton Coleman 51e5cc2b6e Handle streaming serializers more consistently
Add tests to watch behavior in both protocols (http and websocket)
against all 3 media types. Adopt the
`application/vnd.kubernetes.protobuf;stream=watch` media type for the
content that comes back from a watch call so that it can be
distinguished from a Status result.
2016-04-22 11:07:24 -04:00
k8s-merge-robot 22a7e8665b Merge pull request #21304 from tobad357/iscsi-mpio-support
Automatic merge from submit-queue

Add mpio support for iscsi

This allows the iscsi volume to check if a iscsi device belongs to a mpio device
If it does belong to the device then we make sure we mount the mpio device instead of
the raw device. 
The code is based on the current FibreChannel volume support for mpio

example
/dev/disk/by-path/iqn-example.com.2999 -> /dev/sde
Then we check
/sys/block/[dm-X]/slaves/xx
until we find the [dm-X] containing /dev/sde and mount it

Additional work that can be done in future
1. Add multiple portal support to iscsi
2. Move the FibreChannel volume provider to use the code that has been extracted
2016-04-21 15:40:50 -07:00
deads2k cdcda3cc3c make storage enablement, serialization, and location orthogonal 2016-04-21 08:18:55 -04:00
tobad357 e9a53d922d This is an update that allows the iscsi volume to check if a iscsi device belongs to a mpio device
If it does belong to the device then we make sure we mount the mpio device instead of
the raw device.

Heuristics
Login into /dev/disk/by-path/iqn-example.com.2999 -> /dev/sde
Check if sde existsin in /sys/block/[dm-X]/slaves/xx
If it does mount /dev/[dm-x] which will look like /dev/mapper/mpiodevicename in mount

examples/iscsi has more details
2016-04-20 09:42:11 +08:00
Chris Love a8c39a3a51 ran hack/update-generated-docs.sh like I should 2016-04-19 14:13:36 -06:00
nikhiljindal 3a6ba8a6c2 Moving more logic to genericapiserver 2016-04-19 00:03:28 -07:00
Klaus Ma cb3a53c090 Added namespace to Spark example. 2016-04-19 00:34:47 +08:00
k8s-merge-robot 8c3043d268 Merge pull request #23862 from nelcy/flexsecrets
Automatic merge from submit-queue

Flexvolume: Add support for multiple secrets

This PR adds support to pass multiple secrets for flexvolume plugins.

To allow multiple secrets, secrets are now passed as:
"kubernetes.io/secret/id-rsa":"value-2\r\n\r\n","kubernetes.io/secret/id-rsa.pub":"value-1\r\n"
2016-04-16 16:32:48 -07:00
k8s-merge-robot 21f34dc351 Merge pull request #22810 from amygdala/cassandra2
Automatic merge from submit-queue

phase 2 of cassandra example overhaul

Here's the next iteration in overhauling this example, towards https://github.com/kubernetes/kubernetes/issues/20961.  This removes the pod adoption part, but doesn't (yet) otherwise change any of the resources used.

It also includes some README cleanup, and removes some explicit specification of labels in the rc yaml.

This PR doesn't yet add any commentary on how we're using the seed provider (re: https://github.com/kubernetes/kubernetes/issues/20961#issuecomment-190405959 etc.).  Maybe we should add that.

Also: LMK if this PR should include any changes to the links out to the docs.

cc @bgrant0607 @johndmulhausen
2016-04-15 15:41:01 -07:00
Chakravarthy Nelluri cc90d7147e Flexvolume: Add support for multiple secrets 2016-04-15 02:40:38 -07:00
Amy Unruh 7314f9f7a0 phase 2 of cassandra example overhaul 2016-04-14 21:55:23 -07:00
chrislovecnm 153304cff4 Intial draft on SeedProvider docs 2016-04-14 17:12:38 -06:00
Chao Xu ee39f26808 Client-gen: handle dotted package name 2016-04-14 10:04:58 -07:00
k8s-merge-robot d9470bd08a 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 c9b81ab312 Final vet fixes; enabling vet checks in verify scripts. 2016-04-13 13:51:51 -07:00
nikhiljindal 2e712473aa moving genericapiserver command line flags to genericapiserver 2016-04-13 13:28:18 -07:00
k8s-merge-robot 341837d67d 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
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
Clayton Coleman 8859f12c26 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
Huamin Chen 6bf084d2d8 better NFS example doc
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-04-06 17:21:03 +00:00
Janet Kuo 599369872e Update guestbook examples; replace RC concepts with Deployment 2016-03-30 14:16:52 -07:00
Dawn Chen 0aebd64b23 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 d9391c60f5 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 d043ad0486 Merge pull request #22195 from jeffmendoza/wordpress-update
Auto commit by PR queue bot
2016-03-25 14:14:44 -07:00
Jeff Mendoza ca846d7f2a 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 4c0532ddcb Merge branch 'master' into fix-guestbook-go-build 2016-03-24 13:37:16 +01: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
k8s-merge-robot 0ca6f76b73 Merge pull request #22263 from runseb/22121
Auto commit by PR queue bot
2016-03-21 18:06:37 -07:00
k8s-merge-robot ecf74f403a 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 367781f48a * 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 f4132a7ff4 pinned version 2016-03-21 22:22:41 +01:00
k8s-merge-robot 13b7739239 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 7550672c67 Merge pull request #22153 from idvoretskyi/patch-8
Auto commit by PR queue bot
2016-03-21 12:11:12 -07:00
Jeff Mendoza d438e20d43 Add rule about kubectl to example guidelines doc. 2016-03-17 10:09:45 -07:00
Nick Stogner 80753beaca 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 4f246cda28 Merge pull request #22898 from nikhiljindal/apiserverexampleport
Auto commit by PR queue bot
2016-03-15 08:46:59 -07:00
Matthias Luebken 90dc647a32 using registry and image name as specified in _src/Makefile 2016-03-15 10:18:28 +01:00
Matthias Luebken 01f4a33130 replacing the shell scripts with a Makefile 2016-03-15 09:49:50 +01:00
Rohith d6b525c467 - 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 8e99f7242b Merge pull request #21899 from zmerlynn/update-spark
Auto commit by PR queue bot
2016-03-12 07:25:17 -08:00
nikhiljindal 3801801edd Change the port for apiserver example 2016-03-12 00:12:53 -08:00
Brian Grant f58537d494 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 d96c632ee7 restore ability to run against secured etcd 2016-03-11 11:21:16 -05:00
k8s-merge-robot 52d7a1a547 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 99489b560f Clarify examples/kubectl-container 2016-03-10 17:49:19 +01:00
David McMahon 74811d373b Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00