Commit Graph

218 Commits

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