Commit Graph

1103 Commits (c5ca042ede886ba4075ecbbc9cac9a55a3c255af)

Author SHA1 Message Date
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