Commit Graph

151 Commits (28df55fc31f658648681749e8545771c314b2bfd)

Author SHA1 Message Date
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 19c0a5b3d7 Merge pull request #15899 from bprashanth/ing_docs
Auto commit by PR queue bot
2015-10-24 11:34:22 -07: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
Steve Milner 8da2d4002f Fixes remaining imports per #15319 2015-10-20 07:13:13 -04:00
Chao Xu 0075f99333 refactor "experimental" to "extensions" in documents 2015-10-15 13:39:54 -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
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
Filip Grzadkowski 4b515db460 Fix phabricator example 2015-09-29 14:56:16 +02:00
Harry Zhang a8f09114f9 Fix example test 2015-09-26 08:08:04 +00:00
Eric Tune bf9e93250e Job and DaemonSet documentation. 2015-09-24 17:51:25 -07:00
nikhiljindal 60bd4012ae Adding a deployment example 2015-09-23 18:41:11 -07:00
Huamin Chen ed9a1bbd3a support fibre channel volume
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-09-18 19:15:31 -04: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
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
Bin Wang bfdfbd0be3 Add a service with glusterfs endpoints 2015-09-09 14:27:25 +08: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
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
Satnam Singh cf549ed83f Update Elasticsearch example to remove use of secrets 2015-08-17 16:48:46 -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
derekwaynecarr 577f2fa0a5 LimitRange documentation should be under admin 2015-08-05 10:26:52 -04:00
Gurvinder Singh e1d76d5f19 added test for spark driver too 2015-07-30 09:47:56 +02:00
Tim Hockin 1c3233a1d4 Remove v1beta3 2015-07-23 17:21:27 -07:00
Paul Morie 13713fda72 Make examples test easier to debug 2015-07-23 10:38:39 -04:00
Kris Rousey 0d0dfe440c Fixing examples_test for moved files in #11595 2015-07-20 16:51:25 -07:00
Mike Danese ee7498e6ac move kubernetes-namespaces to docs/user-guide 2015-07-16 16:29:44 -07:00
Karl Isenberg ca934c7386 Walkthrough example cleanup
- Add kubectl command examples
- Add tables of contents
- Skip 3rd header tier to make sections more clear
- Reference cmd-exec example for curling pod & service IPs
- Make section layout, text patterns, changes & links more consistent
- Canonical yaml formatting
2015-07-15 14:27:11 -07:00
Mike Danese 337772a91f fix all tests 2015-07-14 21:51:30 -07:00
Mike Danese a599767c54 readd test case for pod.yaml 2015-07-14 15:09:47 -07:00
Mike Danese 2476d78ac2 point tests to new doc location 2015-07-14 12:23:16 -07:00
derekwaynecarr c8ad995462 LimitRange example improvements, detailed README 2015-07-10 11:07:54 -04:00
Marcin Wielgus 2bf1e50b8a Flower service and updated kubectl outputs in examples/clery-rabbitmq 2015-07-08 11:10:59 +02:00
Anastasis Andronidis 697e07f864 Correctly parse multiple resources from files
Refactored how files, directories and stdin are handled. Every file must pass
through the FileVisitor and then streamed through StreamVisitor. FileVisitor
takes care of opening/closing files and StreamVisitor is parsing multiple
resources.
2015-06-29 23:11:46 +02:00
dingh 88c5f3f0a7 Example for policy config file for scheduler
Add a json file which can be used with --policy-config-file argument when starting kube-scheduler.

This file serves as an example for new Kubernetes users so that they can quickly understand how to
use '--policy-config-file' argument and have a brief idea about the scheduler policy.
2015-06-24 11:10:27 +08:00
Kris Rousey b6dfb919ee Change rbd example to use v1
Moved some files out of a v1beta3 sub directory and converted them. Also
modified the examples test to point to the new files.
2015-06-11 10:37:06 -07:00
derekwaynecarr 122681ea03 Improve resource quota example, add README 2015-06-03 18:55:42 -04:00
Chao Xu d52cef11a4 add v1 tests to hack/test-go; let default value of Container.SecurityContext to be nil 2015-06-03 09:50:41 -07:00
Brian Grant 619a72cd3b Merge pull request #9048 from kazegusuri/examples_test
validate all json/yaml examples under examples dir
2015-06-02 13:09:47 -07:00
Masahiro Sano 5b3abe719b validate all examples 2015-05-30 18:46:27 +09:00
Kris f4e2c738f6 Delete deprecated API versions
pkg/service:

There were a couple of references here just as a reminder to change the
behavior of findPort. As of v1beta3, TargetPort was always defaulted, so
we could remove findDefaultPort and related tests.

pkg/apiserver:

The tests were using versioned API codecs for some of their encoding
tests. Necessary API types had to be written and registered with the
fake versioned codecs.

pkg/kubectl:

Some tests were converted to current versions where it made sense.
2015-05-29 17:17:35 -07:00
Huamin Chen 4a800fd10e add rados block device(rbd) volume plugin
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-05-21 14:51:31 -04:00
Nikhil Jindal 6dc309b3cf Merge pull request #8200 from caesarxuchao/liveness-example
update example/liveness to v1beta3
2015-05-15 14:33:25 -07:00
Chao Xu b5439d4486 Update examples/glusterfs to v1beta3;
Add desciption of Glusterfs endpoints in README.md;
Add validation for endpoints in examples_test.go
2015-05-15 11:13:32 -07:00
Chao Xu 2dcecf1f65 update example/liveness to v1beta3;
update the exec-liveness.yaml to reflect PR#8011
add a README
2015-05-14 16:41:42 -07:00
Victor Marmol ce3cbdaf2c Merge pull request #8137 from caesarxuchao/iscsi-test
update example/iscsi to v1beta3
2015-05-14 09:49:04 -07:00
nikhiljindal e02b6f7f3f Fixing broken persistentvolume nfs example 2015-05-13 14:28:36 -07:00
Chao Xu 9d5ab52885 update example/iscsi to v1beta3;
add more instructions on how to setup iscsi target/initiator on GCE
2015-05-13 09:41:33 -07:00
Chao Xu 4a3ccabb12 update example/guestbook-go to v1beta3 2015-05-12 10:15:29 -07:00
Brian Grant 52d388a487 Merge pull request #7649 from brendandburns/example
Add a central simple getting started guide with kubernetes guide.
2015-05-04 14:46:28 -07:00
Brendan Burns 37eedef348 Add a central simple getting started guide with kubernetes guide.
Point several getting started guides at this doc.
2015-05-01 20:20:15 -07:00
Eric Paris 6b3a6e6b98 Make copyright ownership statement generic
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
nikhiljindal 1e323d77bc Updating the guestbook example to v1beta3 2015-04-23 14:34:36 -07:00
Clayton Coleman 10c2ace6bf Pod Templates 2015-04-22 12:54:25 -04:00
Yifan Gu ed8653a399 examples: Fix flacky example_test.
Update the file path.
2015-04-20 12:44:28 -07:00
Tim Hockin c2bacd588d Stop using dockerfile/* images
As per
http://blog.docker.com/2015/03/updates-available-to-popular-repos-update-your-images/
docker has stopped answering dockerfile/redis and dockerfile/nginx.  Fix all
users in our tree.  Sadly this means a lot of published examples are now broken.
2015-04-16 12:20:43 -07:00
Huamin Chen a278ceeb0a implement glusterfs volume plugin
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-04-07 09:14:39 -04:00
Huamin Chen 7a82af31de add iscsi volume plugin
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-04-06 16:20:28 -04:00
markturansky 95bd170ca2 PV & PVC Client implementation 2015-04-06 08:46:43 -04:00
Clayton Coleman 6918a4d32e Replace automatic YAML decoding with opt-in YAML decoding
Base codecs no longer automically handle YAML.  Instead, clients
must convert to JSON first via yaml.ToJSON and runtime.YAMLDecoder.
2015-03-20 00:03:56 -04:00
nikhiljindal 7e36bbab3c Updating integration tests to test both API versions - v1beta1 and 3 2015-03-18 15:24:11 -07:00
Tamer Tas 17997360a5 Refactor examples_test.walkJSONFiles 2015-03-14 18:05:23 +02:00
Alex Mohr da9622a6d7 Revert "Revert "Deleting old sample JSON; moving those in use; updating referenc..." 2015-03-09 14:44:14 -07:00
Alex Mohr 44b9b7aea5 Revert "Deleting old sample JSON; moving those in use; updating references" 2015-03-09 14:18:40 -07:00
Alex Mohr ee276b26cb Merge pull request #5124 from MikeJeffrey/ex3
Deleting old sample JSON; moving those in use; updating references
2015-03-09 10:58:44 -07:00
MikeJeffrey 4da6d413be Deleting old sample JSON; moving those in use; updating references 2015-03-06 17:24:45 -08:00
Daniel Smith d5ae2b56ad Add v1beta3 files to update-demo 2015-03-05 11:48:25 -08:00
rsokolowski 635281ebe3 Update guestbook example to use replication controller. 2015-02-24 20:21:13 +01:00
Subin M 95c225584e renaming folder to v1beta3 and updating testcases 2015-02-24 03:17:22 +05:30
Subin M fd3d60f72b updating testcases 2015-02-24 03:00:36 +05:30
Subin M 23a177c5ab updating testcases 2015-02-24 02:54:16 +05:30
Subin M 46c58623e3 testcase updated 2015-02-19 21:16:59 +05:30
Tim Hockin d01ea11a6e Merge pull request #3856 from smarterclayton/validation_logic_needs_cleanup
Validation of ObjectMeta is inconsistently applied
2015-01-29 14:12:44 -08:00
Jeff Lowdermlk c912b831ce Update update-demo example and e2e test to use kubectl 2015-01-28 15:26:56 -08:00
Clayton Coleman a0356bca96 Unify validation logic for create and update paths
Ensure ObjectMeta is consistently validated on both create and update

Make PortalIP uncleareable
2015-01-28 13:10:37 -05:00
Clayton Coleman 94c873e7a4 Remaining refactor for PodTemplateSpec and fixing test cases 2014-11-11 17:03:20 -05:00
Brendan Burns f556f2f82f Add some validation for externalized service ports. 2014-11-03 13:36:34 -08:00
Clayton Coleman 644eb70085 Refactor tests to split ObjectMeta from TypeMeta 2014-10-24 11:22:21 -04:00
Brendan Burns 6fbbc9ee08 Fix tests. 2014-10-21 07:19:55 -07:00
Clayton Coleman d3e51a0f24 Rename JSONBase -> TypeMeta in preparation for v1beta3
Will make subsequent refactor much easier
2014-10-07 11:12:16 -04:00
derekwaynecarr 6625e58a20 Updates to review comments 2014-10-01 10:57:50 -04:00
derekwaynecarr e032c3075c Fix examples test by setting a context prior to validation 2014-10-01 10:57:50 -04:00
Clayton Coleman 855482c30f Expand syntax validation for other examples 2014-09-19 13:14:33 -04:00
Clayton Coleman 61e3ce7ddc Make runtime less global for Codec
* Make Codec separate from Scheme
* Move EncodeOrDie off Scheme to take a Codec
* Make Copy work without a Codec
* Create a "latest" package that imports all versions and
  sets global defaults for "most recent encoding"
  * v1beta1 is the current "latest", v1beta2 exists
  * Kill DefaultCodec, replace it with "latest.Codec"
  * This updates the client and etcd to store the latest known version
* EmbeddedObject is per schema and per package now
* Move runtime.DefaultScheme to api.Scheme
* Split out WatchEvent since it's not an API object today, treat it
like a special object in api
* Kill DefaultResourceVersioner, instead place it on "latest" (as the
  package that understands all packages)
* Move objDiff to runtime.ObjectDiff
2014-09-16 16:26:43 -04:00
Clayton Coleman fe614aeda2 Simple refactor for ease of readability
runtime.DefaultCodec -> latest.Codec
2014-09-16 16:12:35 -04:00
Daniel Smith 0d30a656ef Do interface{} -> runtime.Object rename everywhere 2014-09-07 22:19:24 -07:00
Daniel Smith 1c2b65788d Rename Codec and ResourceVersioner to add Default in front, to allow for types of those names 2014-09-07 22:19:24 -07:00
Daniel Smith a63966e73c Combine pkg/apitools and pkg/api/common and call the result pkg/runtime 2014-09-02 11:15:44 -07:00
Daniel Smith 099c8fd36f Propagate rename; tests pass again. 2014-09-02 10:42:06 -07:00
Daniel Smith aa9b9b9fa8 Invert api and api/v1beta1 dependencies
This is some cleanup that has been needed for a while.
There's still one more step that could usefully be done, which is to
split up our api package into the part that provides the helper
functions and the part that provides the internal types. That can come
later.

The v1beta1 package is now a good example of what an api plugin should
do to version its types.
2014-08-29 12:15:30 -07:00