Commit Graph

987 Commits (977da735db447ae1b48495ce8599eb87ed08786b)

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