Commit Graph

1227 Commits

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