Commit Graph

327 Commits (1c265f37845cedc7ae71b6ec9a456c79aed93aa7)

Author SHA1 Message Date
Matthew Farrellee 5bac8471ea add jump to tl;dr 2015-03-02 16:24:38 -05:00
Matthew Farrellee 46ef3611db add workers to README 2015-03-02 16:17:50 -05:00
Matthew Farrellee fd74d03fc3 add nimbus service to README 2015-03-02 15:58:45 -05:00
Matthew Farrellee c173a9585f add zookeeper service to README 2015-03-02 15:32:25 -05:00
Matthew Farrellee 6631c63652 add tl;dr version of README.md 2015-03-02 15:14:38 -05:00
Matthew Farrellee 6fd45acdee add storm worker controller 2015-03-02 15:14:38 -05:00
Matthew Farrellee 6bf499e515 add nimbus pod and service definition 2015-03-02 15:14:38 -05:00
Matthew Farrellee 29cabbaf9a add zookeeper pod and service definition 2015-03-02 15:14:38 -05:00
Robert Bailey 5799dd5f7d Remove host ports from the update demo and update tests (take 2). 2015-03-02 10:15:34 -08:00
Tim Hockin e0e6741027 Stop using named ports in examples and scripts. 2015-03-01 21:30:45 -08:00
Brian Grant 987cabd711 Merge pull request #4828 from sub-mod/v1beta3_json_3
Update examples to support v1beta3 api - liveness/mysql-wordpress
2015-02-27 13:38:46 -08:00
Tim Hockin 5fee09da6e Merge pull request #4902 from a-robinson/label
Modernize the node selection example to use the `kubectl label` command
2015-02-27 10:21:51 -08:00
Alex Robinson 4e9a2be89d Modernize the node selection example to use the `kubectl label` command. 2015-02-27 10:17:32 -08:00
Brendan Burns 16b97a4a45 Merge pull request #4591 from derekwaynecarr/origin_example
WIP: Example running OpenShift Origin as pod on Kubernetes
2015-02-26 14:38:21 -08:00
Vish Kannan 0d474bc19e Merge pull request #4772 from sub-mod/vibeta3_json
Update examples to support v1beta3 api - cassandra
2015-02-26 14:35:17 -08:00
Jeff Lowdermilk d085cd21f4 Merge pull request #4606 from satnam6502/guestbook
Using kubectl to obtain public IP for guestbook service
2015-02-26 14:18:27 -08:00
Satnam Singh 239df4595c Using kubectl to obtain public IP for guestbook service 2015-02-26 13:01:28 -08:00
Subin M 97ea7065fc modify resource limits 2015-02-26 13:51:06 +05:30
Subin M efaf274a0b modify resource limits 2015-02-26 13:48:29 +05:30
Subin M e682c933ea v1beta3 api yaml files 2015-02-26 04:25:09 +05:30
Subin M 39016242aa Update examples to support v1beta3 api - liveness/mysql-wordpress 2015-02-26 04:17:24 +05:30
Zach Loafman 84a2a9766a Revert "Remove host ports from the update demo and update tests" 2015-02-25 09:56:03 -08:00
Brian Grant e6c1504344 Merge pull request #4775 from sub-mod/v1beta3_json_1
Update examples to support v1beta3 api -hazelcast
2015-02-25 09:23:00 -08:00
Robert Bailey dd87c247a5 Remove host ports from the update demo and update tests 2015-02-24 15:34:18 -08:00
rsokolowski 635281ebe3 Update guestbook example to use replication controller. 2015-02-24 20:21:13 +01:00
Subin M a4bc05f0e0 v1beta3 api yaml files-hazelcast 2015-02-24 20:16:59 +05:30
Brian Grant 754a2a8305 Merge pull request #4460 from sub-mod/guestbook_ns
Adding guestbook example with latest json format for v1beta3 api
2015-02-23 16:58:20 -08:00
Subin M 7d00c456d5 format all json files 2015-02-24 04:20:32 +05:30
Subin M 62cb5b875f removing name from template 2015-02-24 04:07:49 +05:30
Subin M ea0a873417 removing LoadBalancer 2015-02-24 03:57:09 +05:30
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 eb82df81b6 renaming folders 2015-02-24 02:49:58 +05:30
jay vyas a8964043d9 Guestbook: Addition troubleshooting section. 2015-02-21 01:37:49 -05:00
derekwaynecarr b8172f9fba Example running OpenShift Origin as pod on Kubernetes 2015-02-20 15:35:35 -05:00
jayunit100 63fd2285fc Guestbook tutorial : Make is more generic, compartmentalize the local/GCE setup, and added details around redis master and convenient cleanup utility script snippet. 2015-02-20 09:01:42 -05:00
Subin M 027c1ac873 add v3 json files for guesybook-go 2015-02-19 23:16:47 +05:30
Subin M 46c58623e3 testcase updated 2015-02-19 21:16:59 +05:30
Subin M 3d7ca16599 json files updated 2015-02-19 21:05:59 +05:30
Subin M 5aedf10867 json files updated 2015-02-19 20:56:09 +05:30
Subin M a749efa509 new changes 2015-02-19 18:08:22 +05:30
Robert Bailey e0cc7b4138 Remove the numbered shell scripts from the live update example and the
update.sh e2e test. They were needlessly obfuscating the actual kubectl
commands being run.
2015-02-18 17:02:44 -08:00
Robert Bailey 972c9262cb Removed the --zone argument when creating firewalls since it is not a valid argument.
See https://cloud.google.com/sdk/gcloud/reference/compute/firewall-rules/create
2015-02-18 14:40:01 -08:00
Robert Bailey 9d83973835 Replace KUBE_REPO_ROOT with KUBE_ROOT to be consistent with usage elsewhere in the repository. 2015-02-18 14:40:01 -08:00
Subin M 2cc5dd526d Removing namespace from json files 2015-02-17 10:58:58 +05:30
Subin M 3f2553f5b3 Adding guestbook example with namespace 2015-02-17 00:05:11 +05:30
Sam Ghods b10bd7c0d7 Update walkthrough to support kubectl create 2015-02-11 19:53:25 -08:00
Kyle Mathews 9daf04dce0 typos 2015-02-11 12:06:06 -08:00
roberthbailey 8953ddf617 Merge pull request #4320 from justinsb/cleanup_after_update_e2e
Stop both replication controllers in update-demo
2015-02-11 11:00:14 -08:00
Justin Santa Barbara c6f32d5a15 Stop both replication controllers in update-demo
The update test may have failed, and if we leave an RC around it
causes subsequent tests to fail
2015-02-11 12:54:18 -05:00
derekwaynecarr 0bd0e12bbc Add support for Namespace as Kind
Add example for using namespaces
2015-02-10 09:50:50 -05:00
Brendan Burns e7a69504b4 Now that we automatically format GCE PD, remove formatting from the e2e test.
Also remove docs that note that it is necessary.
2015-02-06 20:30:58 -08:00
Pierre du Plessis 8ded7be5fb Typo 2015-02-05 15:10:32 +02:00
Deyuan Deng f406a57c2c Use replication controller for redis master. 2015-02-04 18:23:36 -05:00
Alex Robinson a053dbc313 Merge pull request #4088 from a-robinson/nodelabels
Add an example of how to attach labels to nodes and use nodeSelectors so...
2015-02-04 10:44:16 -08:00
Alex Robinson 67b37aa9c8 Add an example of how to attach labels to nodes and use nodeSelectors so that pods can be scheduled on specific nodes. 2015-02-04 18:43:37 +00:00
Antmanler de25c0aa64 Add an example for running rethinkdb cluster on k8s 2015-02-04 12:35:13 +08:00
Brendan Burns fa970106c6 Add a missing header... 2015-02-02 16:39:53 -08:00
Alex Robinson 9a867f8311 Merge pull request #4015 from durana/patch-1
Fix typo
2015-02-02 09:59:20 -08:00
Brendan Burns eed4b75fae Merge pull request #3881 from amygdala/wpex
addition of mysql-WP example
2015-02-02 09:54:13 -08:00
Adam Durana 7554432f77 Fix typo 2015-02-01 13:03:28 -05:00
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
Brendan Burns 9f5ca3f6ac Fix update.sh 2015-01-28 20:00:47 -08:00
Amy Unruh c263de2b0b addition of mysql-wordpress-pd example 2015-01-28 16:50:00 -08:00
Jeff Lowdermlk c912b831ce Update update-demo example and e2e test to use kubectl 2015-01-28 15:26:56 -08:00
derekwaynecarr 67b359ebf9 Add a resource quota controller to track usage state 2015-01-28 15:03:19 -05: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
Tim Hockin a480794efc Tighten validation of Name and Namespace 2015-01-27 17:04:59 -05:00
derekwaynecarr 74f368f50e Modified LimitRangeItem.Kind to LimitRangeItem.Type, added example files 2015-01-27 16:41:28 -05:00
derekwaynecarr 31a1145abd Implement LimitRanger plugin 2015-01-27 16:41:27 -05:00
Dawn Chen a42749a42e Merge pull request #3739 from brendandburns/redis
Add an example of running clustered redis on Kubernetes
2015-01-22 16:50:13 -08:00
Brendan Burns b838a66094 Add a readme. 2015-01-22 15:23:08 -08:00
Brendan Burns 7598ee4952 Add configuration for a redis example. 2015-01-22 13:27:37 -08:00
Tim Hockin 0a538132cf Fix static builds in go1.4
https://github.com/golang/go/issues/9344
2015-01-20 21:04:04 -08:00
Eric Tune 1e36cb12bb Merge pull request #3594 from jayunit100/master
Clarify origin of REDIS_MASTER_SERVICE_HOST variable.
2015-01-20 08:23:32 -08:00
jay vyas 2fc8c08b01 Clarify origin of REDIS_MASTER_SERVICE_HOST variable.
This commit clarifies the origin of the REDIS_MASTER_SERVICE_HOST variable by linking to the documentation on the way kubernetes services create env variables in the services.md file.
2015-01-17 15:00:18 -05:00
Jeff Lowdermlk 7960d88b21 Update README.md for cassandra/hazelcast examples to use kubectl resize 2015-01-16 15:05:13 -08:00
Nalin Dahyabhai f49aee2507 Fixup JSON syntax errors in example controller 2015-01-15 12:13:34 -05:00
Dawn Chen ce4411547c Merge pull request #3352 from brendandburns/cassandra
Update cassandra example
2015-01-09 14:35:14 -08:00
Brendan Burns 10dab7992d Update the cassandra example to use a data volume, and a fixed version. 2015-01-08 21:07:18 -08:00
Brendan Burns 7ff43be79d add a volume to cassandra example 2015-01-08 15:32:06 -08:00
Paulo Pires cd946abaf0 Updated discovery source code example. 2015-01-07 12:04:59 +00:00
Paulo Pires 2c6211e692 Fixed typos. 2015-01-07 09:25:47 +00:00
Paulo Pires 4d45512069 Add an example of running Cloud Native Hazelcast on k8s. 2015-01-06 22:25:41 +00:00
Brendan Burns 918cd3f4e2 Merge pull request #3236 from Hokutosei/fix_replication_controller_id
changed the id of walkthrough example replication-controller to nginx
2015-01-05 21:35:02 -08:00
hokutosei dce5e3bd6f changed the id of replication-controller to nginx 2015-01-06 10:19:54 +09:00
Joe Beda 9aa48b7628 Move heapster data files to cluster/addons.
Also pretty up the JSON (make it real JSON) and streamline the sed in cluster/gce/init.sh.
2015-01-05 12:32:35 -08:00
Eric Tune aca227df5a Merge pull request #3217 from brendandburns/cassandra
Address some comments from erictune.
2015-01-05 10:10:44 -08:00
Brendan Burns b06458e0ea Address some comments from erictune. 2015-01-05 09:51:05 -08:00
Eric Tune 180108b5f9 Merge pull request #3211 from brendandburns/cassandra
Add an example of running Cloud Native Cassandra on k8s.
2015-01-05 09:07:07 -08:00
Brendan Burns 04f51b60de Add an example of running Cloud Native Cassandra on k8s. 2015-01-04 22:30:18 -08:00
Aditya Patawari 7c99d960fe kind is needed to start the pod
fix for the following error:
the provided version "v1beta1" and kind "" cannot be mapped to a supported object
2014-12-25 22:37:20 +05:30
Brendan Burns 3a0d16ff35 Add an e2e test for exec liveness probes. Fix the docker exec integration. 2014-12-16 13:53:32 -08:00
Brendan Burns f1b55c04e2 Add an e2e test for http liveness. 2014-12-16 11:38:52 -08:00
bgrant0607 a299287ae8 Merge pull request #2832 from jlowdermilk/update-demo
Fix update-demo to work correctly with a web browser.
2014-12-11 08:09:42 -08:00
Jeff Lowdermlk d5bd440bca Update guestbook,walkthrough examples to use kubectl instead of kubecfg. 2014-12-10 17:37:40 -08:00
Jeff Lowdermlk 3e3f802f2b Fix update-demo to work correctly with a web browser.
The built in go http.Fileserver handles If-Modified-Since in the
header by comparing it with the last modified date on the
file/directory. Since the file is unaltered when we switch to a
new container, that results in 304s when trying to fetch data.json, so
the browser doesn't fetch the new picture after doing a rolling update.

Separate issue, the Dockerfile ADD command was being interpreted as
`copy html/data.json into a directory called 'html/kitten.jpg '`,
instead of the `copy these 2 files into root`. Changed to separate
commands using COPY, per recommended dockerfile practices.
2014-12-10 12:34:19 -08:00
Brendan Burns 4985f58eb5 Merge pull request #2759 from mikedanese/configure-cadvisor-port
make cadvisor port configurable on the kubelet
2014-12-09 15:21:35 -08:00
Joe Beda e0f5956e46 Make guestbook handle duplicate entries.
Also use kubernetes org on the Docker Hub to host the image.

Fixes #2811
2014-12-09 11:23:09 -08:00
Mike Danese 722abf1a95 - make cadvisor port configurable on the kubelet.
- added cadvisor port documentation.
2014-12-06 09:48:08 -08:00
bgrant0607 56eba5cb47 Merge pull request #2626 from jasonkuhrt/patch-1
Fix incorrect pod spec in tutorial
2014-12-04 11:21:02 -08:00
Andrew Smith 1c2cea9c10 Fix label yml
I was getting: invalid value 'map[]': selector does not match template with the -
2014-11-30 15:26:47 +00:00
Jason Kuhrt 3a045fcac1 Update README.md
Fix incorrect  pod spec
2014-11-26 08:30:31 -05:00
Joe Beda 6ba07b38fc Convert gcutil to gcloud compute 2014-11-25 15:17:00 -08:00
Joe Beda e459d54496 Fix extra comma in example JSON 2014-11-25 14:46:25 -08:00
Brendan Burns e1764e2e01 Add an e2e test for gce pd.
Add an example for gce pd.
Add an extra log message.
2014-11-25 09:02:00 -08:00
Alen Komljen d7ffc5e8f0 Update README to match with json files and remove duplicate index.php 2014-11-21 09:37:59 +01:00
MikeJeffrey 7afd4ef71b Rolling back apiVersion change 2014-11-19 15:45:30 -08:00
MikeJeffrey 74ede76428 apiVersion -> version 2014-11-19 15:42:06 -08:00
Brendan Burns c38880047d Update guestbook to fix given recent changes. 2014-11-15 19:36:02 -08:00
Tim Hockin eafdc684e9 Merge pull request #1922 from brendandburns/guestbook
Update the services now that Services v2 has IP per service.
2014-11-14 21:13:19 -08:00
Vishnu Kannan 46a22b3c44 Fix monitoring setup script.
Remove the firewall rule created for monitoring as part of kube-down.
Reuse master auth for Grafana.
2014-11-13 16:43:05 -05:00
David Oppenheimer 3d69351924 Change update example to use a trivial webserver instead of nginx (issue #1803). 2014-11-12 15:13:11 -08:00
Brendan Burns 110b5a3345 Update the services now that Services v2 has IP per service. 2014-11-12 11:31:28 -08:00
Clayton Coleman 94c873e7a4 Remaining refactor for PodTemplateSpec and fixing test cases 2014-11-11 17:03:20 -05:00
Clayton Coleman 9a998350f0 Some examples do not pass extended validation 2014-11-10 11:33:31 -05:00
Vishnu Kannan 37af9210ba Improve the monitoring setup script and fix bugs in the monitoring config. 2014-11-07 19:27:52 +00:00
Vishnu Kannan ad9cb982e5 Add an option for enabling monitoring in gce/config-default.sh and disable it
for tests.
Updated heapster readme.
2014-11-07 00:47:56 +00:00
Vishnu Kannan edf6d8ee3f Use Heapster as an in-built monitoring solution for Kubernetes in GCE.
Users will have an option to enable it when they setup their cluster (kube-up).
2014-11-07 00:47:56 +00:00
Eric Paris 591adec13c fix example usage of passing environment variables
The syntax is not envVar, that is the name of the internal struct.  The
list is just "env"
2014-11-06 11:28:08 -05:00
Brendan Burns f556f2f82f Add some validation for externalized service ports. 2014-11-03 13:36:34 -08:00
Brendan Burns 1c61486ec3 Merge pull request #2026 from satnam6502/201
Fix of a few 201 typos
2014-10-27 23:41:20 -07:00
Satnam Singh f17403dbd8 Fix some 101 typos 2014-10-27 23:25:55 -07:00
Satnam Singh 295ff57194 Fix of a few 201 typos 2014-10-27 23:10:00 -07:00
Amy Unruh 4d9023c887 a few 'Walkthrough' typo fixes 2014-10-27 20:32:32 -07:00
Clayton Coleman 644eb70085 Refactor tests to split ObjectMeta from TypeMeta 2014-10-24 11:22:21 -04:00
Joe Beda fdb7731de3 Merge pull request #1962 from dchen1107/fix
Increase memory limit of frontend-controller in our guestbook example.
2014-10-22 13:13:19 -07:00
Dawn Chen ec5ae48a9f Increase memory limit of frontend-controller in our guestbook example. 2014-10-22 11:07:20 -07:00
oaktowner 95aca622f5 Update k8s201.md
Minor typo corrected.
2014-10-21 17:10:56 -07:00
Brendan Burns 456f2603de Merge pull request #1926 from brendandburns/docs
Fix tests.
2014-10-21 07:40:08 -07:00
Brendan Burns 6fbbc9ee08 Fix tests. 2014-10-21 07:19:55 -07:00
Brendan Burns a4f51bfd88 Fix some links... 2014-10-21 07:11:02 -07:00
Brendan Burns 465acd5e76 Add a "201" walkthrough. 2014-10-21 07:06:24 -07:00
Tim Hockin e12ae4cdcd Fix update demo 2014-10-17 10:32:22 -07:00
Tim Hockin b01126322b Merge pull request #1828 from thockin/guestbook
Update guestbook-go.
2014-10-16 17:02:16 -07:00
Joe Beda 7b1ee58dad Merge pull request #1816 from atishn/patch-1
Added missing .sh extension
2014-10-16 14:27:10 -07:00
Tim Hockin e203191ac0 Update guestbook-go.
IP-per-service compatible.  Uses kubectl.
2014-10-16 10:09:12 -07:00
Tim Hockin e907011111 Core support for ip-per-service 2014-10-16 08:36:47 -07:00
Atish dc51231a89 Added missing .sh extension 2014-10-15 17:12:03 -04:00
Brendan Burns d50a3c986b Fix links. 2014-10-10 08:16:10 -07:00
Brendan Burns 86daa142fa Update title a little. 2014-10-09 12:38:24 -07:00
Brendan Burns b5ec8a747b Switch on the resource requested prioritization. 2014-10-09 11:29:45 -07:00
Brendan Burns 7fe71c68b7 Update the ux. 2014-10-08 20:16:59 -07:00
Matt T. Proud 8a911b39af Swap internal doc. refs to relative links.
This commit addresses issue #1571, which requests that all internal
Kubernetes links are swapped to relative ones to better facilitate
browsing of documentation on local forks, not to mention make the
documentation have less needless boilerplate.
2014-10-08 21:09:18 +02:00
Daniel Smith 0212c9b29a Merge pull request #1623 from smarterclayton/rename_jsonbase
Rename JSONBase -> TypeMeta in preparation for v1beta3
2014-10-07 10:50:28 -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
Vishnu Kannan ecd45031b8 Fix update demo. 2014-10-07 08:03:42 +00:00
Brendan Burns 1551b48347 Add a resource fit scheduler predicate. Set sensible defaults. 2014-10-03 15:09:59 -07:00
derekwaynecarr 6625e58a20 Updates to review comments 2014-10-01 10:57:50 -04:00