Commit Graph

1660 Commits (fa729128971eb093167498343d91e0e46743807f)

Author SHA1 Message Date
Mulloy Morrow c86eb8dded fix proxy url
fix proxy url
2016-07-08 13:30:08 -07:00
Alex Robinson 3521a66dce Remove crufty blog post material that isn't actually an example. 2016-07-07 17:21:33 +00:00
Andrea Cosentino 5d9b21a77a Fixed a little typo in Cassandra example Readme 2016-07-07 17:03:31 +02:00
Janet Kuo 6a60f8e542 Moving kubernetes/redis:v1 image to gcr.io 2016-07-06 11:03:38 -07:00
David McMahon ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
Christian Koep 58be48349c
Fix elasticsearch example volume descriptors
This makes the elasticsearch example work with Kubernetes 1.1.x.
2016-06-27 17:39:55 +02:00
Brandon Philips 5c24f0313e examples/flexvolume: fix README link
nginx.yaml wasn't actually linked, fix this.
2016-06-24 14:20:45 -07:00
k8s-merge-robot 1fb8596636 Merge pull request #27033 from zefciu/lvm-fix
Automatic merge from submit-queue

Fixed an error in lvm bash script

The space in this script is an obvious typo and caused an error
(trying to call volume_id as command).
2016-06-24 13:56:55 -07:00
Janet Kuo 14d9863665 Fix broken redis example e2e tests 2016-06-21 11:50:26 -07:00
Janet Kuo 8dee2b4293 Fix broken spark example e2e test 2016-06-21 11:50:26 -07:00
David McMahon 2bff72b769 Updated docs and examples for release-1.3. 2016-06-13 12:24:34 -07:00
Dawn Chen 88de86fcb9 Revert "Versioning docs and examples for v1.4.0-alpha.0."
This reverts commit cce9db3aa9.
2016-06-10 16:46:46 -07:00
David McMahon cce9db3aa9 Versioning docs and examples for v1.4.0-alpha.0. 2016-06-10 14:55:35 -07:00
Szymon Pyżalski 6902faa74a Fixed an error in lvm bash script
The space in this script is an obvious typo and caused an error
(trying to call volume_id as command).
2016-06-08 11:55:23 +02:00
Manuel de Brito Fontes e1fb51436f Update redis example to use alpine:3.4 2016-06-02 21:39:54 -04:00
Girish Kalele 4c1047d359 Switch DNS addons from skydns to kubedns
Unified skydns templates using a simple underscore based template and
added transform sed scripts to transform into salt and sed yaml
templates

Moved all content out of cluster/addons/dns into build/kube-dns and
saltbase/salt/kube-dns
2016-05-31 10:14:14 -07:00
k8s-merge-robot a81ba704c5 Merge pull request #26022 from chrislovecnm/cassandra-image-bump
Automatic merge from submit-queue

fixing docker file, and bumping cassandra version

- had issue with current v9 build.  `cassandra.yaml` was not editable by the cassandra user, chown and chmod is now correct
- rebuild jar against 3.5 cassandra version and bumped C* version
2016-05-29 02:17:13 -07:00
k8s-merge-robot 04bdd37bc4 Merge pull request #25972 from luxas/remove_arch_constants
Automatic merge from submit-queue

Use pause image depending on the server's platform when testing

Removed all pause image constant strings, now the pause image is chosen by arch. Part of the effort of making e2e arch-agnostic.

The pause image name and version is also now only in two places, and it's documented to bump both
Also removed "amd64" constants in the code. Such constants should be replaced by `runtime.GOARCH` or by looking up the server platform

Fixes: #22876 and #15140
Makes it easier for: #25730
Related: #17981

This is for `v1.3`
@ixdy @thockin @vishh @kubernetes/sig-testing @andyzheng0831 @pensu
2016-05-28 04:48:59 -07:00
Alex Robinson 5773b64721 Merge pull request #22665 from rootfs/nfs-doc
better NFS example doc
2016-05-27 11:32:38 -07:00
Lucas Käldström 79ca1911e1 Removed all pause image constant strings, now the pause image is chosen by arch. Part of the effort of making e2e arch-agnostic 2016-05-26 19:16:43 +03:00
chrislovecnm 742b92a034 merge 2016-05-24 16:13:27 -06:00
chrislovecnm 33b8cbbbeb catching all Exceptions which allows for running outside of k8s easier 2016-05-24 16:11:33 -06:00
chrislovecnm 3b51d11329 more permission issues 2016-05-24 16:10:47 -06:00
chrislovecnm f587e906f4 fixing docker file, and bumping cassandra version 2016-05-21 12:42:47 -06:00
chrislovecnm 887a29c9ba fixing docker file, and bumping cassandra version 2016-05-21 12:41:19 -06:00
Huamin Chen 722911af0b update to latest gcr image
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-05-20 17:40:23 -04:00
k8s-merge-robot e851d749e4 Merge pull request #25583 from chrislovecnm/cassandra-image-bump
Automatic merge from submit-queue

Cassandra examples updating images to v9

- this is a version bump for the C* image
- I also increased the cpu to .5 because .1 is slow like warm death

Who can actually run the build to get the container to the examples repo?
2016-05-20 04:42:12 -07:00
k8s-merge-robot d89d45a861 Merge pull request #25266 from smarterclayton/common_storage
Automatic merge from submit-queue

kube-apiserver options should be decoupled from impls

A few months ago we refactored options to keep it independent of the
implementations, so that it could be used in CLI tools to validate
config or to generate config, without pulling in the full dependency
tree of the master.  This change restores that by separating
server_run_options.go back to its own package.

Also, options structs should never contain non-serializable types, which
storagebackend.Config was doing with runtime.Codec. Split the codec out.

Fix a typo on the name of the etcd2.go storage backend.

Finally, move DefaultStorageMediaType to server_run_options.

@nikhiljindal as per my comment in #24454, @liggitt because you and I
discussed this last time
2016-05-19 06:13:38 -07:00
chrislovecnm 98cafe64ac More updates to docker, including more env overrides. For example you can now set cluster name.
someone tell me if this is wrong, but I do not think "examples/cassandra/image/run.sh:    cluster_name \" should have been found
2016-05-18 17:03:46 -06:00
chrislovecnm aca07ebb6a added better logging and different type of exception handling when we do not have k8s 2016-05-18 17:00:53 -06:00
chrislovecnm 9a1ea5cf42 updating images to v9 2016-05-18 17:00:53 -06:00
Clayton Coleman 633683c08d
kube-apiserver options should be decoupled from impls
A few months ago we refactored options to keep it independent of the
implementations, so that it could be used in CLI tools to validate
config or to generate config, without pulling in the full dependency
tree of the master.  This change restores that by separating
server_run_options.go back to its own package.

Also, options structs should never contain non-serializable types, which
storagebackend.Config was doing with runtime.Codec. Split the codec out.

Fix a typo on the name of the etcd2.go storage backend.

Finally, move DefaultStorageMediaType to server_run_options.
2016-05-18 10:39:21 -04:00
Tim Hockin e16375e052 Revert "Update cassandra.list" 2016-05-17 20:09:34 -07:00
k8s-merge-robot 4f62152221 Merge pull request #25711 from bobintornado/patch-1
Automatic merge from submit-queue

Update cassandra.list

## Pull Request Guidelines

1. Please read our [contributor guidelines](https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md).
1. See our [developer guide](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md).
1. Follow the instructions for [labeling and writing a release note for this PR](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes) in the block below.

```release-note
* Use the release-note-* labels to set the release note state 
* Clear this block to use the PR title as the release note 
-OR-
* Enter your extended release note here
```


[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()

Upgrade cassandra version from 34x to 35x
2016-05-17 01:56:08 -07:00
k8s-merge-robot 576df2b300 Merge pull request #24564 from azell/newrelic-daemonset
Automatic merge from submit-queue

Newrelic daemonset

1. base64 on Mac does not support the **wrap** option. Easy to support on both Mac and Linux by using **tr** to remove the newline.
2. DaemonSet definition does not conform to latest schema:

> $ kubectl create -f ./newrelic-daemonset.yaml 
error validating "./newrelic-daemonset.yaml": error validating data: found invalid field privileged for v1.PodSecurityContext; if you choose to ignore these errors, turn validation off with --validate=false

<!-- Reviewable:start -->
---
This change is [<img src="http://reviewable.k8s.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/24564)
<!-- Reviewable:end -->
2016-05-17 01:55:55 -07:00
Adam Zell 45261f4462 The Mac version of base64 does not support the wrap option. Use tr to delete the trailing newline for Mac and Linux runs.
Move the security context tag under containers.

Run hack/update-generated-docs.sh
2016-05-17 00:14:58 -07:00
k8s-merge-robot e43ec4c445 Merge pull request #25665 from ursuad/patch-1
Automatic merge from submit-queue

Fixed namespace name to spark-cluster

Just changed the namespace from **default** to **spark-cluster** in the spark example docs.
2016-05-16 23:49:46 -07:00
Bob Cao 2c1149b09c Update cassandra.list
Upgrade cassandra version from 34x to 35x
2016-05-17 11:17:38 +08:00
Adrian Ursu ca24ee02aa Update README.md 2016-05-16 14:32:33 +01:00
Adrian Ursu a7b2c5783c Fixed namespace name to spark-cluster 2016-05-16 14:06:07 +01:00
Brandon Philips ff5a2a755f examples: guestbook-go: fix the redis-master version
The guestbook-go example is broken because the latest tag of redis has
moved to redis 3.0 which speaks a new protocol. This means that the
slaves, which have fixed 2.0 versions, will error out on the protocol:

```
[7] 15 May 23:37:44.403 # Can't handle RDB format version 7
[7] 15 May 23:37:44.403 # Failed trying to load the MASTER synchronization DB from disk
[7] 15 May 23:37:45.333 * Connecting to MASTER redis-master:6379
[7] 15 May 23:37:45.427 * MASTER <-> SLAVE sync started
```

In this case the app simply never persists data.

cc @luebken @Gurpartap
2016-05-15 18:46:27 -05:00
nikhiljindal 65c1dc8b84 Adding a discovery summarizer server 2016-05-13 13:52:23 -07:00
Huamin Chen 3411f4349d expose rpcbind service, so nfs client can use service IP to access NFS share
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-05-10 18:24:24 +00:00
Tim Hockin 7aff0f1486 Rename codecgen "testdata" dir so ugorji works
Go mistreats "testdata" and can't find vendor/ dirs.
2016-05-08 20:32:09 -07:00
Tim Hockin cbf886c7f4 Convert everything to use vendor/ 2016-05-08 20:30:37 -07:00
Robert Bailey 01c6b37422 Merge pull request #25054 from yujuhong/rm_tests
Remove redundant RC and service tests in integration.go
2016-05-06 15:05:32 -07:00
Kevin 82ba4f077e implement inter pod topological affinity and anti-affinity 2016-05-06 06:46:23 +00:00
Clayton Coleman e0ebcf4216
Split the storage and negotiation parts of Codecs
The codec factory should support two distinct interfaces - negotiating
for a serializer with a client, vs reading or writing data to a storage
form (etcd, disk, etc). Make the EncodeForVersion and DecodeToVersion
methods only take Encoder and Decoder, and slight refactoring elsewhere.

In the storage factory, use a content type to control what serializer to
pick, and use the universal deserializer. This ensures that storage can
read JSON (which might be from older objects) while only writing
protobuf. Add exceptions for those resources that may not be able to
write to protobuf (specifically third party resources, but potentially
others in the future).
2016-05-05 12:08:23 -04:00
k8s-merge-robot 085b172395 Merge pull request #24887 from nikhiljindal/runOptions
Automatic merge from submit-queue

Deleting duplicate code from federated-apiserver.Run()

This removes most of duplicate code from federated-apiserver.Run().
The code remaining is related to storage or authz and authn.
https://github.com/kubernetes/kubernetes/pull/24787 refactors the storage related code.
I am still figuring out authz and authn.

cc @jianhuiz
2016-05-05 06:50:56 -07:00
Yu-Ju Hong a3d5a4f358 Remove redundant RC and service tests in integration.go 2016-05-03 17:13:10 -07:00
nikhiljindal 16c0e0a21c Deleting duplicate code from federated-apiserver 2016-05-03 14:04:09 -07:00
Klaus Ma 59bab9bde4 Corrected cassandra example's indent. 2016-05-01 21:05:13 +08:00
k8s-merge-robot bf661537d6 Merge pull request #24945 from chrislovecnm/cassandra-updates-docker-n-java
Automatic merge from submit-queue

Refactored SeedProvider and Updated Docker

This is a redo of the last PR that I munged 😄 

- fixed maven build folder structure
- updated build to C* 3.4
- refactored Seed Provider - improved error handling, updated default SeedProvider code
- added start of unit tests.  Not as comprehensive as I would like
- updated docker image to debian:jessie
- installed openjdk 8
- added some docker fu to make the image smaller
- updated docker to C* 3.4 and update yaml
- updated README content.  Added a section about the docker, and the SeedProvider

Have not had a chance to test the docker on k8s, because I do not have a local docker repo.

NOTE: someone needs to push the docker image into the google repo. Not sure what the process is ...  I will submit another PR request with changes to the yaml files.
2016-04-29 12:24:49 -07:00
chrislovecnm e8ce426093 Refactored KubernetesSeedProvider and added unit tests. Updated Docker image and bumped Cassandra version 2016-04-28 13:26:45 -06:00
Hongchao Deng c0071a1595 add flags to enable etcd3 2016-04-28 09:48:16 +08:00
Timothy St. Clair 24b4286960 In preparation for new storage backends renaming generic registry store 2016-04-26 08:32:13 -05:00
k8s-merge-robot 9db45590cf Merge pull request #24772 from nikhiljindal/newConfig
Automatic merge from submit-queue

Using genericapiserver.NewConfig() instead of initialising Config in example apiserver
2016-04-25 23:33:44 -07:00
k8s-merge-robot 293b0d0815 Merge pull request #23493 from soltysh/move_job_internals
Automatic merge from submit-queue

Move internal types of job from pkg/apis/extensions to pkg/apis/batch

This addressed the job part of #23216, this is still WIP. Will notify once finished. I'd like to have it in before starting working on ScheduledJob. 

@lavalamp @erictune fyi
2016-04-25 20:58:49 -07:00
nikhiljindal e17da8b493 Using genericapiserver.NewConfig() instead of initialising Config 2016-04-25 17:27:18 -07:00
Wojciech Tyczynski c0020aff59 Merge pull request #24539 from smarterclayton/unify_stream_and_serial
Unify Streaming and normal Serializers
2016-04-25 11:25:16 +02:00
Maciej Szulik a3b4447305 Move internal types of job from pkg/apis/extensions to pkg/apis/batch 2016-04-25 11:03:54 +02:00
k8s-merge-robot 1f1eb621de 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 0ed117744c 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 3111985564 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 e3dab39df0 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 6670b73b18 make storage enablement, serialization, and location orthogonal 2016-04-21 08:18:55 -04:00
tobad357 1811ded396 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 44c49a688d ran hack/update-generated-docs.sh like I should 2016-04-19 14:13:36 -06:00
nikhiljindal 50a9aceabb Moving more logic to genericapiserver 2016-04-19 00:03:28 -07:00
Klaus Ma 326e30772a Added namespace to Spark example. 2016-04-19 00:34:47 +08:00
k8s-merge-robot f1eff2a737 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 03f48e730e 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 f53bc4ebe0 Flexvolume: Add support for multiple secrets 2016-04-15 02:40:38 -07:00
Amy Unruh 8846b313dc phase 2 of cassandra example overhaul 2016-04-14 21:55:23 -07:00
chrislovecnm 82092f9ed0 Intial draft on SeedProvider docs 2016-04-14 17:12:38 -06:00
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
Amy Unruh d4251b2a25 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 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
Huamin Chen bd68007f80 better NFS example doc
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-04-06 17:21:03 +00: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
Eric Tune 875755f992 Added Selector Generation to Job.
Added selector generation to Job's
strategy.Validate, right before validation.
Can't do in defaulting since UID is not known.

Added a validation to Job to ensure that the generated
labels and selector are correct when generation was requested.
This happens right after generation, but validation is in a better
place to return an error.

Adds "manualSelector" field to batch/v1 Job to control selector generation.
Adds same field to extensions/__internal.  Conversion between those two
is automatic.

Adds "autoSelector" field to extensions/v1beta1 Job.  Used for storing batch/v1 Jobs
    - Default for v1 is to do generation.
    - Default for v1beta1 is to not do it.
    - In both cases, unset == false == do the default thing.

Release notes:
Added batch/v1 group, which contains just Job, and which is the next
version of extensions/v1beta1 Job.

The changes from the previous version are:
- Users no longer need to ensure labels on their pod template are unique to the enclosing
  job (but may add labels as needed for categorization).
- In v1beta1, job.spec.selector was defaulted from pod labels, with the user responsible for uniqueness.
  In v1, a unique label is generated and added to the pod template, and used as the selector (other
  labels added by user stay on pod template, but need not be used by selector).
- a new field called "manualSelector" field exists to control whether the new behavior is used,
  versus a more error-prone but more flexible "manual" (not generated) seletor.  Most users
  will not need to use this field and should leave it unset.

Users who are creating extensions.Job go objects and then posting them using the go client
will see a change in the default behavior.  They need to either stop providing a selector (relying on
selector generation) or else specify "spec.manualSelector" until they are ready to do the former.
2016-02-25 09:28:07 -08:00
Vladimir Rutsky d325ded6c7 fix typo: ", ." 2016-02-25 17:13:34 +03:00
Alex Robinson c031697848 Merge pull request #21626 from jayunit100/examples-spark-fix
Fix broken spark tests to use yaml files, 1 worker, declare DNS depe…
2016-02-24 16:30:19 -08:00
jay vyas 6efe5d05c3 [examples] k8petstore: connection timeouts and pass fail that is allows blips.
Author:    jay vyas <jay@apache.org>
 Date:      Fri Feb 19 18:44:13 2016 -0500
 Committer: jay vyas <jay@apache.org>
2016-02-23 23:11:44 -05:00
jay vyas 4c91cf2028 e2e cassandra fixes, needs follow on container update 2016-02-22 19:50:05 -05:00
jay vyas 782b268f02 [examples] [e2e] Fix spark example e2e tests: labels, forEach, json->yaml 2016-02-22 16:40:30 -05:00
k8s-merge-robot 60c6edaee7 Merge pull request #21634 from jayunit100/spark-README
Auto commit by PR queue bot
2016-02-20 23:59:59 -08:00
jay vyas 6cbcb5d6c7 Update spark README with container location and DNS req. 2016-02-20 17:33:30 -05:00
Matthias Luebken 90c89e15b6 Fix: add src to correct root path. 2016-02-20 23:25:03 +01:00
Matthias Luebken 6fe13ab726 using official golang image 2016-02-20 23:16:51 +01:00
laushinka 7ef585be22 Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
k8s-merge-robot 6d50c226c2 Merge pull request #21345 from CenturyLinkCloud/master
Auto commit by PR queue bot
2016-02-17 02:26:51 -08:00
ckleban c8a2ee39fc Fixing mysql-galena example's config files 2016-02-16 15:02:42 -08:00
Amy Unruh 2d8f857a24 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
Matthias Luebken eff27cd503 Fix: add src and workdir to correct root path. 2016-02-16 16:42:45 +01:00
k8s-merge-robot 94b8554c91 Merge pull request #21033 from nikhiljindal/swaggerspecInGenericServer
Auto commit by PR queue bot
2016-02-14 11:39:56 -08:00
Jerome Touffe-Blin 1ef6580ea3 Fix #19098 - misplace cassandra-controller in cassandra example 2016-02-12 19:31:55 +11:00
nikhiljindal e2bffac285 Moving installing swagger spec to generic api server 2016-02-10 18:33:47 -08:00
Janet Kuo ddd983286b Move deployment example to docs/user-guide 2016-02-10 10:46:12 -08:00
k8s-merge-robot 41a98b43e4 Merge pull request #19840 from madhusudancs/replicaset-deployment
Auto commit by PR queue bot
2016-02-09 18:57:42 -08:00
Matthew Farrellee 0336220bf1 update spark example yaml to use new images 2016-02-09 17:18:47 -05:00
k8s-merge-robot 8d95da1b49 Merge pull request #20590 from erictune/rc-doc
Auto commit by PR queue bot
2016-02-09 00:11:39 -08:00
Madhusudan.C.S 518f08aa7c Move Deployments to ReplicaSets and switch the Deployment selector to the new LabelSelector.
Update the Deployments' API types, defaulting code, conversions, helpers
and validation to use ReplicaSets instead of ReplicationControllers and
LabelSelector instead of map[string]string for selectors.

Also update the Deployment controller, registry, kubectl subcommands,
client listers package and e2e tests to use ReplicaSets and
LabelSelector for Deployments.
2016-02-08 21:27:38 -08:00
Huamin Chen d7e4b826b9 support Azure File Service volume
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-02-09 01:07:12 +00:00
Eric Tune f7a89cedda Update replication-controller docs
Adds a document on pod templates that can be shared
between various controller docs.

Move more philosophical content to later in the doc.

Add more task-oriented stuff earlier.

Put example config in the document, early on, so users have something concrete to relate the discussion of fields to.

Link to Job and DaemonSet docs.

Make format more like that of Job and DaemonSet docs.

Use jsonpath in examples, which is available in v1.1.

Added example files.
2016-02-08 15:51:53 -08:00
Nikhil Jindal 59820827d4 Merge pull request #20513 from nikhiljindal/apiserverExampleTest
Adding test for apiserver example
2016-02-04 11:28:58 -08:00
k8s-merge-robot dbd7b83d93 Merge pull request #20545 from pmorie/boilerplate
Auto commit by PR queue bot
2016-02-03 19:46:26 -08:00
Kevin c8c82c1d8f implement Node affinity and NodeSelector 2016-02-04 01:53:14 +00:00
nikhiljindal c7beb9078c Updating methods to return error rather than using glog.Fatalf 2016-02-03 16:00:45 -08:00
Paul Morie b672785d72 Add boilerplate checks for Dockerfiles 2016-02-03 18:35:26 -05:00
Paul Morie 05bd107301 Add boilerplate checks for Makefiles 2016-02-03 18:35:26 -05:00
nikhiljindal 2aa28c6553 Adding test for apiserver example 2016-02-02 15:42:29 -08:00
k8s-merge-robot 71727385e8 Merge pull request #20069 from BugRoger/cephfs_subtree_mount_master
Auto commit by PR queue bot
2016-02-02 02:15:35 -08:00
Minhan Xia 05e63d5967 fix es example 2016-02-01 14:50:38 -08:00
Michael Schmidt 1373e0139d CephFS: Add subdir Option for Changing Mounted Root Directory 2016-02-01 22:01:19 +01:00
Chao Xu ebcff4b5e4 fix the namespaceScoped of cachers 2016-01-28 16:24:54 -08:00
k8s-merge-robot d582fabf90 Merge pull request #19753 from jayunit100/cleanup-ha-example
Auto commit by PR queue bot
2016-01-25 19:48:14 -08:00
k8s-merge-robot 8e04196ebc Merge pull request #20085 from pjvds/patch-1
Auto commit by PR queue bot
2016-01-25 19:33:43 -08:00
jay vyas f3f167d2f9 Remove podmaster stuff, in lieu of the new least prototype 2016-01-25 18:47:00 -05:00
k8s-merge-robot d7d601b2fc Merge pull request #18876 from erictune/dynamic-job
Auto commit by PR queue bot
2016-01-25 08:06:22 -08:00
k8s-merge-robot d3b869ae14 Merge pull request #17922 from smarterclayton/split_codec
Auto commit by PR queue bot
2016-01-25 06:30:39 -08:00
Pieter Joost van de Sande b2215ead0f fix wrong db label
The rethinkdb-admin service was labelled with `influxdb` instead of `rethinkdb`
2016-01-25 11:31:02 +01:00
Zach Loafman 717551b13c Merge pull request #19760 from mattf/master
move spark images to github.com/kubernetes/application-images/spark
2016-01-23 07:55:20 -08:00
Eric Tune 53ee76fe1a Support Work Queue jobs with variable parallelism
When job.spec.completions is nil, only
one task needs to succeed for the job to succeed,
and parallelism can be scaled freely during runtime.

Added tests.

Release Note:

This causes two minor changes to the API.

First, unset parallelism previously was defaulted to be
equal to completions.  Now it always defaults to 1 if unset.

Second, having parallelism=N and completions unset would previously
be defaulted to 1 completion and N parallelism.
(this is not something we expect people to do, though)
Now, no defaulting occurs in that case, and the job's
behavior is different (any completion causes success).
2016-01-22 14:57:51 -08:00
nikhiljindal 0ab152ddf2 Adding an example apiserver 2016-01-22 11:52:16 -08:00
Clayton Coleman 4a6935b31f Remaining codec change refactors 2016-01-22 13:27:27 -05:00
Clayton Coleman 33085c0cf2 Update tests to handle codec changes 2016-01-22 13:27:26 -05:00
nikhiljindal 2ad642d370 Merge registered and latest and move to apimachinery 2016-01-21 14:42:21 -08:00
k8s-merge-robot 1c861d43ac Merge pull request #18298 from pmorie/secret-env
Auto commit by PR queue bot
2016-01-20 03:55:40 -08:00
k8s-merge-robot 16a78198c3 Merge pull request #17932 from GertiPoppel/DocContribution
Auto commit by PR queue bot
2016-01-19 17:15:33 -08:00
Paul Morie c548054560 Add ability to consume secrets in env vars 2016-01-18 12:20:51 -05:00
Matthew Farrellee 0294bc2be7 move spark images to github.com/kubernetes/application-images/spark 2016-01-16 11:15:23 -05:00
Ryan Wallner 0581aeb805 initial commit to refacter flocker example docs
Signed-off-by: Ryan Wallner <ryan.wallner@clusterhq.com>

change wording

Signed-off-by: Ryan Wallner <ryan.wallner@clusterhq.com>

change name of volume to be consistent

Signed-off-by: Ryan Wallner <ryan.wallner@clusterhq.com>

update node flag without =

Signed-off-by: Ryan Wallner <ryan.wallner@clusterhq.com>

make things a bit clearer, seperate More Info

Signed-off-by: Ryan Wallner <ryan.wallner@clusterhq.com>

refacter so we include -n example

Signed-off-by: Ryan Wallner <ryan.wallner@clusterhq.com>

keep uuids consistent in examples

Signed-off-by: Ryan Wallner <ryan.wallner@clusterhq.com>

detail example about how to set env vars

Signed-off-by: Ryan Wallner <ryan.wallner@clusterhq.com>

move demo video to more info

Signed-off-by: Ryan Wallner <ryan.wallner@clusterhq.com>

add references for how to create volume using docker cli

Signed-off-by: Ryan Wallner <ryan.wallner@clusterhq.com>

italics

Signed-off-by: Ryan Wallner <ryan.wallner@clusterhq.com>

fix italics

Signed-off-by: Ryan Wallner <ryan.wallner@clusterhq.com>

fix extra paren

Signed-off-by: Ryan Wallner <ryan.wallner@clusterhq.com>

run hack/update-generated-docs.sh
2016-01-12 13:54:45 -05:00
k8s-merge-robot 76b0c8d07a Merge pull request #19114 from uluyol/cassandra-perm
Auto commit by PR queue bot
2016-01-08 03:34:42 -08:00
Muhammed Uluyol f4b4ca2989 Correct permissions on cassandra run script and fix provider.
We must handle null addresses in the cassandra seed provider. This
can occur when there are 'notReadyAddresses' but no 'addresses'.
While we're at it, update the makefile to build the jar.
2016-01-06 07:55:19 -05:00
Justin Santa Barbara f9a6ac077e Ubernetes Lite: Volumes can dictate zone scheduling
For AWS EBS, a volume can only be attached to a node in the same AZ.
The scheduler must therefore detect if a volume is being attached to a
pod, and ensure that the pod is scheduled on a node in the same AZ as
the volume.

So that the scheduler need not query the cloud provider every time, and
to support decoupled operation (e.g. bare metal) we tag the volume with
our placement labels.  This is done automatically by means of an
admission controller on AWS when a PersistentVolume is created backed by
an EBS volume.

Support for tagging GCE PVs will follow.

Pods that specify a volume directly (i.e. without using a
PersistentVolumeClaim) will not currently be scheduled correctly (i.e.
they will be scheduled without zone-awareness).
2015-12-31 12:27:01 -05:00
Chakravarthy Nelluri fa76de79e5 Add support for flex volume. Flex volume adds support for thirdparty(vendor)
volumes and custom mounts.
2015-12-23 14:11:38 -08:00
Chao Xu 2b2f285777 run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
k8s-merge-robot 60c26c850f Merge pull request #18184 from amygdala/docs
Auto commit by PR queue bot
2015-12-18 10:34:44 -08:00
Brendan Burns 5fe248e985 Update the cassandra jar with the latest code. 2015-12-17 07:10:32 -08:00
Amy Unruh b1f99ecdbf config best practices doc edits 2015-12-16 07:35:31 -08:00
deads2k d0aaf13920 use constants for group names 2015-12-14 10:04:10 -05:00
k8s-merge-robot 266ab4a796 Merge pull request #18487 from smarterclayton/guard_encode_decode
Auto commit by PR queue bot
2015-12-13 23:08:18 -08:00
Jeff Lowdermilk 9c49cdaa6e Merge pull request #18276 from thockin/airplane_validation_pt6
Validation cleanup parts 5 & 6 together
2015-12-11 13:34:37 -08:00
markturansky 4fc1bf1f23 Added PersistentVolumeController 2015-12-11 10:33:30 -05:00
Eric Tune 319ebc40ba Document several patterns for using Job. 2015-12-10 15:54:23 -08:00
Tim Hockin 7fb8f60735 Shorten names for better reading 2015-12-10 11:48:19 -08:00
Tim Hockin 87a35047dd Move FieldPath and errors to a sub-package
This makes the naming and reading a lot simpler.
2015-12-10 11:48:16 -08:00
k8s-merge-robot b8835b7e0d Merge pull request #18339 from bzz/patch-1
Auto commit by PR queue bot
2015-12-10 02:35:00 -08:00
Clayton Coleman 1e21054134 Hide common codec methods under helpers
The pending codec -> conversion split changes the signature of
Encode and Decode to be more complicated. Create a stub helper
with the exact semantics of today and do the simple mechanical
refactor here to reduce the cost of that change.
2015-12-09 21:15:02 -05:00
Anish Bhatt 6e46fa1fd4 Add support for open-iscsi transports.
This enables use of software or hardware transports viz. be2iscsi,
bnx2i, cxgb3i, cxgb4i, qla4xx, iser and ocs. The default transport
(tcp) happens to be called "default".

Use of non-default transports changes the disk path to the following format:
/dev/disk/by-path/pci-<pci_id>-ip-<portal>-iscsi-<iqn>-lun-<lun_id>
2015-12-08 17:28:06 -08:00
Alexander a505e19a9a Minor update to Cassandra example docs
Changing name of docker image to match given example + add some links to the sources
2015-12-08 19:02:58 +09:00
k8s-merge-robot 0e3f9625c8 Merge pull request #18141 from tback/master
Auto commit by PR queue bot
2015-12-06 11:56:00 -08:00
Tim Hockin e6df0b1a24 Convert validation to use FieldPath
Before this change we have a mish-mash of ways to pass field names around for
error generation.  Sometimes string fieldnames, sometimes .Prefix(), sometimes
neither, often wrong names or not indexed when it should be.

Instead of that mess, this is part one of a couple of commits that will make it
more strongly typed and hopefully encourage correct behavior.  At least you
will have to think about field names, which is better than nothing.

It turned out to be really hard to do this incrementally.
2015-12-03 08:19:44 -08:00
Till Backhaus c022bd0651 Remove obsolete sentinel.py from redis example 2015-12-03 09:32:10 +01:00
Marek Grabowski 66877c2064 Merge pull request #16004 from paralin/add-cassandra-daemonset-example
Add example of a cassandra daemonset.
2015-12-03 09:19:14 +01:00
Gerti Poppel 03ace3b6b3 auto update 2015-12-01 16:49:46 +01:00
Gerti Poppel aca18b9141 fixed some typos and formatting 2015-12-01 16:46:21 +01:00
Brandon Philips 823a277317 examples: guestbook-go: remove id field from rc
Remove the id field to fix this error:

```
$ kubectl create -f redis-slave-controller.json
error validating "redis-slave-controller.json": error validating data: found invalid field id for v1.ReplicationController; if you choose to ignore these errors, turn validation off with --validate=false
```

Fixes #17846
2015-11-30 18:06:06 -08:00
k8s-merge-robot 0c4f302e5e Merge pull request #17601 from eosrei/shell-var-MINION-to-NODE
Auto commit by PR queue bot
2015-11-26 05:02:44 -08:00
Ravi Gadde cadc24e9fd Scheduler extension 2015-11-25 08:19:27 -08:00
k8s-merge-robot 3136acad8b Merge pull request #14623 from linzichang/fixup-cassandra
Auto commit by PR queue bot
2015-11-25 04:57:14 -08:00
Brad Erickson 53172a5356 Minion->Node rename: NUM_NODES 2015-11-25 00:45:10 -08:00
Tim Hockin 682f2a5a79 Stronger typing for validation ErrorList 2015-11-23 10:01:43 -08:00
Matthew Farrellee 314e0c5512 Eliminate need for wget (use curl), use fewer intermediate files be quiet 2015-11-20 18:54:13 -05:00
Matthew Farrellee eff6169ac7 Change default to local build, require explicit "make push" to push 2015-11-20 16:58:59 -05:00
Matthew Farrellee fb4afda2bf Install numpy on all spark images 2015-11-20 16:05:47 -05:00
Matthew Farrellee 2d37029a39 Use upstream zeppelin 0.5.5 release 2015-11-20 14:22:56 -05:00
Matthew Farrellee 4e181c4c1f Add cleaning to clean target 2015-11-20 10:19:57 -05:00
Zach Loafman 57c63ba872 Merge pull request #17288 from zmerlynn/i17231
Zeppelin: Compress the image by doing the build on a separate image
2015-11-19 14:07:41 -08:00
Corey Farwell 2dd4f1f40f Fix typo in guestbook README 2015-11-18 11:25:21 -05:00
Tim Hockin efe566621f try harder to timeout hung curls in examples test 2015-11-17 23:53:39 -08:00
Zach Loafman f8b83a65da Zeppelin: Compress the image by doing the build on a separate image
Pull the tar through to the image we need it on.

Addresses #17231
2015-11-17 14:51:16 -08:00
Tim Hockin 7f0ed03f45 Fix the petstore example test with iptables proxy
hypothesis: The old userspace proxier would internally retry connections.  The
new one does not.  When this test comes up, the firewall might not yet be open or
something is causing a long delay and a timeout.  I can't repro this failure
locally, so I am shooting in the dark.  It's sort of plausible.

evidence: I can SSH into the jenkins master that is hung and I can see the hung
curl.  I can run that curl by hand and it works.  I can see that my shell is in
the same netns as that hung curl.
2015-11-16 22:03:36 -08:00
Christian Stewart 0365ef9ef3
Add example of a cassandra daemonset.
Introduce examples explaining how to use DataSets to optimally
distribute cassandra nodes onto each kubernetes node in the network.

Signed-off-by: Christian Stewart <christian@paral.in>
2015-11-16 16:50:55 -05:00
k8s-merge-robot c377b32b3f Merge pull request #17025 from zmerlynn/zeppelin
Auto commit by PR queue bot
2015-11-13 16:12:54 -08:00
Tim Hockin dab591b629 Run update-gendocs 2015-11-13 13:57:57 -08:00
Zach Loafman 51817850ba Zeppelin: Add Zeppelin image to Spark example
This adds a very basic Zeppelin image that works with the existing
Spark example. As can be seen from the documentation, it has a couple
of warts:

* It requires kubectl port-forward (which is unstable across long
periods of time, at least for me, on this app, bug incoming). See

* I needed to roll my own container (none of the existing containers
exactly matched needs, or even built anymore against modern Zeppelin
master, and the rest of the example is Spark 1.5).

The image itself is *huge*. One of the further refinements we need to
look at is how to possibly strip the Maven build for this container
down to just the interpreters we care about, because the deps here
are frankly ridiculous.

This might be a case where, if possible, we might want to open an
upstream request to build things dynamically, then use something like
probably the cut the image down considerably. (This might already be
possible, need to poke at whether you can late-bind interpreters
later.)
2015-11-13 12:02:11 -08:00
k8s-merge-robot 6a34b2cc04 Merge pull request #16411 from feihujiang/deleteSimpleYamlDocInUserGuide
Auto commit by PR queue bot
2015-11-13 11:13:23 -08:00
k8s-merge-robot 53c39d78ac Merge pull request #17075 from jeffvance/k8bps-fedora
Auto commit by PR queue bot
2015-11-12 01:17:47 -08:00
feihujiang ef0239a08b Delete the simple-yaml.md example 2015-11-12 13:48:52 +08:00
k8s-merge-robot 3d66f0fe62 Merge pull request #16911 from mesosphere/sttts-fix-cluster-dns-images
Auto commit by PR queue bot
2015-11-11 15:58:07 -08:00
jvance 5ccf073969 don't use docker-machine for k8petstore on linux 2015-11-11 11:41:30 -08:00
Dr. Stefan Schimanski 28aa9b4d35 Add Makefile to build examples/cluster-dns images 2015-11-11 17:18:35 +01:00
Dr. Stefan Schimanski da194b4637 Move dns-frontend images to gcr.io 2015-11-11 17:16:19 +01:00
Dr. Stefan Schimanski fe6559829a Base cluster-dns on python:2.7-slim image
- 79 instead of 263 MB
- does not trigger the docker-pull freeze bug
2015-11-11 17:15:53 +01:00
k8s-merge-robot 1f4ec94edc Merge pull request #16226 from enisoc/vitess-example
Auto commit by PR queue bot
2015-11-11 01:40:33 -08:00
k8s-merge-robot 49f050169d Merge pull request #15146 from linzichang/fixup-elasticsearch
Auto commit by PR queue bot
2015-11-09 22:35:37 -08:00
Zichang Lin 51dd067f5f Update cassandra example according to config best practices 2015-11-10 14:19:22 +08:00
k8s-merge-robot 5f99e3de08 Merge pull request #16862 from krancour/fix-https-nginx-deps
Auto commit by PR queue bot
2015-11-09 13:52:41 -08:00
Wojciech Tyczynski 53062bfa5b Merge pull request #16963 from MikeJeffrey/master
Updating mysql-wppd example to fix issue with mysql 5.7
2015-11-09 14:31:04 +01:00
Zichang Lin 2afda9f2c1 Update guestbook example according to config best practices 2015-11-07 14:39:32 +08:00
MikeJeffrey 6d5ef5bec1 Forcing mysql version to 5.6
to work around breaking change in 5.7
2015-11-06 18:26:17 -08:00
MikeJeffrey aec25ae904 Forcing mysql version 5.6
to work around breaking change in 5.7
2015-11-06 18:25:44 -08:00
k8s-merge-robot 3a5768a0ad Merge pull request #16607 from zmerlynn/spark-stdout
Auto commit by PR queue bot
2015-11-06 10:41:56 -08:00
k8s-merge-robot 0b183f43fd Merge pull request #16574 from hurf/stop_doc
Auto commit by PR queue bot
2015-11-05 19:43:21 -08:00
Zach Loafman de92fb698e Remove unneeded pieces 2015-11-05 14:58:18 -08:00
Kent Rancourt 3c2a7611bf Improve examples/https-nginx dependency management 2015-11-05 14:27:08 -05:00
k8s-merge-robot a848262d48 Merge pull request #10174 from ghost974/patch-1
Auto commit by PR queue bot
2015-11-04 23:32:01 -08:00
Christian Stewart a57510a455
Add NewRelic system monitor DaemonSet example
Adds an example using DaemonSets to distribute the NewRelic worker onto all nodes in a k8s cluster.

Signed-off-by: Christian Stewart <christian@paral.in>
2015-11-02 00:15:47 -05:00
Zach Loafman 436839f196 Spark: Don't daemonize, don't pretend to tail logs we don't use
Along the way: Fixup port mismatch in worker container
2015-10-30 11:52:17 -07:00
hurf ce35bb4208 Remove trace of "kubectl stop"
Remove doc and use of "kubectl stop" since it's deprecated.
2015-10-30 14:12:20 +08:00
Zach Loafman d24d2a21f9 Spark: Add liveness probes for master/worker
It turns out, the pods don't exit when the master or worker crash.

Along the way: remove redundant metadata.
2015-10-29 05:59:31 -07:00
Zach Loafman 413ec6c83a Spark: Update example to use kubectl proxy rather than load balancer 2015-10-29 05:59:31 -07:00
k8s-merge-robot 63c512cfed Merge pull request #16320 from zmerlynn/spark-rcs
Auto commit by PR queue bot
2015-10-29 01:42:31 -07:00
k8s-merge-robot 63af7c227e Merge pull request #16069 from zmerlynn/nfs-1.1
Auto commit by PR queue bot
2015-10-28 22:39:09 -07:00
nikhiljindal 5c0cc34101 Adding a user-guide doc for deployments 2015-10-28 13:14:08 -07:00
Zach Loafman b71bc4e480 Fix volumes/test/nfs: Needs to run insecure to allow container connections
Since this is a container service port anyways, "insecure" is a bit of
a red herring. There's no real security relevance to the incoming port
numbers for the NFS server pod.

This lets us get rid of the examples/nfs/exporter Docker build
(@jsafrane's personal image).
2015-10-27 16:58:04 -07:00
Zach Loafman 17fd5f2536 NFS: Revamp example, add nfs-common to debian saltbase
This ensures nfs-common is installed on GCE, and provides a more
functional explanation/example. I launched two replication controllers
so that there were busybox pods to poke around at the NFS volume, and
so that the later wget actually works (the original example would have
to work on the node, or need some other access to the container
network). After switching to two controllers, it actually makes more
sense to use PV claims, and it's probably a configuration that makes
more sense for indirection for NFS anyways.
2015-10-27 16:58:04 -07:00
Anthony Yeh ec99cc2865 examples/vitess: Update for Vitess v2.0.0-alpha5
This also enables built-in backup, so the caveat about starting new pods
no longer applies.
2015-10-27 15:16:32 -07:00
Zach Loafman 777d3a6ec0 Spark: Update to current example standards, add GCS connector
* Pod -> ReplicationController, which also forced me to hack around
hostname issue on the master. (Spark master sees the incoming slave
request to spark-master and assumes it's not meant for it, since it's
name is spark-master-controller-abcdef.)

* Remove service env dependencies (depend on DNS instead).

* JSON -> YAML.

* Add GCS connector.

* Make example do something actually useful: A familiar example to
anyone at Google, implement wordcount of all of Shakespeare's works.

* Fix a minor service connection issue in the gluster example.
2015-10-27 15:06:34 -07:00
k8s-merge-robot 0a822bb742 Merge pull request #16005 from Huawei-PaaS/fix_some_errors_in_guestbook_go
Auto commit by PR queue bot
2015-10-26 16:07:57 -07:00
Zach Loafman c0fba82da4 Spark: Bump images to 1.5.1, add Makefile 2015-10-24 12:44:12 -07:00
k8s-merge-robot 19c0a5b3d7 Merge pull request #15899 from bprashanth/ing_docs
Auto commit by PR queue bot
2015-10-24 11:34:22 -07:00
k8s-merge-robot 8498721681 Merge pull request #13109 from copejon/master
Auto commit by PR queue bot
2015-10-23 19:40:29 -07:00
Jerzy Szczepkowski 37ef5dee0b Horizontal pod autoscaling example moved to user guide.
Horizontal pod autoscaling example moved to user guide. Part of #15652.
2015-10-23 18:49:20 +02:00
Jon Cope b6d3b2f64b Add Spark-GlusterFS example 2015-10-23 09:01:56 -05:00
Prashanth Balasubramanian 8c758102d9 Ingress docs 2015-10-22 19:09:50 -07:00
k8s-merge-robot dcf58fe50c Merge pull request #16015 from feihujiang/fixMinorErrorsInNfsExample
Auto commit by PR queue bot
2015-10-22 11:41:41 -07:00
qiaolei 9b3ab4d642 Fix some errors in guestbook-go
Fix some errors in guestbook-go README.md:

1. fix some markdown errors by removing the `<nop>` tag
2. replace some (not all of them) `containers` with `pods`
3. `gcloud comput` -> `gcloud compute`
4. improved sentences that has `list all` to make the descriptions more accurate
5. other tiny fixes
2015-10-22 14:33:44 +00:00
k8s-merge-robot b44c7d79d6 Merge pull request #15842 from piosz/hpa-example
Auto commit by PR queue bot
2015-10-22 01:19:52 -07:00
feihujiang 310f8f6320 Fix minor errors in nfs example 2015-10-21 15:15:03 +08:00
Piotr Szczesniak 3abcdfd402 Change HPA example to use new API objects 2015-10-20 13:38:28 +02:00
Steve Milner 8da2d4002f Fixes remaining imports per #15319 2015-10-20 07:13:13 -04:00
k8s-merge-robot 462480465d Merge pull request #15696 from ZJU-SEL/fix-tail-f
Auto commit by PR queue bot
2015-10-15 19:36:18 -07:00
Chao Xu 0075f99333 refactor "experimental" to "extensions" in documents 2015-10-15 13:39:54 -07:00
Harry Zhang 646f36f49c Fix wrong tail -f command 2015-10-15 07:31:21 +00:00
Brian Grant 8b9351c974 Clarify what belongs in examples vs. docs. 2015-10-14 20:10:52 +00:00
Dawn Chen 0f22551e90 Merge pull request #15296 from anish/iscsi_fixes
Fix extraneous entries in iscsi path format, update README and sample json
2015-10-13 11:51:06 -07:00
Anish Bhatt 6d9e9561e8 Fix extraneous entries in iscsi path format
Code comments currently claim the default iscsi mount path as

kubernetes.io/pod/iscsi/<portal>-iqn-<iqn>-lun-<id>, however actual
path being used is
kubernetes.io/iscsi/iscsi/<portal>-iqn-<iqn>-lun-<id>

This leads to ultimate path being similar to this :

kubernetes.io/iscsi/iscsi/...iqn-iqn...-lun-N

Both iscsi and iqn are repated twice for no reason, since "iqn" is
required by spec to be part of an iqn. This is also  wrong on
multiple leves as actual allowed naming formats are :

iqn.2001-04.com.example:storage:diskarrays-sn-a8675309
eui.02004567A425678D
(RFC 3720 3.2.6.3)

and in the second case "iqn-eui" in the path would be misleading.

Change this to a more reasonable path of
kubernetes.io/iscsi/<portal>-<iqn>-lun-<id>

which also aligns up with how the /dev/by-path and sysfs entries
are created for iscsi devices on linux

  * -- *

Update iSCSI README and sample json file

There seems to have been quite a skew in recent updates to these
files adding in wrong info or info that no longer lines up the
sample config with the README.

Fixed the following issues :
* Fix discrepancy in samples json using initiator iqn from previous
  linked example as target iqn (which was just wrong)
* Generate sample output and README from the same json config provided.
* Remove recommendation to edit initiator name, this is not required
  (open-iscsi warns against editing this manually and provides a utility
   for the same)
* Update docker inspect command to one that works.
* Use separate LUNs for separate mount points instead of re-using.
2015-10-13 10:08:52 -07:00
k8s-merge-robot 1de4e88022 Merge pull request #15532 from zhengguoyong/typo_cassandra_example
Auto commit by PR queue bot
2015-10-13 06:05:04 -07:00
k8s-merge-robot eeeb5e0cd6 Merge pull request #15452 from jayunit100/petstore-dev
Auto commit by PR queue bot
2015-10-13 04:36:25 -07:00
eulerzgy 2968778f2e fix typo of cassandra example 2015-10-13 16:26:40 +08:00
Dawn Chen e2659fc645 Merge pull request #15207 from elsonrodriguez/selenium-example-pr
Adds example for running Selenium on Kubernetes.
2015-10-12 17:08:00 -07:00
jayvyas c897798c27 Cleaning/Updating k8petstore dev tooling and build fixing, moving webserver to
main.go.  Replacing vagrant tooling with docker-machine.
2015-10-12 08:31:30 -04:00
Jerzy Szczepkowski c08f8c132c Added horizontal pod autoscaler example.
Added horizontal pod autoscaler example.
2015-10-12 10:35:55 +02:00
Chao Xu 88eeb03811 fix examples 2015-10-09 15:58:07 -07:00
Chao Xu 7c9f4cc42f experimental. -> extensions. 2015-10-09 15:49:10 -07:00
Chao Xu 67f316dd19 apis/experimental->apis/extensions 2015-10-09 15:04:41 -07:00
k8s-merge-robot bf0622a2f8 Merge pull request #15136 from jijun2/update-1006
Auto commit by PR queue bot
2015-10-09 03:06:49 -07:00
Elson Rodriguez e107986649 Ran document cleanup script, changed flags to be consistent. 2015-10-08 16:49:37 -07:00
Elson Rodriguez 0bb17fe6df Removes "name" labels, improves document flow, adds highlighting. 2015-10-07 19:49:55 -07:00
Mike Danese efbbfde71c Merge pull request #14094 from ZJU-SEL/pod-example
Demo a sidecar mode within pod for java users
2015-10-07 14:03:44 -07:00
Mike Danese be0c6198b9 Merge pull request #14446 from derekwaynecarr/runtime_constraints_example
Add an example demonstrating runtime constraints
2015-10-07 14:02:56 -07:00
Zichang Lin ec72be26e4 Update elasticsearch example according to config best practices 2015-10-07 09:52:32 +08:00
Elson Rodriguez 93908b9b14 Adds example for running Selenium on Kubernetes. 2015-10-06 18:24:33 -07:00
jijun2 53fafa8547 Update pod.yaml 2015-10-06 15:22:49 +08:00
jijun2 f77ebe2b06 update example explorer for best practices 2015-10-06 00:03:04 -04:00
Alex Robinson 608244fbb0 Merge pull request #14044 from rootfs/rbd_enhancement
Multiple rbd volume enhancements
2015-10-05 17:36:11 -07:00
Alex Robinson c095bbf8ca Merge pull request #15054 from enisoc/vitess-example
examples/vitess: Update for Vitess v2.0.0-alpha3
2015-10-05 17:05:24 -07:00
Alex Robinson 17676cbc1d Merge pull request #13729 from CaptTofu/mysql-galera-example
Added Galera example to kubernetes.
2015-10-05 13:05:33 -07:00
Anthony Yeh 573dfab797 examples/vitess: Update for Vitess v2.0.0-alpha3
Also pin the images on a specific version, since breaking changes are
still possible during alpha.
2015-10-03 13:58:14 -07:00
Kenneth Evensen 3a4d2d61e2 A more robust improvement on the cassandra example. The Kubernetes API server can be set in the pod template or by grabbing the environment variable. Nick Sabine <nsabine@redhat.com> generated this improvement. 2015-10-02 20:20:40 -04:00
Tim Hockin 6260759c51 Merge pull request #14328 from agonzalezro/flocker
Add flocker volume plugin
2015-10-02 16:02:18 -07:00
Patrick Galbraith 482a7eeae7 Added Galera example to kubernetes. (post review) 2015-10-02 18:55:09 +00:00
k8s-merge-robot 6f4dea531b Merge pull request #14813 from linzichang/fixup-celery-rabbitmq
Auto commit by PR queue bot
2015-10-02 08:20:35 -07:00
k8s-merge-robot dc2f9db165 Merge pull request #14653 from fgrzadkowski/fix_phabricator
Auto commit by PR queue bot
2015-10-02 03:48:28 -07:00
Brendan Burns 3e953ed893 Merge pull request #14880 from kevensen/cassandra-example
Casandra Example Enhancement
2015-10-01 15:20:58 -07:00
k8s-merge-robot 90beafcc5e Merge pull request #14565 from caesarxuchao/https-nginx
Auto commit by PR queue bot
2015-10-01 01:52:46 -07:00
Álex González fa39c2b032 Add flocker volume plugin
Flocker [1] is an open-source container data volume manager for
Dockerized applications.

This PR adds a volume plugin for Flocker.
The plugin interfaces the Flocker Control Service REST API [2] to
attachment attach the volume to the pod.

Each kubelet host should run Flocker agents (Container Agent and Dataset
Agent).

The kubelet will also require environment variables that contain the
host and port of the Flocker Control Service. (see Flocker architecture
[3] for more).

- `FLOCKER_CONTROL_SERVICE_HOST`
- `FLOCKER_CONTROL_SERVICE_PORT`

The contribution introduces a new 'flocker' volume type to the API with
fields:

- `datasetName`: which indicates the name of the dataset in Flocker
  added to metadata;
- `size`: a human-readable number that indicates the maximum size of the
  requested dataset.

Full documentation can be found docs/user-guide/volumes.md and examples
can be found at the examples/ folder

[1] https://clusterhq.com/flocker/introduction/
[2] https://docs.clusterhq.com/en/1.3.1/reference/api.html
[3] https://docs.clusterhq.com/en/1.3.1/concepts/architecture.html
2015-10-01 01:10:00 +01:00
Kenneth Evensen 232f80fe6f Cassandra example - Modified line 103 in java/src/io/k8s/cassandra/KubernetesSeedProvider.java to accept the Kubernetes host as an environment variable from the pod template. Compiled the Jar and moved it to image/kubernetes-cassandra.jar. Changed the version number in the pom.xml file. 2015-09-30 19:03:38 -04:00
Brendan Burns ae5355ee55 Merge pull request #14650 from linzichang/fixup-cephfs
Update cephfs example according to config best practices
2015-09-30 11:32:51 -07:00
Zichang Lin 02349e7889 Update celery-rabbitmq example according to config best practices 2015-09-30 16:53:21 +08:00
k8s-merge-robot 08d1b8de1c Merge pull request #14631 from feihujiang/replaceKubectlStopExample
Auto commit by PR queue bot
2015-09-29 20:10:58 -07:00
derekwaynecarr a23b1be759 Add an example demonstrating runtime constraints 2015-09-29 11:29:13 -04:00
Huamin Chen 8dbbcefdec rbd: don't use /dev/rbd/pool/image; use sysfs to find rbd device instead
rbd: if rbd image is not formatted, format it to the designated filesystem type

rbd: update example README.md and include instructions to get base64 encoded Ceph secret

if rbd fails to lock image, unmap the image before exiting

Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-09-29 10:13:01 -04:00
Filip Grzadkowski 4b515db460 Fix phabricator example 2015-09-29 14:56:16 +02:00
Zichang Lin 0883e61f4a Update cephfs example according to config best practices 2015-09-28 20:03:06 +08:00
feihujiang a71b2f289a Use kubectl delete to replace stop in an example 2015-09-28 10:54:43 +08:00
Harry Zhang a8f09114f9 Fix example test 2015-09-26 08:08:04 +00:00
Harry Zhang cf16480add Fix wrong comment in console example 2015-09-26 07:10:40 +00:00
Harry Zhang 00f5206627 Fix scripts in yaml and doc 2015-09-26 07:10:40 +00:00
harry 56809f056e Demo a sidecar mode within pod for java users 2015-09-26 07:10:40 +00:00
Anthony Yeh cc45d293e2 Add Vitess example for sharded MySQL in Kubernetes.
This is a simplified version of the configs found in the Vitess repo:

https://github.com/youtube/vitess/tree/master/examples/kubernetes

Here we use a single script to start all of Vitess, since the aim is
just to show the end result. The full tutorial on our site goes into
much more detail on each step:

http://vitess.io/getting-started/
2015-09-25 14:50:17 -07:00
Chao Xu 4e8c5e5e19 install the legacy v1 API for make_secret.go in http-nginx example 2015-09-25 10:24:38 -07:00
Eric Tune bf9e93250e Job and DaemonSet documentation. 2015-09-24 17:51:25 -07:00
Brian Grant 838591e7c1 Merge pull request #14235 from epixa/patch-1
Fix typos in nodesjs-mongodb example readme
2015-09-24 16:49:22 -07:00
Brian Grant f30b0c46de Merge pull request #14183 from Huawei-PaaS/issue/fix-cephfs-example-typo
Fix Cephfs example typo
2015-09-24 16:49:00 -07:00
Chao Xu ae1293418b move experimental/v1 to experimental/v1alpha1;
use "group/version" in many places where used to expect "version" only.
2015-09-24 15:32:11 -07:00
Eric Tune 2eb60f4326 Merge pull request #14319 from nikhiljindal/deploymentExamplew
Adding an example deployment yaml
2015-09-24 13:57:18 -07:00
nikhiljindal 60bd4012ae Adding a deployment example 2015-09-23 18:41:11 -07:00
Eric Tune 1311f44b0c Merge pull request #14222 from linzichang/fix-document-link
Fix document link
2015-09-23 16:44:18 -07:00
Harry Zhang 0840785730 Fix minor error in Pod introduction 2015-09-23 16:08:09 +08:00
Zichang Lin fb373d050b Fix document link 2015-09-23 10:17:05 +08:00
k8s-merge-robot 6dad530a1f Merge pull request #12599 from rootfs/fc_volume
Auto commit by PR queue bot
2015-09-20 17:20:26 -07:00
Jian Huang 0fc9cc8d41 Fix Cephfs Example Typo 2015-09-20 08:50:16 +08:00
Court Ewing 3f123535a0 Fix typos in nodesjs-mongodb example readme 2015-09-19 16:58:52 -04:00
Huamin Chen ed9a1bbd3a support fibre channel volume
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-09-18 19:15:31 -04:00
Tim Hockin c013e22a03 Merge pull request #14158 from linzichang/fix-service-link
Fix document link
2015-09-18 09:12:22 -07:00
Zichang Lin ce158b7739 Fix document link 2015-09-18 14:57:44 +08:00
Daniel Martí 586cb9126a Move pkg/util.Time to pkg/api/unversioned.Time
Along with our time.Duration wrapper, as suggested by @lavalamp.
2015-09-17 17:51:27 -07:00
Jeff Lowdermilk 0f8bad0141 Merge pull request #13973 from jayunit100/k8bps-nodeport
[examples k8petstore] Fix nodeport impl
2015-09-15 17:39:25 -07:00
jayvyas 6e3d6738c6 [examples k8petstore] Fix nodeport impl 2015-09-15 11:33:12 -04:00
Wojciech Tyczynski 216c2d3e02 Fix glusterfs example 2015-09-15 16:46:39 +02:00
Bastien Chong b8bd3f48cb Update README.md 2015-09-14 18:30:55 -07:00
Jeff Lowdermilk 1f97fbeae6 Merge pull request #13675 from derekwaynecarr/move_resource_quota_doc
Move resource quota doc from user-guide to admin
2015-09-14 16:02:47 -07:00
Jeff Lowdermilk e25ae7fdb2 Merge pull request #13833 from caesarxuchao/central-latest
[WIP] Making a generic latest package
2015-09-14 09:26:58 -07:00
eulerzgy a245aa59e6 fix document 2015-09-12 22:49:13 +08:00
k8s-merge-robot 00192ee944 Merge pull request #13371 from wb14123/glusterfs
Auto commit by PR queue bot
2015-09-11 19:15:31 -07:00
Chao Xu 0b6fd8c5c4 fixing tests 2015-09-11 17:33:22 -07:00
Chao Xu dd6c121d7f massive changes 2015-09-11 17:31:47 -07:00
derekwaynecarr 48d0e8945d Move resource quota doc from user-guide to admin 2015-09-11 12:07:12 -04:00
k8s-merge-robot 4f84e3f779 Merge pull request #13758 from amygdala/gb2
Auto commit by PR queue bot
2015-09-09 17:03:04 -07:00
Chao Xu 183c6e2e84 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 d531f0fd8b 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
Bin Wang bfdfbd0be3 Add a service with glusterfs endpoints 2015-09-09 14:27:25 +08:00
k8s-merge-robot 891cef4efa Merge pull request #13530 from goltermann/docs
Auto commit by PR queue bot
2015-09-08 19:19:15 -07:00
k8s-merge-robot c8526ad2da Merge pull request #12497 from amygdala/gb2
Auto commit by PR queue bot
2015-09-08 17:59:17 -07:00
goltermann bec4c10dc4 Replace IRC with Slack in docs. 2015-09-08 15:17:39 -07:00
Carsten Clasohm d093fe0c4b add raw flag for GitHub download links 2015-09-07 17:43:09 -07:00
k8s-merge-robot 8cc75a4734 Merge pull request #13031 from daizuozhuo/kubectl-get
Auto commit by PR queue bot
2015-09-06 13:15:05 -07:00
Harry Zhang 014fa231de Specify how to do NFS demo for other providers
Many people asked me how to allow privileged mode for their own cluster, we need to specify that.
2015-09-06 12:05:32 +00:00
Dai Zuozhuo 2e2ef3e830 change -o template to -o go-template=... 2015-09-05 22:30:47 +08:00
Quinton Hoole dd68f0b23f Merge pull request #13551 from eparis/cloudplatfrom-to-kubernetes
s|github.com/GoogleCloudPlatform/kubernetes|github.com/kubernetes/kub…
2015-09-04 12:36:01 -07:00
Quinton Hoole e4fbfa9777 Merge pull request #13025 from pires/example_elasticsearch
Revamped Elasticsearch example
2015-09-04 12:28:17 -07:00
Paulo Pires 0a64995b7b Revamped Elasticsearch example that now uses an Alpine Linux container with JRE 8u51 and Elasticsearch 1.7.1.
Replaced Go discovery mechanism for Elasticsearch discovery plug-in that supports Kubernetes.
2015-09-04 09:39:14 +01:00
Amy Unruh 3574999fa3 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
Eric Paris 04fc8ae3dd s|github.com/GoogleCloudPlatform/kubernetes|github.com/kubernetes/kubernetes| 2015-09-03 10:10:11 -04:00
Brendan Burns 2df5010834 Merge branch 'sdminonne-container_sidecar' 2015-09-02 10:42:08 -07:00
Salvatore Dario Minonne f4dc0653aa adding downward api volume plugin 2015-09-01 22:23:03 +02:00
Huamin Chen fe559f2726 implement Ceph FS volume plugin and add to e2e volume test
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-09-01 14:05:17 -04:00
Brendan Burns 43e7c9b211 Merge pull request #13367 from spothanis/cinder
Cinder Volume Plugin
2015-09-01 10:05:15 -07:00
Alex Chan 2d1133de98 Fix two broken codeblocks in Guestbook example
Looking at the currently published version (http://kubernetes.io/v1.0/examples/guestbook-go/README.html), there are a pair of unprocessed code fence blocks. This commit is an attempt to fix the problem.
2015-09-01 12:17:44 +01:00
Sreekanth Pothanis f5da6b34ce Cinder Volume Plugin 2015-08-30 19:56:27 -07:00
Shaun Parker 6db9b3c302 Stopped the token argument from being passed to the elasticsearch_discovery script. It was no longer needed after kubernetes/kubernetes#12621 was merged. The token argument causes the script to error out and stops Elasticsearch nodes from forming a cluster.
Bumped docker tag from 1.1 to 1.2 and updated README and RC config to reference updated version.
2015-08-29 14:48:42 -06:00
Prashanth B 05b205bab6 Revert "Volume Plugin for Cinder; Openstack Block Storage" 2015-08-28 10:56:24 -07:00
Sreekanth Pothanis c841a20361 Cinder Volume Plugin 2015-08-25 15:13:56 -07:00
Janet Kuo 5823ef771b Make --validate default on and shows how to turn if off 2015-08-25 03:18:32 -07:00
Eric Paris 03f4e52812 Make verify-flags-underscore.py return error on failure
We were running it in shippable and travis, but since it didn't return
an error it wasn't actually catching things.
2015-08-24 22:12:17 -05:00
arun-gupta fe25b18573 Squashing commits
adding a Java EE sample, fixing #11477

adding location to the source

adding partial review comments from #12110

adding syncer macros and fixing links
2015-08-21 11:45:16 -07:00
Sandeep Dinesh d27a104454 Added Node.js / MongoDB example 2015-08-19 18:04:53 -07:00
Robert Bailey a2caee0d33 Merge pull request #12621 from satnam6502/elasticsearch-example
Update Elasticsearch example to remove use of secrets
2015-08-18 11:49:29 -07:00
Kris Rousey ae6c64d9bb Moving everyone to unversioned client 2015-08-18 10:23:03 -07:00
Satnam Singh cf549ed83f Update Elasticsearch example to remove use of secrets 2015-08-17 16:48:46 -07:00
Robert Bailey b67e8edf1d Merge pull request #12199 from mesosphere/relative-guestbook
Convert guestbook example to relative urls
2015-08-17 13:50:11 -07:00
Robert Bailey 5584d85574 Merge pull request #12752 from mikedanese/move-service-lb
remove service-loadbalancer since it lives in contrib/ now
2015-08-17 10:59:08 -07:00
Dr. Stefan Schimanski 227f8de5a4 Switch to gcr.io Docker registry 2015-08-17 09:43:52 +02:00
Dr. Stefan Schimanski 043df0e057 Convert guestbook example to relative urls 2015-08-17 09:43:51 +02:00
Mike Danese 37bb279fae remove service-loadbalancer since it lives in contrib/ now 2015-08-14 15:16:47 -07:00
Marcin Wielgus 1a1f751197 Add image version to examples/spark 2015-08-14 19:52:26 +02:00
Mike Danese f061875840 updating all references in .sh scripts 2015-08-12 14:41:59 -07:00
Kris Rousey 565189f5b8 Correcting all go vet errors 2015-08-11 13:55:37 -07:00
Filip Grzadkowski 9dd3cac82e Merge pull request #12423 from brendandburns/service
Make services print on a single line.
2015-08-11 10:29:23 +02:00
Brendan Burns 79fb674679 Fix the service printer to be a single line per service 2015-08-10 10:57:45 -07:00
Prashanth Balasubramanian e27806d79d Multi-cluster services documentation, take II 2015-08-10 10:18:03 -07:00
Marek Grabowski daf4ff4acf Revert "Add multi cluster services documentation " 2015-08-10 16:43:21 +02:00
Marek Grabowski 5f9cefc1d8 Merge pull request #12441 from vlajos/typofixes-vlajos-20150807
typofix - https://github.com/vlajos/misspell_fixer
2015-08-10 16:33:52 +02:00
Marek Grabowski 4858f2a722 Merge pull request #12309 from bprashanth/haproxy_gcr
Add multi cluster services documentation
2015-08-10 16:31:51 +02:00
Ed Costello 35a5eda585 Copy edits for typos 2015-08-09 14:18:06 -04:00
Veres Lajos 9f77e49109 typofix - https://github.com/vlajos/misspell_fixer 2015-08-08 22:31:48 +01:00
Eric Paris 20e8c25343 Converts examples/ from --flag_name= to --flag-name= 2015-08-07 11:00:13 -04:00
Prashanth Balasubramanian efbeba58f2 Add a sharing clusters example 2015-08-06 18:02:01 -07:00
Dawn Chen 2fa3004500 Merge pull request #12349 from roberthbailey/kubelet-on-master
Register the kubelet on the master node with an apiserver.
2015-08-06 15:20:35 -07:00
Robert Bailey 8df33bc1a7 Register the kubelet on the master node with an apiserver. This option is
separated from the apiserver running locally on the master node so that it
can be optionally enabled or disabled as needed.

Also, fix the healthchecking configuration for the master components, which
was previously only working by coincidence:

If a kubelet doesn't register with a master, it never bothers to figure out
what its local address is. In which case it ends up constructing a URL like
http://:8080/healthz for the http probe. This happens to work on the master
because all of the pods are using host networking and explicitly binding to
127.0.0.1. Once the kubelet is registered with the master and it determines
the local node address, it tries to healthcheck on an address where the pod
isn't listening and the kubelet periodically restarts each master component
when the liveness probe fails.
2015-08-06 13:39:32 -07:00
Dawn Chen e45493ecc2 Merge pull request #11995 from pat2man/non_root_cassandra
Adjust permissions so that Cassandra can run without root access
2015-08-06 12:57:48 -07:00
Steve Kuznetsov ea3998e981 Implementing standalone etcd for openshift 2015-08-06 09:42:11 -04:00
Wojciech Tyczynski e366f2c597 Merge pull request #12206 from derekwaynecarr/move_doc
LimitRange documentation should be under admin
2015-08-06 13:43:58 +02:00
Mike Danese 17defc7383 run gofmt on everything we touched 2015-08-05 17:52:56 -07:00
Mike Danese 8e33cbfa28 rewrite go imports 2015-08-05 17:30:03 -07:00
Dawn Chen 13258e8f8f Merge pull request #12091 from mwielgus/spark-flaky
Fix spark-driver in examples/spark
2015-08-05 12:03:34 -07:00
derekwaynecarr 577f2fa0a5 LimitRange documentation should be under admin 2015-08-05 10:26:52 -04:00
Marcin Wielgus 41bc20d1e0 Fix spark-driver in examples/spark 2015-08-05 15:45:43 +02:00
Kyle Mathews eb271e0c39 Copy and typo fixes 2015-08-03 16:14:09 -07:00
Eric Paris 024208e39f Fix trailing whitespace in all docs 2015-07-30 20:41:30 -04:00
Eric Paris 4cbca2e63c 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
Brendan Burns 1d9a0623f2 Merge pull request #11047 from gurvindersingh/master
modified spark example to use kubectl exec to interact with cluster a…
2015-07-30 10:01:10 -07:00
Gurvinder Singh e1d76d5f19 added test for spark driver too 2015-07-30 09:47:56 +02:00
Gurvinder Singh f64d89fd1d fixed documentations after running gendocs.sh 2015-07-29 22:21:10 +02:00
Patrick Tescher f114460204 Adjust permissions so that Cassandra can run without root access
This allows both non root access as well as running with —user=<random
id>
2015-07-29 12:01:08 -07:00
Janet Kuo 180798cfa4 Use example syncer tags instead of hard-coded examples in doc 2015-07-27 14:48:41 -07:00
Daniel Smith 777cad12d5 Merge pull request #11881 from mwielgus/cassandra-image
Cassandra gcr.io/google_containers image version inc
2015-07-27 14:14:39 -07:00
Gurvinder Singh 5599d83685 added standard copyright 2015-07-27 23:01:49 +02:00
Marek Grabowski 1b0ce7a32e Merge pull request #11828 from mikedanese/cassandra-cleanup
cleanup cassandra example to conform to doc standards
2015-07-27 16:11:47 +02:00
Marcin Wielgus ffb3f2535f Cassandra gcr.io/google_containers image version inc 2015-07-27 13:34:47 +02:00
Marek Grabowski 7b9e2ac63b Merge pull request #11734 from thockin/cleanup-deprecated-rest-alias
Remove deprecated 'se' resource alias
2015-07-27 12:56:43 +02:00
Gurvinder Singh 5f48898498 added indent for sleep 2015-07-25 21:16:06 +02:00
Gurvinder Singh 2a6546cada fixed conflict with the current upstream master 2015-07-25 21:15:34 +02:00
Mike Danese 647eb0ba8b cleanup cassandra example to conform to doc standards 2015-07-24 12:38:26 -07:00
Patrick Tescher 5da58d91cd Updated Cassandra Dockerfile to include procps.
The Cassandra Docker image was failing to start due to the free command not being available.
2015-07-24 10:40:33 -07:00
Mike Danese ae1c8e55ef Merge pull request #11737 from thockin/cleanup-remove-v1beta3
Remove v1beta3
2015-07-24 10:25:56 -07:00
Mike Danese 816586bcef Merge pull request #10866 from jlowdermilk/kubectl-create-f
kubectl resource builder: don't check extension for single files
2015-07-24 08:03:43 -07:00
Rafal Gajdulewicz a7231d86cb Fix typo in guestbook-go 2015-07-24 09:37:28 +02:00
Vish Kannan 1a908a272e 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
Vish Kannan 6306ad1bce Merge pull request #11736 from thockin/cleanup-dns-legacy
Stop populating legacy DNS names
2015-07-23 17:30:00 -07:00
Tim Hockin 1c3233a1d4 Remove v1beta3 2015-07-23 17:21:27 -07:00
Vish Kannan 1bbdf94ccf Merge pull request #11716 from mesosphere/guestbook-relative-links
Make guestbook-go url paths relative to survive multiple proxies
2015-07-23 14:33:26 -07:00
Tim Hockin 89e9851ac5 Update examples to not use old DNS names 2015-07-23 13:51:09 -07:00
Tim Hockin c4b707192d Remove deprecated 'se' resource alias 2015-07-23 12:04:01 -07:00
Paul Morie 13713fda72 Make examples test easier to debug 2015-07-23 10:38:39 -04:00
Marcin Wielgus 3d82de849f E2E test for examples/storm 2015-07-23 13:20:52 +02:00
Tim Hockin 5a82a9018f Nit in phabricator doc 2015-07-22 17:24:47 -07:00
Karl Isenberg 11b3fb3bdc Make guestbook-go url paths relative to survive multiple proxies 2015-07-22 15:20:22 -07:00
Kris Rousey 0d0dfe440c Fixing examples_test for moved files in #11595 2015-07-20 16:51:25 -07:00
krousey 0bbc6a38f3 Merge pull request #11590 from thockin/docs-ordered-lists-with-code
nop numbered list in doc to use manual numbering
2015-07-20 12:24:25 -07:00
Tim Hockin 55834e46b9 nop numbered list in doc to use manual numbering 2015-07-20 11:36:00 -07:00
Tim Hockin 995a7aef29 Collected markedown fixes around syntax. 2015-07-20 09:51:22 -07:00
David Oppenheimer dec9adfe2e Replace ```shell with ```sh 2015-07-19 21:38:53 -07:00
Brian Grant 091e7c031b Merge pull request #11511 from satnam6502/doc6
Convert shell to console outpout for Guestbook example documentation
2015-07-18 16:36:17 -07:00
Brian Grant d20a1abcd9 Merge pull request #11510 from satnam6502/doc5
Convert shell to console output style for Guestbook Go example
2015-07-18 16:35:27 -07:00
Brian Grant d9e1f2afff Merge pull request #11509 from satnam6502/doc4
Update console output for Elasticsearch example documentation
2015-07-18 16:33:08 -07:00
Satnam Singh 1a0d309a3c Convert shell to console outpout for Guestbook example documentation 2015-07-18 23:03:55 +01:00
Satnam Singh ef2fd1e47d Convert shell to console outout style for Guestbook Go example 2015-07-18 23:00:46 +01:00
Satnam Singh 975bd9e1a6 Update console output for Elasticsearch example documentation 2015-07-18 22:53:25 +01:00
Tim Hockin 25cec6ebb5 Fix errant quad-tick in docs 2015-07-18 14:06:08 -07:00
Tim Hockin 278532ead1 Fix errant ``` in doc 2015-07-18 14:06:08 -07:00
Tim Hockin 33f1862830 Run gendocs 2015-07-17 15:35:43 -07:00
Abhi Shah 816f18a388 Merge pull request #11424 from lavalamp/mungePreformatted
Munge preformatted
2015-07-17 13:32:38 -07:00
Mike Danese 1133b62f50 update meteor example according to config best practices. 2015-07-17 12:40:32 -07:00
David Oppenheimer 1ca454a4a2 Merge pull request #11401 from mikedanese/unneccesary-hostport
removed unneccesary usage of hostport from clerey-rabbit examples
2015-07-17 12:13:25 -07:00
Daniel Smith f7873d2a1f apply changes 2015-07-17 11:04:46 -07:00
Tim Hockin 542e13d2d3 Better scary message 2015-07-17 09:28:49 -07:00
Brian Grant 55e9356bf3 Merge pull request #11405 from mikedanese/namespace-example-move
move kubernetes-namespaces to docs/user-guide
2015-07-16 22:51:17 -07:00
Brian Grant 786b59427d Merge pull request #11400 from lavalamp/munger
Add absolute path link checking to munger
2015-07-16 22:50:14 -07:00
Mike Danese ee7498e6ac move kubernetes-namespaces to docs/user-guide 2015-07-16 16:29:44 -07:00
Daniel Smith 98eeadb66e (mostly) auto fixed links 2015-07-16 16:28:18 -07:00
Tim Hockin f7512d007b Add munger to verify kubectl -f targets, fix docs 2015-07-16 15:39:45 -07:00
Mike Danese e156828b4d removed unneccesary usage of hostport from clerey-rabbit examples 2015-07-16 14:56:12 -07:00
nikhiljindal 1517b66001 Updating an error to apierror 2015-07-15 16:43:59 -07:00
Karl Isenberg ca934c7386 Walkthrough example cleanup
- Add kubectl command examples
- Add tables of contents
- Skip 3rd header tier to make sections more clear
- Reference cmd-exec example for curling pod & service IPs
- Make section layout, text patterns, changes & links more consistent
- Canonical yaml formatting
2015-07-15 14:27:11 -07:00
Tim Hockin 8f3c3108b8 Merge pull request #11246 from bprashanth/nginx_https
Add an nginx https example
2015-07-14 23:50:31 -07:00
Tim Hockin d1e92e04e4 Merge pull request #11273 from mikedanese/add-docs-to-tarball
Add docs to tarball
2015-07-14 22:43:16 -07:00
Mike Danese 337772a91f fix all tests 2015-07-14 21:51:30 -07:00
Mike Danese b98df5d12e remove duplicated files 2015-07-14 21:08:07 -07:00
Tim Hockin fe89298c09 Fix load-balancer firewall messages 2015-07-14 21:07:46 -07:00
Prashanth Balasubramanian 5fe8afceac Add a nginx https example 2015-07-14 18:09:13 -07:00
Tim Hockin 39b86908a1 Run gendocs 2015-07-14 17:28:47 -07:00
Tim Hockin 79f9cd7c83 Run gendocs 2015-07-14 15:28:59 -07:00
Mike Danese a599767c54 readd test case for pod.yaml 2015-07-14 15:09:47 -07:00
Eric Tune 90f023b14f Fixup doc links.
Missed in #11256
2015-07-14 13:40:48 -07:00
Eric Tune f23f7a1977 Merge pull request #11256 from mikedanese/fix-e2e
temporary fix e2e by duping files
2015-07-14 13:09:02 -07:00
Mike Danese 1e85c9cf92 temporary fix e2e by duping files 2015-07-14 13:02:59 -07:00
Eric Tune 50159864ee Merge pull request #11146 from mwielgus/hazelcast
examples/hazelcast - pass namespace via env, reduce cpu requirements and inc image version
2015-07-14 12:47:47 -07:00
Mike Danese 2476d78ac2 point tests to new doc location 2015-07-14 12:23:16 -07:00
Mike Danese 3eff8fce41 automated link fixes 2015-07-14 10:51:10 -07:00
Mike Danese 14c3fc5afe move user docs to their new home 2015-07-14 10:26:36 -07:00
Marcin Wielgus 23d659a029 examples/hazelcast - pass namespace, reduce cpu requirements and inc image version 2015-07-14 11:49:34 +02:00
Tim Hockin ab0d97e48a Merge pull request #11013 from lavalamp/docs
Move admin related docs into docs/admin
2015-07-13 20:25:44 -07:00
Tim Hockin 51e601ce2d Merge pull request #11107 from pires/fix_hazelcast_example
Fixed Hazelcast example.
2015-07-13 20:18:12 -07:00
Daniel Smith b1555956e9 standardize on - instead of _ in file names 2015-07-13 18:32:00 -07:00
Paulo Pires 3f42ac65dd Fixed Hazelcast example documentation relative links. 2015-07-13 21:17:47 -04:00
Daniel Smith 0dd130ea18 remove old warning 2015-07-13 17:48:40 -07:00
Daniel Smith 821e08fded Apply mungedocs changes 2015-07-13 17:48:40 -07:00
Daniel Smith 1263a30644 fix broken example links 2015-07-13 17:47:48 -07:00
Tim Hockin 5cf5445d24 Change 'minion' to 'node' in docs 2015-07-13 15:59:30 -07:00
Paulo Pires 66a07664a5 Fixed Hazelcast example.
Upgraded to API v1.
2015-07-11 09:50:01 +01:00
Brendan Burns 80e92360ec Merge pull request #9904 from jayunit100/ha
[HA] Fully automated impl of containerized high available etcd+apiserver+controllermgr+scheduler
2015-07-10 20:51:38 -07:00
Rohit Jnagal e5ce898058 Merge pull request #9264 from derekwaynecarr/limit_range_readme
LimitRange example improvements, detailed README
2015-07-10 19:14:23 -07:00
Rohit Jnagal 4923bb2de1 Merge pull request #10935 from caesarxuchao/kubectl-output-in-examples
update kubectl output in examples
2015-07-10 15:49:37 -07:00
jayunit100 f4946693c6 Cloud agnostic minmal implementation of podmaster HA components. 2015-07-10 18:28:09 -04:00
Chao Xu f8047aa635 Update output of kubectl in examples 2015-07-10 12:48:58 -07:00
Tim Hockin cb8e27230e When releasing, update versions in title 2015-07-10 09:04:19 -07:00
derekwaynecarr c8ad995462 LimitRange example improvements, detailed README 2015-07-10 11:07:54 -04:00
Gurvinder Singh a046fa478d modified spark example to use kubectl exec to interact with cluster and create spark driver pod 2015-07-10 11:19:55 +02:00