Commit Graph

1029 Commits (5daf01bfd151ceaaa8b8952be9d4f4bd86681da2)

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