Karl Beecher
43ab8188c8
New example: Distributed task queue
...
Adds an example of using Kubernetes to build a distributed task queue
using Celery along with a RabbitMQ broker and Flower frontend.
Resolves : #1788
2015-03-06 09:15:14 +01:00
gmarek
bb8a4f5ed3
apply comments
2015-03-06 08:23:22 +01:00
Dawn Chen
a934efe3e5
Convert limitrange example to v1beta3
2015-03-05 17:38:32 -08:00
Dawn Chen
67be6bfeb8
Convert rethinkdb example to v1beta3
2015-03-05 13:30:45 -08:00
Daniel Smith
d5ae2b56ad
Add v1beta3 files to update-demo
2015-03-05 11:48:25 -08:00
Dawn Chen
125074f1d7
Convert resource-quota example to v1beta3
2015-03-04 16:20:02 -08:00
Dawn Chen
34a39d9583
Convert namespace example to v1beta3
2015-03-04 15:43:55 -08:00
Dawn Chen
528ca409a8
Fix doc
2015-03-04 12:36:03 -08:00
Tim Hockin
fdea7252a4
Merge pull request #5001 from brendandburns/api3
...
Embed VolumeSource in v1beta3 and internal.
2015-03-04 09:50:14 -08:00
jayunit100
3a0a4f1fa8
Guestbook README updates, reset-by-peer error message and v1beta3 note
2015-03-04 10:28:39 -05:00
Brendan Burns
fb90b56bf6
Embed VolumeSource in v1beta3 and internal.
2015-03-04 02:25:40 -08:00
Matthew Farrellee
09bb598739
swap service order to make configure args more obvious
2015-03-03 07:37:00 -05:00
Greg Taylor
286f7d29c4
Correct typo in guestbook/README.md
2015-03-03 05:50:22 -05:00
Jeff Lowdermilk
66dfbe900a
Merge pull request #4963 from roberthbailey/kubectl-proxy
...
Remove host ports from the update demo and update tests (take 2).
2015-03-02 15:16:04 -08:00
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
derekwaynecarr
e032c3075c
Fix examples test by setting a context prior to validation
2014-10-01 10:57:50 -04:00
Gurpartap Singh
3d89dbccca
One last time.
2014-09-26 10:51:09 +05:30
Gurpartap Singh
ce99720239
Use builder instead of build
2014-09-26 10:50:51 +05:30
Gurpartap Singh
e506e52018
Use builder instead of build
2014-09-26 10:50:27 +05:30
Gurpartap Singh
7b51698c36
Update README.md
...
GoogleCloudPlatform/kubernetes#1454
2014-09-26 06:01:59 +05:30
Johan Euphrosine
964be36991
examples/guestbook-go: build from source and remove bin/docker dep
2014-09-25 16:34:20 -07:00
Brendan Burns
7f7fad0d21
Merge pull request #1383 from smarterclayton/expand_syntax_validation
...
Expand syntax validation for other examples
2014-09-24 14:55:47 -07:00
Tim Hockin
089c5602fd
Add per-service env vars for *_SERVICE_HOST
...
As a replacement of a single SERVICE_HOST variable, offer a FOO_SERVICE_HOST
variable. This will help ease the transition to ip-per-service, where there
is no longer a single service host.
# *** ERROR: *** Some files are missing the required boilerplate
# header from hooks/boilerplate.txt:
# examples/guestbook/redis-slave/run.sh
#
# Your commit will be aborted unless you fix these.
# COMMIT_BLOCKED_ON_BOILERPLATE
2014-09-24 09:07:21 -07:00
Robert Bailey
2c47883f64
Fixed a small typo in the guestbook-go build instructions.
2014-09-23 16:44:27 -07:00
Brendan Burns
31f4aba785
Fix some paths in the Dockerfiles.
2014-09-23 20:58:08 +00:00
Brendan Burns
9c8ba8495d
Merge pull request #1299 from Gurpartap/guestbook-go
...
Rewrite of the Guestbook example in Go
2014-09-23 13:34:15 -07:00
Joe Beda
590e4cbbb9
Tweak instructions for update demo
2014-09-22 13:20:10 -07:00
Clayton Coleman
855482c30f
Expand syntax validation for other examples
2014-09-19 13:14:33 -04:00
Brendan Burns
29cf1a783b
Initial add of a walkthrough of basic Kubernetes concepts.
2014-09-18 20:22:50 -07:00
Gurpartap Singh
b7d1b1ac3c
Updated guestbook based on suggestions in the pull request
...
Port of current guestbook's README.md
Fix guestbook pod and service names
Add go boilerplate
Use role label for redis pods
Give service.containerPort a name based value
This gives better env variable keys like REDIS_MASTER_SERVICE_REDIS_SERVER_ADDR, etc.
Avoid unnecessarily long names for service (esp in env vars)
Adding guestbook deploy/destroy scripts for k8s
These are probably only useful for quick testing. Maybe remove them
before merging the pull request.
Part of avoiding long names for services
Update Dockerfiles to git clone from Google's repo
Use correct service names while deleting them
Fix the script usage path.
K8s is not go gettable. Use git clone instead.
Using my fork in the Dockerfile to release and update to the docker hub
image.
Doesn't delete all pods if you remove controller too soon
Run the command in a shell to substitute env vars. Workaround for GoogleCloudPlatform/kubernetes#1309
GoogleCloudPlatform in lieu of my fork in Dckrfile
Some directory structure changes for guestbook src
README that explains the build process for source
Strip down the html and css to absolute essentials
Reformat JS according to Google's guidelines
Also added code to set random colors for elements.
Handle repetitive error checks using a common func
Also uses @roberthbailey’s stripped down code for reading env vars
infoString isn't really a string. Use info instead
Remove deploy.sh/destroy.sh scripts
Bind submit instead of keypress to capture submit
Add links to /env and /info in the footer
Reformat the JS
Incorporating suggestions by @filbranden
License boilerplate and some fixes to release.sh
Update README.md
Update README.md
Add building on boot2docker info to README
Accept docker bin path as a param for building
Use kubernetes user to host the image on registry
Don't get included in k8s's recursive build deps
https://github.com/GoogleCloudPlatform/kubernetes/pull/1299#discussion_r
17638061
2014-09-18 22:37:52 +05:30
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
Gurpartap Singh
13f79b00a0
Add Go guestbook's k8s config json files
2014-09-12 22:58:32 +05:30
Gurpartap Singh
b8fb169d22
Add Dockerfiles for compiling the guestbook and building a minimal image
2014-09-12 22:56:40 +05:30
Gurpartap Singh
4123b64840
Add the source for Go based Guestbook
2014-09-12 22:54:54 +05:30
Max Forbes
bd196ea49c
Fix some readme and script bugs in examples (take 2).
...
v2: Resolve issues from comments, fix bugs in update-demo example, rename files for clarity, add turn-down steps.
v3: Add more set commands, clean up rest of env var checks.
2014-09-11 15:06:10 -07:00
Brian Grant
276df0bf2a
Misc. doc updates: Go setup, ssh reqd. on GCE, etcd reqd. for local, moved community links to wiki
2014-09-11 20:10:49 +00:00
Joe Beda
769d3ad882
Revert "Fix some readme and script bugs in examples."
...
This reverts commit 42baed492b
.
2014-09-10 13:42:19 -07:00
Max Forbes
42baed492b
Fix some readme and script bugs in examples.
2014-09-10 13:34:36 -07: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
Joe Beda
ce34eacd2c
Fix up e2e test for update demo.
...
Use the scripts that are in the example directory. Also actually run the update as part of the test.
2014-09-04 13:25:39 -07:00
Joe Beda
6dd38e2f49
Add containerPort to services in guestbook example
2014-09-04 13:25:39 -07:00
Joe Beda
f8e2f927f6
Pretty up the demo a little.
...
Use images and some better formatting. Also add scripts to help prevent typos.
This based on an improved version done by Julia Ferraioli. She came up with the cool images.
2014-09-04 13:25:39 -07:00
Deyuan Deng
75470e6adf
Include pod status in kebecfg humanreadable result.
2014-09-03 20:26:32 -04:00
derekwaynecarr
ca3f5a9f46
Fixup name vs ID terminology
2014-09-03 10:27:33 -04:00
brendandburns
130bd408f7
Merge pull request #1124 from soundTricker/master
...
Fix a wrong explaining text about running command to create replication controllers.
2014-09-02 21:07:06 -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
keisuke oohashi
2d1149061f
Fix a wrong explaining text about running command to create replication controller.
2014-09-01 13:24:38 +09: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
Clayton Coleman
baaabcaf11
Update the README.md with caveats about waiting
2014-08-20 18:46:10 -04:00
Deyuan Deng
db5ca769b4
typo
2014-08-15 22:52:16 -04:00
Deyuan Deng
f17218b9b7
Fix broken link, remove unnecessary content.
2014-08-15 22:26:51 -04:00
CJ Cullen
3c93d629f7
Fixed a couple typos in guestbook documentation.
2014-08-15 12:30:21 -07:00
Robert Bailey
76e81edfc6
Update the guestbook example to show the current json files from the examples/guestbook directory.
2014-07-30 16:52:58 -07:00
Daniel Smith
321ce0e1ce
Merge pull request #565 from brendandburns/api2
...
Fork API types.
2014-07-24 22:29:57 -07:00
Brendan Burns
3723eb7629
Add kind and apiVersion to guestbook example.
2014-07-24 22:13:43 -07:00
Brendan Burns
854b9e14bd
Augment the update example to turn black if the server is not responding.
2014-07-24 21:46:35 -07:00
Clayton Coleman
044779126b
Add unit tests for example syntax
...
Tests api/examples, examples, and any embedded json in readme.
2014-07-23 15:18:55 -04:00
brendandburns
245feaf722
fix json.
2014-07-23 00:04:28 -07:00
brendandburns
46ac0aa81d
modified to drop the leading '/'
...
Since it doesn't work @ head.
2014-07-22 23:56:43 -07:00
Clayton Coleman
d9d92679c3
Some examples don't pass Manifest validation
2014-07-22 20:17:14 -04:00
Kelsey Hightower
64618cd539
fix guestbook example to match docs
2014-07-19 22:22:33 -07:00
Brendan Burns
ac1be8cc97
Move guestbook.md to README.md for default display by github.
2014-07-14 21:33:37 -07:00
Julia Ferraioli
7925cce67c
adding firewall instructions to the README
2014-07-14 15:24:50 -07:00
Takeshi Hagikura
f92cc6a948
Replace the outdated cloudcfg.sh to kubecfg.sh
...
Replaces the outdated cloudcfg.sh to kubecfg.sh in the dynamic update demo.
2014-07-02 07:35:08 +09:00
Tim Hockin
9affd6d260
Fix examples to set manifest ID and version
...
Part 4 in a series of changes towards data validation.
2014-06-30 16:16:06 -07:00
Brendan Burns
22f25b9433
Change the frontend port in the guestbook example to 8000
2014-06-27 16:48:35 -07:00
Brendan Burns
23c971605e
Initial add of cloud-demo
2014-06-26 18:52:08 -07:00
Daniel Smith
c97c514742
Rename cloudcfg to kubecfg
2014-06-25 18:01:37 -07:00
Ingo Gottwald
de062f6720
Fix guestbook example json syntax error
2014-06-20 11:51:38 +02:00
Daniel Smith
cfce408266
Rename ReplicasInSet to ReplicaSelector
2014-06-19 13:31:42 -07:00
Daniel Smith
f9e9a7c686
Update guestbook example
2014-06-19 13:31:42 -07:00
Brendan Burns
2759b2367f
Add load balancing support to services.
2014-06-17 12:37:39 -07:00
Brian Dorsey
a5306feafe
fix typo in guestbook URL
2014-06-15 16:13:49 -07:00
Brian Dorsey
bfd7c96ac1
Updated cloudconfig.sh output examples
...
Updated cloudconfig.sh output examples to match what the tool currently prints.
Added specific gcutil commands to get public IP addresses, and create the firewall rules.
2014-06-15 16:12:13 -07:00
Brian Dorsey
fe31617454
Add hack/build-go.sh to step zero
...
(needed when working from a completely clean install)
2014-06-15 15:36:56 -07:00
Brian Lynch
79eb0688cb
Update guestbook.md
...
The previous gcutil command fails to connect:
lynchb-macbookpro2:kubernetes lynchb$ gcutil ssh kubernetes-minion-3 --zone us-central1-b
INFO: Zone for kubernetes-minion-3 detected as us-central1-b.
INFO: Running command line: ssh -o UserKnownHostsFile=/dev/null -o CheckHostIP=no -o StrictHostKeyChecking=no -i /Users/lynchb/.ssh/google_compute_engine -A -p 22 lynchb@23.236.61.38 -- --zone us-central1-b
Warning: Permanently added '23.236.61.38' (RSA) to the list of known hosts.
bash: --: invalid option
Usage: bash [GNU long option] [option] ...
bash [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--restricted
--verbose
--version
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
2014-06-13 15:03:17 -07:00
Joe Beda
110a390c97
Switch from `gcloud compute` to `gcutil`.
...
We'll switch back to the future once the interface has settled down.
2014-06-12 15:43:00 -07:00
Brendan Burns
a54f3e0001
Add executable bit.
2014-06-11 12:43:56 -07:00
Brendan Burns
30f7fc5e3b
Added the example dockerfiles.
2014-06-11 12:35:03 -07:00
MikeJeffrey
40c208a38d
Re-adding code language annotations
2014-06-09 14:37:43 -07:00
MikeJeffrey
73bf839999
Expanding guestbook documentation
...
Mostly adding response details, also adding file path to example .json files.
2014-06-09 14:05:14 -07:00
Brendan Burns
6018497174
Task -> Pod part #3
2014-06-08 22:38:45 -07:00
Brendan Burns
66e2575f2b
More Task -> Pod
2014-06-08 21:43:17 -07:00
Johan Euphrosine
c4b07b16df
guestbook: add link to cloud console
2014-06-07 02:11:23 -07:00
Johan Euphrosine
859f5a1552
guestbook: s/services/tasks/
2014-06-07 02:02:32 -07:00
Johan Euphrosine
f528ef8018
guestbook: add link to cluster setup instruction
2014-06-07 01:50:26 -07:00
Joe Beda
894a7e3282
Move everything out of src and reorganize scripts.
...
Fixed up some scripts to be more robust. Changed the e2e test setup to use g1-small instances. Fixed up documentation to reflect the new script locations. Disabled the "curl | bash" cluster launch as it hasn't been well tested and doesn't include the cloudcfg tool yet.
2014-06-06 21:41:19 -07:00
Daniel Smith
130560a769
Proofread guestbook.md
2014-06-06 17:31:45 -07:00
Joe Beda
2c4b3a562c
First commit
2014-06-06 16:40:48 -07:00