Commit Graph

1340 Commits

Author SHA1 Message Date
k8s-merge-robot 4926c98a0b Merge pull request #10174 from ghost974/patch-1
Auto commit by PR queue bot
2015-11-04 23:32:01 -08:00
Christian Stewart 580217461a 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 569684a36c 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 ebe5bd5270 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 4856ee94ff 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 034036670d Spark: Update example to use kubectl proxy rather than load balancer 2015-10-29 05:59:31 -07:00
k8s-merge-robot 1c79db1e81 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 92d4264da1 Merge pull request #16069 from zmerlynn/nfs-1.1
Auto commit by PR queue bot
2015-10-28 22:39:09 -07:00
nikhiljindal 0f0111200c Adding a user-guide doc for deployments 2015-10-28 13:14:08 -07:00
Zach Loafman 20b88b879c 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 f30c03ddc1 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 0286e254ac 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 dd77b24146 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 4061d3e315 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 e12c90514e Spark: Bump images to 1.5.1, add Makefile 2015-10-24 12:44:12 -07:00
k8s-merge-robot 51a67d8869 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 f2283f3db2 Merge pull request #13109 from copejon/master
Auto commit by PR queue bot
2015-10-23 19:40:29 -07:00
Jerzy Szczepkowski 379c4c9536 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 815d004761 Add Spark-GlusterFS example 2015-10-23 09:01:56 -05:00
Prashanth Balasubramanian d040565c3f Ingress docs 2015-10-22 19:09:50 -07:00
k8s-merge-robot f8c5a634ea Merge pull request #16015 from feihujiang/fixMinorErrorsInNfsExample
Auto commit by PR queue bot
2015-10-22 11:41:41 -07:00
qiaolei faebfbe5ce 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 496bb4c01b Merge pull request #15842 from piosz/hpa-example
Auto commit by PR queue bot
2015-10-22 01:19:52 -07:00
feihujiang 9acb088853 Fix minor errors in nfs example 2015-10-21 15:15:03 +08:00
Piotr Szczesniak 488958a49f Change HPA example to use new API objects 2015-10-20 13:38:28 +02:00
Steve Milner 6de85cd793 Fixes remaining imports per #15319 2015-10-20 07:13:13 -04:00
k8s-merge-robot 0b6318d0a4 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 05c38583eb refactor "experimental" to "extensions" in documents 2015-10-15 13:39:54 -07:00
Harry Zhang 35dea31c49 Fix wrong tail -f command 2015-10-15 07:31:21 +00:00
Brian Grant 74c7a006c5 Clarify what belongs in examples vs. docs. 2015-10-14 20:10:52 +00:00
Dawn Chen 7bfb18f9d9 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 e2ca36f856 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 877af80b1b 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 5011405033 Merge pull request #15452 from jayunit100/petstore-dev
Auto commit by PR queue bot
2015-10-13 04:36:25 -07:00
eulerzgy d0838eae12 fix typo of cassandra example 2015-10-13 16:26:40 +08:00
Dawn Chen 3e7cc6b7f3 Merge pull request #15207 from elsonrodriguez/selenium-example-pr
Adds example for running Selenium on Kubernetes.
2015-10-12 17:08:00 -07:00
k8s-merge-robot f4cc960c09 Merge pull request #8145 from jayunit100/e2e-k8bps
Auto commit by PR queue bot
2015-10-12 08:05:35 -07:00
jayvyas 2cb95d8247 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 7e0c345c11 Added horizontal pod autoscaler example.
Added horizontal pod autoscaler example.
2015-10-12 10:35:55 +02:00
Chao Xu 55bd8ea38c fix examples 2015-10-09 15:58:07 -07:00
Chao Xu 9ddf2fec21 experimental. -> extensions. 2015-10-09 15:49:10 -07:00
Chao Xu dbc6403e43 apis/experimental->apis/extensions 2015-10-09 15:04:41 -07:00
k8s-merge-robot 934865e7e1 Merge pull request #15136 from jijun2/update-1006
Auto commit by PR queue bot
2015-10-09 03:06:49 -07:00
Elson Rodriguez fcb44c998c Ran document cleanup script, changed flags to be consistent. 2015-10-08 16:49:37 -07:00
Elson Rodriguez ff8f2392a2 Removes "name" labels, improves document flow, adds highlighting. 2015-10-07 19:49:55 -07:00
Mike Danese 4fcddc31bc 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 6966399e2d 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 d3fdce082e Update elasticsearch example according to config best practices 2015-10-07 09:52:32 +08:00
Elson Rodriguez c172cc61d2 Adds example for running Selenium on Kubernetes. 2015-10-06 18:24:33 -07:00
jayunit100 1d60613d9d K8PetStore E2E test, rebased and cleaned (10/5, 10/6) 2015-10-06 12:12:11 -04:00