Commit Graph

59 Commits

Author SHA1 Message Date
Marcin Wielgus 954b17b278 Flower service and updated kubectl outputs in examples/clery-rabbitmq 2015-07-08 11:10:59 +02:00
Anastasis Andronidis 451320e9c2 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 c029985835 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 3ac32d6687 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 82952c2410 Improve resource quota example, add README 2015-06-03 18:55:42 -04:00
Chao Xu 932367168e 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 60c82b216b 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 c835bd3a08 validate all examples 2015-05-30 18:46:27 +09:00
Kris 4b15f95962 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 dce85d0779 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 293afd4a4f Merge pull request #8200 from caesarxuchao/liveness-example
update example/liveness to v1beta3
2015-05-15 14:33:25 -07:00
Chao Xu bac959d9bc 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 275d4a0fc0 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 5aacabdab4 Merge pull request #8137 from caesarxuchao/iscsi-test
update example/iscsi to v1beta3
2015-05-14 09:49:04 -07:00
nikhiljindal ce6b8d8c2d Fixing broken persistentvolume nfs example 2015-05-13 14:28:36 -07:00
Chao Xu 7761e54ef5 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 4c21bb5f96 update example/guestbook-go to v1beta3 2015-05-12 10:15:29 -07:00
Brian Grant 13b8aaf963 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 05da5ef0fb 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 7aa102682a 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 f3d7dbb2a5 Updating the guestbook example to v1beta3 2015-04-23 14:34:36 -07:00
Clayton Coleman aca6a3bdaf Pod Templates 2015-04-22 12:54:25 -04:00
Yifan Gu e4e008ee2a examples: Fix flacky example_test.
Update the file path.
2015-04-20 12:44:28 -07:00
Tim Hockin 936d59b8d1 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 dab4f65e96 implement glusterfs volume plugin
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-04-07 09:14:39 -04:00
Huamin Chen fd874e03cb add iscsi volume plugin
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-04-06 16:20:28 -04:00
markturansky 22ce40fe48 PV & PVC Client implementation 2015-04-06 08:46:43 -04:00
Clayton Coleman 9512dec26a 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 0fcd62c921 Updating integration tests to test both API versions - v1beta1 and 3 2015-03-18 15:24:11 -07:00
Tamer Tas 7646e96322 Refactor examples_test.walkJSONFiles 2015-03-14 18:05:23 +02:00
Alex Mohr 8cc1a3cbf7 Revert "Revert "Deleting old sample JSON; moving those in use; updating referenc..." 2015-03-09 14:44:14 -07:00
Alex Mohr 3f2e2e716b Revert "Deleting old sample JSON; moving those in use; updating references" 2015-03-09 14:18:40 -07:00
Alex Mohr eded244f07 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 057d590c24 Deleting old sample JSON; moving those in use; updating references 2015-03-06 17:24:45 -08:00
Daniel Smith 4a7954871b Add v1beta3 files to update-demo 2015-03-05 11:48:25 -08:00
rsokolowski 6899d37137 Update guestbook example to use replication controller. 2015-02-24 20:21:13 +01:00
Subin M 82f166c54d renaming folder to v1beta3 and updating testcases 2015-02-24 03:17:22 +05:30
Subin M b5e4a0364e updating testcases 2015-02-24 03:00:36 +05:30
Subin M c0d01bf427 updating testcases 2015-02-24 02:54:16 +05:30
Subin M 3653ffb8e9 testcase updated 2015-02-19 21:16:59 +05:30
Tim Hockin 670a71c7c1 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 f0f2d2c147 Update update-demo example and e2e test to use kubectl 2015-01-28 15:26:56 -08:00
Clayton Coleman 4a134e54eb 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 0c6d486668 Remaining refactor for PodTemplateSpec and fixing test cases 2014-11-11 17:03:20 -05:00
Brendan Burns faac13b928 Add some validation for externalized service ports. 2014-11-03 13:36:34 -08:00
Clayton Coleman c447dd1fde Refactor tests to split ObjectMeta from TypeMeta 2014-10-24 11:22:21 -04:00
Brendan Burns 2d572d3744 Fix tests. 2014-10-21 07:19:55 -07:00
Clayton Coleman 7a472bc380 Rename JSONBase -> TypeMeta in preparation for v1beta3
Will make subsequent refactor much easier
2014-10-07 11:12:16 -04:00
derekwaynecarr db95a19729 Updates to review comments 2014-10-01 10:57:50 -04:00
derekwaynecarr 9b0f645245 Fix examples test by setting a context prior to validation 2014-10-01 10:57:50 -04:00