Commit Graph

1363 Commits

Author SHA1 Message Date
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
jijun2 1fe4b9a652 Update pod.yaml 2015-10-06 15:22:49 +08:00
jijun2 3235b46038 update example explorer for best practices 2015-10-06 00:03:04 -04:00
Alex Robinson 1b2f1432d7 Merge pull request #14044 from rootfs/rbd_enhancement
Multiple rbd volume enhancements
2015-10-05 17:36:11 -07:00
Alex Robinson ee0aef3726 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 0869959255 Merge pull request #13729 from CaptTofu/mysql-galera-example
Added Galera example to kubernetes.
2015-10-05 13:05:33 -07:00
Anthony Yeh 6f17b08584 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 fe99fa36b7 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 d195e007b3 Merge pull request #14328 from agonzalezro/flocker
Add flocker volume plugin
2015-10-02 16:02:18 -07:00
Patrick Galbraith 586be6bb0d Added Galera example to kubernetes. (post review) 2015-10-02 18:55:09 +00:00
k8s-merge-robot 856cd7c040 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 d45779b85e Merge pull request #14653 from fgrzadkowski/fix_phabricator
Auto commit by PR queue bot
2015-10-02 03:48:28 -07:00
Brendan Burns e964c487bf Merge pull request #14880 from kevensen/cassandra-example
Casandra Example Enhancement
2015-10-01 15:20:58 -07:00
k8s-merge-robot 839e23ba5b 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 d11fc517eb 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 1c01f4ac60 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 fa49234b4e 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 2427b991b2 Update celery-rabbitmq example according to config best practices 2015-09-30 16:53:21 +08:00
k8s-merge-robot d97e76338a Merge pull request #14631 from feihujiang/replaceKubectlStopExample
Auto commit by PR queue bot
2015-09-29 20:10:58 -07:00
derekwaynecarr a34467e4b6 Add an example demonstrating runtime constraints 2015-09-29 11:29:13 -04:00
Huamin Chen 48192e2f63 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 4d8d3721e9 Fix phabricator example 2015-09-29 14:56:16 +02:00
Zichang Lin e97070d8f1 Update cephfs example according to config best practices 2015-09-28 20:03:06 +08:00
feihujiang 7a6040413b Use kubectl delete to replace stop in an example 2015-09-28 10:54:43 +08:00
Harry Zhang 2afb43db06 Fix example test 2015-09-26 08:08:04 +00:00
Harry Zhang 9cd02e9c3a Fix wrong comment in console example 2015-09-26 07:10:40 +00:00
Harry Zhang 965801a375 Fix scripts in yaml and doc 2015-09-26 07:10:40 +00:00
harry 20f6894667 Demo a sidecar mode within pod for java users 2015-09-26 07:10:40 +00:00