Commit Graph

147 Commits (c4305762b2a98d509032da202880353ad90eadf1)

Author SHA1 Message Date
Rohit Jnagal 0d2c027b15 Fix guestbook example based on hackathon feedback.
. Changed all kubectl invocations to be kubectl instead of cluster/kubectl.sh in some places.
. Remove mention of journalctl - no one knew what it was.
. Add create external load balancer to make it work on GCE by default. Mentioned removing it if running locally.
. Change port mentioned in doc from 8000 to 80.
. Example cleanup should not suggest tearing down the whole cluster.
2015-05-29 23:06:29 +00:00
Jeff Lowdermilk 553f9f822b Add ga-beacon analytics to gendocs scripts
hack/run-gendocs.sh puts ga-beacon analytics link into all md files,
hack/verify-gendocs.sh verifies presence of link.
2015-05-15 18:56:38 -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
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
Dawn Chen 59fa08ac79 Merge pull request #6820 from aronchick/master
Quick documentation clean up
2015-04-14 15:41:18 -07:00
David Aronchick d3d6e37d79 Update README.md 2015-04-14 12:27:53 -07:00
David Aronchick dadf01101f Update README.md 2015-04-14 12:27:40 -07:00
Young d1a6cee15e supplement the cleanup scripts 2015-04-12 15:12:43 +08:00
you-n-g 88d49ca6a9 The redis-master-controller should be stopped
The redis-master-controller should be stopped, and the redis-master will be deleted automatically.
2015-04-10 07:05:15 +08:00
Tony Hsu d9bb420410 Fix typo. 2015-04-02 10:13:29 +08:00
Jeff Lowdermilk 2d8e93f8b4 e2e images pulled from gcr.io 2015-04-01 09:18:03 -07:00
Tim Hockin 186818d787 WIP: Implement multi-port Services 2015-03-30 19:28:11 -07:00
Shichao An 4e4b2fedfe Fixed sentence grammar 2015-03-26 19:29:37 -07:00
Isaac Hollander McCreery 6945ac8d4f Guestbook example README points to Getting Started, not SETUP.md 2015-03-24 20:21:59 +00:00
Tim Hockin dfd8bbcf3e Update docs using old Service.containerPort 2015-03-24 09:44:43 -07:00
Jan Dolecek 7f7ac2deb6 Update README.md
Fix some formatting.
2015-03-20 22:43:07 +00:00
Piotr Szczesniak ff0316dd71 Rewrote guestbook-go example to use kube-dns
This is follow up of #5284.

I also built a new kubernetes/guestbook:v2 image.
2015-03-18 12:07:16 +01:00
Jeff Lowdermilk a2e710b3fe Merge pull request #5504 from piosz/guestbook_example
Removed resource specification from guestbook example
2015-03-16 10:09:01 -07:00
Piotr Szczesniak e6031e3190 Removed resource specification from guestbook example
The reason is partially #5503 but also I think it makes guestbook more
complicated and is not necessary there.
2015-03-16 14:27:09 +01:00
scuxiayiqian 831017e5a9 fix the stop rc failure in Cleanup Step 2015-03-16 15:57:29 +08:00
Piotr Szczesniak 4679a37b38 Rewrite guestbook example to use kube-dns instead of host:port
This fixes #5091
2015-03-11 09:51:47 +01:00
jayunit100 fbeeaf8d30 Clarify publicIP on minion use case 2015-03-10 10:41:59 -04:00
jayunit100 ef946dac38 Describe how to use publicIPs to access guestbook externally when not using external load balancers 2015-03-06 15:59:43 -05:00
gmarek bb8a4f5ed3 apply comments 2015-03-06 08:23:22 +01:00
jayunit100 3a0a4f1fa8 Guestbook README updates, reset-by-peer error message and v1beta3 note 2015-03-04 10:28:39 -05:00
Greg Taylor 286f7d29c4 Correct typo in guestbook/README.md 2015-03-03 05:50:22 -05:00
rsokolowski 635281ebe3 Update guestbook example to use replication controller. 2015-02-24 20:21:13 +01:00
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 95c225584e renaming folder to v1beta3 and updating testcases 2015-02-24 03:17:22 +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
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 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
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
Pierre du Plessis 8ded7be5fb Typo 2015-02-05 15:10:32 +02:00
Tim Hockin a480794efc Tighten validation of Name and Namespace 2015-01-27 17:04:59 -05: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 d5bd440bca Update guestbook,walkthrough examples to use kubectl instead of kubecfg. 2014-12-10 17:37:40 -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
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
Alen Komljen d7ffc5e8f0 Update README to match with json files and remove duplicate index.php 2014-11-21 09:37:59 +01:00
Brendan Burns c38880047d Update guestbook to fix given recent changes. 2014-11-15 19:36:02 -08:00
Brendan Burns 110b5a3345 Update the services now that Services v2 has IP per service. 2014-11-12 11:31:28 -08:00
Dawn Chen ec5ae48a9f Increase memory limit of frontend-controller in our guestbook example. 2014-10-22 11:07:20 -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
Brendan Burns 1551b48347 Add a resource fit scheduler predicate. Set sensible defaults. 2014-10-03 15:09:59 -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
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 6dd38e2f49 Add containerPort to services in guestbook example 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
keisuke oohashi 2d1149061f Fix a wrong explaining text about running command to create replication controller. 2014-09-01 13:24:38 +09: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
Brendan Burns 3723eb7629 Add kind and apiVersion to guestbook example. 2014-07-24 22:13:43 -07: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
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
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