Commit Graph

1340 Commits

Author SHA1 Message Date
Clayton Coleman 1478ad12ed 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 770998eab2 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 b0d8bf46c9 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 7dbb5cebfc Merge pull request #18141 from tback/master
Auto commit by PR queue bot
2015-12-06 11:56:00 -08:00
Hongbin Lu e3984c8d1f Fixed the Dockerfile for building redis image
The Dockerfile copies a non-existent file, which fails the image
building process. As a result, the built image is incomplete. This
seems to be the reason why the redis example doesn't work (because
the docker image kubernetes/redis:v1 is incorrectly built).
2015-12-05 12:28:34 -05:00
Tim Hockin e8f1f5b7c1 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 456704df5f Remove obsolete sentinel.py from redis example 2015-12-03 09:32:10 +01:00
Marek Grabowski 0c685a27ae 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 d7e3392688 auto update 2015-12-01 16:49:46 +01:00
Gerti Poppel f5f0b2b86a fixed some typos and formatting 2015-12-01 16:46:21 +01:00
Brandon Philips 9737c07c16 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 e66fe3f8c7 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 0a64afcedb Scheduler extension 2015-11-25 08:19:27 -08:00
k8s-merge-robot 2815eb03fe Merge pull request #14623 from linzichang/fixup-cassandra
Auto commit by PR queue bot
2015-11-25 04:57:14 -08:00
Brad Erickson 4399b22d87 Minion->Node rename: NUM_NODES 2015-11-25 00:45:10 -08:00
Tim Hockin 8a67a26e50 Stronger typing for validation ErrorList 2015-11-23 10:01:43 -08:00
Matthew Farrellee 43a66a30d6 Eliminate need for wget (use curl), use fewer intermediate files be quiet 2015-11-20 18:54:13 -05:00
Matthew Farrellee af958f8ea7 Change default to local build, require explicit "make push" to push 2015-11-20 16:58:59 -05:00
Matthew Farrellee 71d545093e Install numpy on all spark images 2015-11-20 16:05:47 -05:00
Matthew Farrellee f7a9390aec Use upstream zeppelin 0.5.5 release 2015-11-20 14:22:56 -05:00
Matthew Farrellee b1863993b8 Add cleaning to clean target 2015-11-20 10:19:57 -05:00
Zach Loafman d30f5345bd 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 0dcfb0205e Fix typo in guestbook README 2015-11-18 11:25:21 -05:00
Tim Hockin 7477a38906 try harder to timeout hung curls in examples test 2015-11-17 23:53:39 -08:00
Zach Loafman 5102d9115e 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 9b48205808 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 fed983c5f7 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 6f5bbcf2b8 Merge pull request #17025 from zmerlynn/zeppelin
Auto commit by PR queue bot
2015-11-13 16:12:54 -08:00
Tim Hockin 34577ed6aa Run update-gendocs 2015-11-13 13:57:57 -08:00
Zach Loafman 077eb36715 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 8742d5380e Merge pull request #16411 from feihujiang/deleteSimpleYamlDocInUserGuide
Auto commit by PR queue bot
2015-11-13 11:13:23 -08:00
k8s-merge-robot 0290ad36eb Merge pull request #17075 from jeffvance/k8bps-fedora
Auto commit by PR queue bot
2015-11-12 01:17:47 -08:00
feihujiang b5ae9f9493 Delete the simple-yaml.md example 2015-11-12 13:48:52 +08:00
k8s-merge-robot 5f8e8d32d0 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 dcbd4e2db2 don't use docker-machine for k8petstore on linux 2015-11-11 11:41:30 -08:00
Dr. Stefan Schimanski 2bd9902aab Add Makefile to build examples/cluster-dns images 2015-11-11 17:18:35 +01:00
Dr. Stefan Schimanski e02f75b2b6 Move dns-frontend images to gcr.io 2015-11-11 17:16:19 +01:00
Dr. Stefan Schimanski 715b6c8ea4 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 d249b6e622 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 20d93a627a Merge pull request #15146 from linzichang/fixup-elasticsearch
Auto commit by PR queue bot
2015-11-09 22:35:37 -08:00
Zichang Lin 29410b9fcb Update cassandra example according to config best practices 2015-11-10 14:19:22 +08:00
k8s-merge-robot 76c25617c5 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 27ca227698 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 407a606117 Update guestbook example according to config best practices 2015-11-07 14:39:32 +08:00
MikeJeffrey 87d4a22a3d Forcing mysql version to 5.6
to work around breaking change in 5.7
2015-11-06 18:26:17 -08:00
MikeJeffrey 3d95fadc54 Forcing mysql version 5.6
to work around breaking change in 5.7
2015-11-06 18:25:44 -08:00
k8s-merge-robot f8dcaa8e30 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 7a6e85db57 Merge pull request #16574 from hurf/stop_doc
Auto commit by PR queue bot
2015-11-05 19:43:21 -08:00
Zach Loafman a2f750b3fb Remove unneeded pieces 2015-11-05 14:58:18 -08:00
Kent Rancourt 18e0f78cb4 Improve examples/https-nginx dependency management 2015-11-05 14:27:08 -05:00