Commit Graph

987 Commits (977da735db447ae1b48495ce8599eb87ed08786b)

Author SHA1 Message Date
Kris Rousey 381093d585 Change spark example to use v1 2015-06-10 13:57:17 -07:00
goltermann 8b5f146c09 Clarify a few things in Cassandra example.
Fixing Cassandra example.

Update to kubectl exec.

Fix to gcr.io links
2015-06-10 13:49:02 -07:00
Chao Xu f87cd6018e update examples/liveness to v1 2015-06-10 13:35:45 -07:00
Abhi Shah 8a1c2fa3ad Merge pull request #9437 from kprobst/fw-doc2
Added explanation about firewall and external IP to nginx example.
2015-06-10 13:35:22 -07:00
Kris Rousey 41ce515680 Change update-demo example to use v1 2015-06-10 13:34:31 -07:00
Kris Rousey 0cd638f2a7 Changing walkthrough to v1 2015-06-10 13:25:54 -07:00
Chao Xu 06035908ef update examples/limitrange to v1 2015-06-10 12:44:22 -07:00
Chao Xu 8bc14b6757 Update examples/kubernetes-namespaces to v1 2015-06-10 11:38:31 -07:00
Chao Xu 39abc8c4ea update examples/kubectl-container to v1 2015-06-10 11:33:15 -07:00
Chao Xu 39382b2da5 Upgrade examples/guestbook to v1 2015-06-10 11:16:01 -07:00
Chao Xu d74e924204 upate examples/iscsi 2015-06-09 17:13:25 -07:00
Chao Xu e854ac3b14 update examples/hazelcast to v1 2015-06-09 16:49:03 -07:00
Chao Xu ce1484dc9b update examples/glusterfs to v1 2015-06-09 16:06:14 -07:00
Chao Xu c318079ca7 update examples/explorer to v1 2015-06-09 15:29:15 -07:00
krousey fac22fc16c Merge pull request #9436 from timstclair/guestbook-docs
Clean up guestbook README.md
2015-06-09 14:59:48 -07:00
Chao Xu 193fb07206 update examples/downward-api to v1 2015-06-09 14:30:53 -07:00
Chao Xu ecce669651 update examples/cluster-dns to v1 2015-06-09 14:26:41 -07:00
Brendan Burns 9e198a6ed9 Purge cluster/kubectl.sh from nearly all docs.
Mark cluster/kubectl.sh as deprecated.
2015-06-09 13:35:52 -07:00
Chao Xu 8f908460b1 remove defaults 2015-06-09 13:28:47 -07:00
Chao Xu c1f57ed7e0 v1beta3 to v1 2015-06-09 13:25:02 -07:00
Chao Xu d3241f463b update examples/cassandra to v1 2015-06-09 13:14:15 -07:00
Kathrin Probst cd9accf7d2 Added explanation about firewall and external IP to nginx example. 2015-06-09 09:16:44 -07:00
Jeff Mendoza c2a3e4e811 Add Environment Guide example.
This example shows a simple two tier setup in Kubernetes, and
simply prints the environment information that each pod sees.
Querying the service multiple times will show services at work
load balancing requests.
2015-06-09 09:07:27 -07:00
Tim St. Clair ee72bc8f5a Remove out of date note from guestbook example 2015-06-08 15:33:29 -07:00
Tim St. Clair 0cc7186f17 Fix inconsistent capitalization in guestbook example README 2015-06-08 15:32:08 -07:00
Yifan Gu e6020c62ac example/cluster-dns: Fix typo. 2015-06-08 10:32:12 -07:00
krousey d1024dc52c Merge pull request #9281 from pedro-r-marques/beta1_to_beta3
Upgrade k8petstore example to v1beta3 API.
2015-06-08 10:16:30 -07:00
Pedro Marques aa30e8f686 Upgrade to v1beta3 API.
Convert the example to the v1beta3 API since support for beta1 was removed.
2015-06-05 16:56:12 -07:00
Quinton Hoole 0f1c4c25c3 Merge pull request #9334 from swagiaal/fix-nfs-nginx-path
Fix nginx path in nfs pod example.
2015-06-05 15:24:56 -07:00
Quinton Hoole 8dd4ac0cb9 Merge pull request #9326 from derekwaynecarr/openshift_update
Update OpenShift on Kubernetes example for getting service public ip
2015-06-05 14:57:59 -07:00
Sami Wagiaalla 07f31d31a9 Fix nginx path in nfs pod example.
nginx document root has changed. This updates the document
root in the nfs example.

Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-06-05 16:47:48 -04:00
Mike Danese d326de9b6c Merge pull request #9319 from skonzem/fix_doc_typos
Fix misspellings in documentation
2015-06-05 12:00:37 -07:00
Quinton Hoole 8b01ecb53a Merge pull request #9024 from markturansky/recyc_controllers
PersistentVolumeRecycler controller
2015-06-05 11:39:08 -07:00
Quinton Hoole 79bb4eda46 Merge pull request #9305 from brendandburns/example
Add some text about the docs being sync'd to HEAD
2015-06-05 11:22:15 -07:00
derekwaynecarr d4324bc40f Update OpenShift on Kubernetes example for getting service public ip 2015-06-05 14:06:23 -04:00
Quinton Hoole ab0c17f195 Merge pull request #9131 from RichieEscarez/8701_repctr
Added inline  links to "services" "pods" "namespaces"  and "replicati…
2015-06-05 09:34:14 -07:00
Quinton Hoole a55c652466 Merge pull request #9137 from RichieEscarez/8701_repctr2
Added inline  links to "services" "pods" "namespaces" "secrets"  and …
2015-06-05 09:33:00 -07:00
Quinton Hoole 4a7f3cc2fa Merge pull request #9138 from RichieEscarez/8701_repctr3
Added inline links to "services" "pods" "namespaces" and "replication…
2015-06-05 09:32:27 -07:00
Quinton Hoole 0374514457 Merge pull request #9146 from RichieEscarez/8701_repctr4
Added inline links to "services" "pods" and "replication controllers"…
2015-06-05 09:31:56 -07:00
Scott Konzem 1cff55f874 Fix misspellings in documentation 2015-06-05 11:35:17 -04:00
RichieEscarez 2d9977252a Added inline links to "services" "pods" "namespaces" and "replication controllers" (using relative linking ../../folder/filename.md) 2015-06-05 07:38:08 -07:00
Brendan Burns e051497be9 Add some text about the docs being sync'd to HEAD
Add pointers to the release branch files.
Clone docs when creating a new release.
2015-06-04 21:53:15 -07:00
Quinton Hoole 950df31c59 Merge pull request #9160 from uluyol/master
Update template to correctly retrieve external IP address. Clean up sample output.
2015-06-04 21:45:59 -07:00
Quinton Hoole 8de23c20db Merge pull request #9140 from pires/7731-fix_hazelcast_example
Update Hazelcast example
2015-06-04 21:45:01 -07:00
Paulo Pires f059f6ee60 Fixed typo in Hazelcast example README.md. 2015-06-04 22:02:27 +01:00
markturansky 2829fadfad PV Recycling API 2015-06-04 15:39:34 -04:00
Muhammed Uluyol c1cbcb3ea1 Update template to correctly retrieve external IP address. Clean up sample output. 2015-06-04 11:50:14 -07:00
RichieEscarez 7936334a78 Fixes #8701. Added inline links to "services" "pods" and "replication controllers" (using relative linking ../../folder/filename.md) 2015-06-04 09:24:50 -07:00
Brian Grant 398aebea71 Merge pull request #9222 from JasonGiedymin/open-shift-doc-update
Documentation Updates - Redis & Open Shift
2015-06-03 21:11:13 -07:00
Brian Grant fc742f8c13 Merge pull request #9096 from derekwaynecarr/quota_ex
Improve resource quota example, add README
2015-06-03 20:58:30 -07:00
Jason Giedymin 03d9169d36 Documentation Updates:
- Modify redis readme with better introduction sentence regarding pods.
- Modify openshift readme with standard option ordering, and update for newer `start` options usage.
- Add gitignore to prevent user settings inadvertently being staged.
2015-06-03 20:09:40 -04:00
Brian Grant f8bf996000 Merge pull request #9211 from lavalamp/no-ro-nonbreaking
Nonbreaking pieces of #8155
2015-06-03 16:44:24 -07:00
derekwaynecarr 122681ea03 Improve resource quota example, add README 2015-06-03 18:55:42 -04:00
Daniel Smith 5d6b8d7de6 doc updates 2015-06-03 15:41:09 -07:00
Daniel Smith 6e95388672 allow kubectl to be built statically
* Package kubectl in a container
* Add example with a pod using kubectl as a sidecar
2015-06-03 15:41:09 -07:00
Muhammed Uluyol 3bd0890234 Request resources that fit in the default configuration in examples/mysql-wordpress-pd. 2015-06-03 12:41:10 -07:00
Chao Xu d52cef11a4 add v1 tests to hack/test-go; let default value of Container.SecurityContext to be nil 2015-06-03 09:50:41 -07:00
Daniel Smith 0b3530ebac fix embarrassing config error 2015-06-02 18:47:06 -07:00
Paulo Pires db70dd5902 Added Hazelcast example Dockerfile. 2015-06-02 22:17:33 +01:00
Paulo Pires 61a4d646a7 Updated Hazelcast example instructions. 2015-06-02 22:10:04 +01:00
Paulo Pires 00c4e9ba01 Updated to hazelcast-kubernetes-bootstraper 0.3.1. 2015-06-02 22:09:48 +01:00
RichieEscarez 8aa42622b1 Added inline links to "services" "pods" "namespaces" and "replication controllers" (using relative linking ../../folder/filename.md) 2015-06-02 13:43:06 -07:00
Brian Grant 619a72cd3b Merge pull request #9048 from kazegusuri/examples_test
validate all json/yaml examples under examples dir
2015-06-02 13:09:47 -07:00
RichieEscarez 320bc1ce4b Added inline links to "services" "pods" "namespaces" "secrets" and "replication controllers" (using relative linking ../../folder/filename.md) 2015-06-02 12:58:28 -07:00
Brian Grant 8c5308c746 Merge pull request #8973 from rjnagal/rc
Fix guestbook example based on hackathon feedback.
2015-06-02 10:38:13 -07:00
Rohit Jnagal 2ffb875129 Merge pull request #9007 from jeffmendoza/nginx-doc
Clarify simple nginx example doc.
2015-06-01 10:43:04 -07:00
Jeff Mendoza 8aea326b89 Clarify simple nginx example doc. 2015-06-01 10:13:16 -07:00
Masahiro Sano 5b3abe719b validate all examples 2015-05-30 18:46:27 +09:00
Kris f4e2c738f6 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
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
Rohit Jnagal 8e2340722c Merge pull request #8678 from jayunit100/k8bps_shell
[Harmless] K8petstore shell update, separated from the larger PR
2015-05-29 11:11:19 -07:00
Tim Hockin e13d6078de Final pass looking for errant 'portal' strings 2015-05-28 16:10:44 -07:00
Tim Hockin 4318ca5a8b Rename 'portal IP' to 'cluster IP' most everywhere
This covers obvious transforms, but not --portal_net, $PORTAL_NET and
similar.
2015-05-28 16:10:44 -07:00
Tim Hockin df4c591943 Merge pull request #8893 from jeffmendoza/patch-2
Wordpress Example: clarify GCE zone
2015-05-28 15:31:00 -07:00
Jeff Mendoza bd843814b2 Make doc links relative. 2015-05-28 09:26:17 -07:00
Jeff Mendoza d7c21bdf9c 201 walkthrough: remove term "API object"
Fixes #8820
2015-05-27 15:49:22 -07:00
Tim Hockin 0721377646 Merge pull request #8596 from andronat/fix_8319
Kubectl command renaming (run-container to run and resize to scale)
2015-05-27 15:37:54 -07:00
Jeff Mendoza 5ff97bf28a Wordpress Example: clarify GCE zone
Fixes  #8825
2015-05-27 15:30:20 -07:00
Quinton Hoole b7caedeedb Merge pull request #8836 from kprobst/master
Remove old command from update sample, plus a minor consistency tweak
2015-05-27 12:48:09 -07:00
Anastasis Andronidis 9e3a540940 rename resize to scale 2015-05-27 19:08:06 +02:00
Anastasis Andronidis d4a47bdb9e rename run-container to run in kubectl 2015-05-27 19:07:17 +02:00
jayunit100 c4efc62dee K8petstore shell update, separated from the larger PR
Also, cleaned up whitespace inconsistencies.
2015-05-27 12:28:00 -04:00
Saad Ali bed9f826d3 Merge pull request #7435 from jsafrane/devel/volume-tests
V2: Add e2e tests for NFS and Gluster
2015-05-26 17:49:41 -07:00
Saad Ali 7dbb0ebfda Merge pull request #8840 from lavalamp/no-ro-cassandra
update cassandra README.md
2015-05-26 17:49:16 -07:00
Saad Ali af10ff12e2 Merge pull request #8848 from lavalamp/no-ro-hazelcast
replace wrong code with link
2015-05-26 17:48:55 -07:00
Daniel Smith 13d99aa961 update cassandra README.md 2015-05-26 17:35:22 -07:00
Daniel Smith 4f5d9310a3 replace wrong code with link 2015-05-26 17:32:03 -07:00
Patrick Reilly 20c3a842e6 Update simple-yaml.md
Fix small typo.
2015-05-26 17:26:47 -07:00
Kathrin Probst 74dfe26e5d update commands to the latest 2015-05-26 15:14:34 -07:00
Saad Ali 2a15bf757d Merge pull request #8750 from pmorie/example-links
Make references to files in examples links
2015-05-26 14:08:37 -07:00
Jan Safranek 20004e0c16 Add e2e tests for Gluster and NFS tests.
- add appropriate server containers into contrib/for-tests/volumes-tester
- the tests are off by default (they need kubelet --allow_privileged=True)
  - enable by 'go run hack/e2e.go ... --ginkgo.focus=Volume'
- add glusterfs tools to list of installed packages on each node
2015-05-25 12:02:41 +02:00
Paul Morie 95806ea68c Make references to files in examples links 2015-05-24 03:22:26 -04:00
Paul Morie a4045d7da1 Change reference to downward api pod to link in doc 2015-05-22 21:51:12 -04:00
Dawn Chen 8d6d03b4a4 Merge pull request #8707 from justinsb/nodeport
WIP: ServiceType & NodePort work
2015-05-22 16:46:59 -07:00
Justin Santa Barbara 973c2e4819 Add Type to ServiceSpec: ClusterIP or LoadBalancer 2015-05-22 19:14:21 -04:00
Paul Morie 98e97aebfb Make secrets example README link to referred files 2015-05-22 16:57:56 -04:00
Huamin Chen 4a800fd10e add rados block device(rbd) volume plugin
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-05-21 14:51:31 -04:00
Daniel Smith f53c55a20d Merge pull request #8454 from brendandburns/services
Adjust the cassandra example to use the service account.
2015-05-19 10:18:19 -07:00
Brendan Burns b4b4ac4ad3 Fix cassandra example for service accounts. 2015-05-18 21:04:12 -07:00
Brendan Burns 63c115f068 Switch Phabricator to use service accounts. 2015-05-18 20:55:13 -07:00
Paul Weil e565b20b37 fix gendocs 2015-05-18 13:32:55 -04:00
Victor Marmol dfa9d9370b Merge pull request #8410 from tnguyen-rh/master
fix typo in gce.yaml: ensure 'accessModes' value is a list
2015-05-18 09:14:01 -07:00
Victor Marmol 4ba22e713a Merge pull request #8296 from jlowdermilk/gen-analytics
Add ga-beacon analytics to gendocs scripts
2015-05-18 08:40:02 -07:00
Thien-Thi Nguyen 15652d00a5 fix typo in gce.yaml: ensure 'accessModes' value is a list 2015-05-18 14:48:42 +02:00
Derek Carr 9aab677e11 Merge pull request #8343 from caesarxuchao/limitrange
update examples/limitrange to v1beta3
2015-05-18 08:19:44 -04: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
Chao Xu 8a03d236fd update examples/limitrange to v1beta3;
change the Memory req. in invalid-pod to 5Mi;
add a minimum readme
2015-05-15 15:55:05 -07:00
Nikhil Jindal 6dc309b3cf Merge pull request #8200 from caesarxuchao/liveness-example
update example/liveness to v1beta3
2015-05-15 14:33:25 -07:00
Nikhil Jindal 5888982e74 Merge pull request #8266 from caesarxuchao/gluster-example
Update examples/glusterfs to v1beta3; add desciption of Glusterfs endpoints in README.md
2015-05-15 14:32:31 -07:00
Chao Xu b5439d4486 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
Nikhil Jindal bcdc5e3338 Merge pull request #8222 from caesarxuchao/walkthrough-example
Update k8s201.md to match PR#8011
2015-05-15 10:33:39 -07:00
Brendan Burns 28591c661d Merge pull request #8226 from caesarxuchao/gce-pd-example-remove
remove examples/gce-pd
2015-05-15 15:02:40 +01:00
Chao Xu 2dcecf1f65 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 cd7ea709ea Merge pull request #8256 from markturansky/move_readme2
Moved PV README up one dir
2015-05-14 11:39:47 -07:00
markturansky 704abd1eef moved README up one dir for better dev experience 2015-05-14 13:03:02 -04:00
Victor Marmol ce3cbdaf2c Merge pull request #8137 from caesarxuchao/iscsi-test
update example/iscsi to v1beta3
2015-05-14 09:49:04 -07:00
Victor Marmol 89c6fd72b2 Merge pull request #7915 from ddysher/dns-example
Add a simple DNS example
2015-05-14 09:08:24 -07:00
Deyuan Deng 263a2e5e2f Add a simple DNS example 2015-05-13 22:32:10 -04:00
Chao Xu 066e3efc67 remove gce-pd example, as it duplicates the examples/persistent-volumes/volumes/gce.yaml 2015-05-13 17:16:13 -07:00
Chao Xu d5bb436cec Update k8s201.md to match PR#8011 2015-05-13 17:05:39 -07:00
Rohit Jnagal cbe6840697 Merge pull request #8210 from lavalamp/explorer
Explorer example shows what environment k8s runs your container in.
2015-05-13 16:46:28 -07:00
Daniel Smith 8c4129b77b Explorer example shows what environment k8s runs your container in. 2015-05-13 15:38:07 -07:00
nikhiljindal e02b6f7f3f Fixing broken persistentvolume nfs example 2015-05-13 14:28:36 -07:00
Rohit Jnagal 8c4a730a5b Merge pull request #8025 from caesarxuchao/cassandra-example
update the KubernetesSeedProvider.java in example example/cassandra to v1beta3
2015-05-13 10:50:51 -07:00
Chao Xu 889647ac7b fix 2015-05-13 10:36:06 -07:00
Chao Xu 9d5ab52885 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
Piotr Szczesniak 7ba41626e9 Merge pull request #8093 from caesarxuchao/guestbook-go-example
update example/guestbook-go to v1beta3
2015-05-13 10:23:46 +02:00
Chao Xu 9dc901735a update the KubernetesSeedProvider.java to v1beta3 2015-05-12 19:28:35 -07:00
Nikhil Jindal 237f0cf1e8 Merge pull request #7991 from eparis/boilerplate-go-crash
Fix boilerplate check crash if .go file has no comments
2015-05-12 10:24:43 -07:00
Chao Xu 4a3ccabb12 update example/guestbook-go to v1beta3 2015-05-12 10:15:29 -07:00
Derek Carr 91fafedffd Merge pull request #7802 from caesarxuchao/kubernetes-namespaces
Update example kubernetes-namespaces to use v1beta3 API
2015-05-12 10:31:01 -04:00
Derek Carr c0f04f3672 Merge pull request #7918 from caesarxuchao/resource-quota-example
merge the v1beta3 json file in the resource quota example
2015-05-12 10:25:52 -04:00
Piotr Szczesniak 1cf52e3bbd Merge pull request #8101 from caesarxuchao/walkthrough-port-fix
make the httpGet port the match the containerPort in the walkthrough example
2015-05-12 16:21:20 +02:00
Chao Xu f6cbf8a2cb make the httpGet port match the containerPort 2015-05-11 21:51:10 -07:00
Deyuan Deng 9153582777 Fix downward API 2015-05-11 22:58:43 -04:00
Quinton Hoole 78ee2ed325 Revert "E2E: Soak test and Functional tests for K8Petstore " 2015-05-11 18:24:42 -07:00
Fabio Yeon 0304820b9d Merge pull request #7985 from jeffmendoza/meteor-update
For examples/meteor: update README, minor fixes.
2015-05-11 17:47:15 -07:00
Chao Xu 25cca64c12 update example/rethinkdb to v1beta3
add external load balancer to work on GCE

add a comment about nodeSelector in gen-pod.sh

update the image/run.sh to v1beta3
2015-05-11 11:29:54 -07:00
Nikhil Jindal 5fcf5911fa Merge pull request #7940 from caesarxuchao/walkthrough-example
update example/walkthrough to v1beta3
2015-05-11 10:48:26 -07:00
Nikhil Jindal 2dbe659887 Merge pull request #7639 from jayunit100/e2e-k8bps
E2E: Soak test and Functional tests for K8Petstore
2015-05-11 10:16:40 -07:00
Jeff Mendoza f9edb4aa5f For examples/meteor: update README, minor fixes. 2015-05-11 09:30:03 -07:00
Paulo Pires fe447b7ceb Fixed documentation based on comments. Will squash after PR is validated. 2015-05-10 11:45:11 +01:00
Chao Xu ab356c9fa0 upgrade example/walkthrough to v1beta3 2015-05-09 20:36:19 -07:00
Paulo Pires 273d9e5dcc Upgraded to hazelcast-bootstraper 0.2 and pires/hazelcast-k8s:0.2.
We now use v1beta3 API.
Fixes #7731
2015-05-09 23:10:14 +01:00
Eric Paris b503214fee Fix boilerplate check crash if .go file has no comments
Clayton pointed out that if he created a file with no /* in it anywhere
the boilerplate logic would crash like:

$ hack/verify-boilerplate.sh
Traceback (most recent call last):
  File "hack/../hooks/boilerplate.py", line 87, in <module>
    sys.exit(main())
  File "hack/../hooks/boilerplate.py", line 83, in main
    if not file_passes(filename, extention, ref, p):
  File "hack/../hooks/boilerplate.py", line 38, in file_passes
    while data[0] != "/*\n":
IndexError: list index out of range

That is because we were just stripping everything before the first line
that contained exacly "/*".  If no such line existed it got to the end
and just kept going.

This does something smarter. We use a regex to look for one or more
lines which start // +build followed by a single newline and remove only
those.  This obviously found one place where the package name was above
the license and was being missed by both the old and the new checker.

It also fixed the python spew and just tells you your file fails.
2015-05-08 17:30:40 -04:00
jayunit100 13a9ae15f5 E2E: Functional + Soak test for k8petstore, revised with improved polling, exit code handling. 2015-05-08 20:53:22 +00:00
Abhi Shah 90c11061d6 Merge pull request #7983 from wattsteve/patch-2
GlusterFS Critical Bug Resolved - Removing warning in README
2015-05-08 13:32:14 -07:00
Brian Grant 97004c87c1 Merge pull request #7942 from goltermann/master
Simple nginx Guide Fixes
2015-05-08 12:09:25 -07:00
Steve Watt 374d245734 Bug Resolved - Removing warning in README 2015-05-08 14:05:56 -05:00
Daniel Smith d136728df7 Merge pull request #7875 from satnam6502/elasticsearch
Elasticsearch Discovery with Kubernetes
2015-05-08 12:04:11 -07:00
goltermann e175728969 simple nginx fixes 2015-05-07 18:28:00 -07:00
Chao Xu cf8426d844 merge the v1beta3 json file in the resource quota example 2015-05-07 13:54:24 -07:00
Chao Xu e0f0ac463f verify the v1beta3 yaml files all work; merge the yaml files 2015-05-07 13:46:12 -07:00
Nikhil Jindal 4cef4a89d1 Merge pull request #7899 from caesarxuchao/persistent-example
update service.json in persistent-volume example to v1beta3
2015-05-07 11:43:27 -07:00
Nikhil Jindal c41982dac5 Merge pull request #7864 from caesarxuchao/wordpress-example
update mysql-wordpress example to use v1beta3 API
2015-05-07 11:41:53 -07:00
Nikhil Jindal a1c305c390 Merge pull request #7848 from caesarxuchao/meteor-example
Update examples/meteor to use API v1beta3
2015-05-07 11:41:05 -07:00
Satnam Singh 9c72a56056 Elasticsearch Discovery with Kubernetes 2015-05-07 11:23:00 -07:00
Chao Xu 7476ca0090 update service.json in persistent-volume example to v1beta3 2015-05-07 10:33:36 -07:00
Chao Xu 284cd205d2 update mysql-wordpress example to use v1beta3 API 2015-05-07 10:21:24 -07:00
Chao Xu 29157f267b update nodeSelector example to use v1beta3 API 2015-05-06 17:24:22 -07:00
Satnam Singh 9939f92731 Merge pull request #7824 from caesarxuchao/Kibana-example
update logging-demo to use API v1beta3; modify the way to access Elasticsearch and Kibana services
2015-05-06 16:10:11 -07:00
Chao Xu 5b60731945 Update examples/meteor to use API v1beta3 2015-05-06 13:42:30 -07:00
Clayton Coleman 52e94b1e2c Merge pull request #7591 from derekwaynecarr/fix_origin
Fix OpenShift example
2015-05-06 15:43:11 -04:00
jayunit100 9e4c4ff1e7 Update K8Petstore.sh to support external invocation 2015-05-06 13:21:47 -04:00
Chao Xu eee11dee1b update logging-demo to use API v1beta3; modify the way to access Elasticsearch and Kibana services
COMMIT_BLOCKED_ON_GENDOCS
2015-05-05 18:14:17 -07:00
Chao Xu c508f17cd3 Update example kubernetes-namespaces to use v1beta3 API 2015-05-05 15:30:37 -07:00
Jeff Lowdermilk 87cdc3f032 Merge pull request #7672 from eparis/boilerplate-python
Check license boilerplate for python files
2015-05-05 09:23:36 -07:00
derekwaynecarr a8f8e2d609 Fix OpenShift example 2015-05-05 11:13:49 -04:00
Paul Morie e949a623ff Change EnvVarSource.FieldPath -> FieldRef and add example 2015-05-04 18:41:09 -04:00
Eric Paris f416289a85 update all python with boilerplate 2015-05-04 18:37:47 -04:00
Brian Grant 52d388a487 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
Chao Xu 733e3af376 update the hazelcast example to API version v1beta3 2015-05-04 13:37:20 -07:00
Brendan Burns 37eedef348 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
Jeff Lowdermilk 5350d5e8d3 Merge pull request #7637 from eparis/copyright-boilerplate-rethinkdb
Update license boilerplate for examples/rethinkdb
2015-05-01 17:46:15 -07:00
Jeff Lowdermilk e87d735304 Merge pull request #7638 from eparis/copyright-boilerplate-phabricator
Add license boilerplate to examples/phabricator
2015-05-01 17:03:24 -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
Eric Paris de4e84d3d9 Add license boilerplate to examples/phabricator 2015-05-01 14:05:21 -04:00
Eric Paris 461fa188f2 Update license boilerplate for examples/rethinkdb 2015-05-01 14:01:28 -04:00
Eric Paris 8bd9d4b6ec Include shell license boilerplate in examples/k8petstore 2015-05-01 13:39:59 -04:00
Paul Morie e1885ba05f Add example for secrets 2015-04-30 12:35:21 -04:00
elsonrodriguez 621c86defb Fixed NFS example Dockerfile to include a valid Entrypoint.
While running through this example the Dockerfile wouldn't build, upon closer inspection the entrypoint was not being copied into the container, and it was not executable.
2015-04-27 20:39:44 -07:00
Brian Grant f4ea8a3b2f Merge pull request #6807 from endocode/kbeecher/celery-update
Updates celery example
2015-04-27 17:36:59 -07:00
Karl Beecher 7072cd8357 Updates celery example
Change files from JSON to YAML.
2015-04-27 19:27:02 +02:00
markturansky 37d7f3f4f1 Added integration test, fixed a validation issue 2015-04-27 12:05:12 -04:00
markturansky 2cf4e6564b Added more to README, tweaked pod, added service, fixed validation 2015-04-27 12:05:12 -04:00
markturansky 49883e7d01 Edited README 2015-04-27 12:05:12 -04:00
markturansky 242567460d PersistentVolumeClaimBinder implementation 2015-04-27 12:05:11 -04:00
Steve Watt 3ad4dbdc65 Warning about Critical bug in the GlusterFS Volume Plugin
This warning will serve to let users know about a critical bug so they don't experience it first hand - https://github.com/GoogleCloudPlatform/kubernetes/issues/7317
2015-04-24 18:24:11 -05:00
Nikhil Jindal 4120b711cf Merge pull request #7258 from caesarxuchao/api-example
update examples/cassandra to api v1beta3
2015-04-24 09:21:54 -07:00
Nikhil Jindal dca49ba5e1 Merge pull request #7231 from bcbroussard/storm-example
Update examples/storm for v1beta3
2015-04-24 09:21:26 -07:00
Nikhil Jindal 113efcd355 Merge pull request #7230 from bcbroussard/spark-example
Update examples/spark for v1beta3
2015-04-24 09:21:10 -07:00
nikhiljindal 4c3171f7ec Fixing an indentation bug in yaml file 2015-04-24 00:48:24 -07:00
BC Broussard 6b27aa2e9b Update examples/storm for v1beta3 2015-04-23 20:03:32 -07:00
BC Broussard 709c00c63d Update examples/spark for v1beta3 2015-04-23 18:23:13 -07:00
Tim Hockin 12e4e8f304 Make docs links go through docs.k8s.io 2015-04-23 16:36:27 -07:00
Brian Grant 38ea531487 Merge pull request #7194 from nikhiljindal/example
Updating the guestbook example to v1beta3
2015-04-23 15:26:47 -07:00
Chao Xu d761c64447 update examples/cassandra to api v1beta3 2015-04-23 14:48:21 -07:00
nikhiljindal 1e323d77bc Updating the guestbook example to v1beta3 2015-04-23 14:34:36 -07:00
BC Broussard 715bee6b3a Update examples/phabricator for v1beta3 2015-04-23 11:47:23 -07:00
Brian Grant 97302af015 Merge pull request #5012 from smarterclayton/podtemplates
Pod templates as their own type
2015-04-22 11:50:24 -07:00
Fabio Yeon c64874aab0 Merge pull request #7161 from chees/master
Added an example for Meteor with raw documentation
2015-04-22 10:58:13 -07:00
Clayton Coleman e6e034af4f Rename PodTemplate.Spec to PodTemplate.Template 2015-04-22 12:54:27 -04:00
Clayton Coleman 10c2ace6bf Pod Templates 2015-04-22 12:54:25 -04:00
derekwaynecarr 06eb45fb75 ResourceQuota add object count support for secret and volume claims 2015-04-21 09:49:40 -04:00
Satnam Singh 0c681001b0 Fix path to kubectl.sh in logging demo 2015-04-20 17:42:08 -07:00
Yifan Gu ed8653a399 examples: Fix flacky example_test.
Update the file path.
2015-04-20 12:44:28 -07:00
Brendan Burns ba95c8a176 Merge pull request #7014 from a-robinson/dirname
Move the logging-related directories to where I think they belong
2015-04-20 10:50:09 -07:00
Robert Bailey 5b8767fa0c Migrate the update-demo to use v1beta3. 2015-04-17 23:35:46 -07:00
Alex Robinson 059a8c92bd Move the logging-related directories to where I think they belong.
1. Move fluentd-gcp to be a core cluster addon, rather than a contrib.
2. Get rid of the synthetic logger under contrib, since the exact same
synthetic logger was also included in the logging-demo.
3. Move the logging-demo to examples, since it's effectively an example.

We should also consider adding on a GCP section to the logging-demo
example :)
2015-04-17 23:59:50 +00:00
Clayton Coleman 3bc42f1635 Merge pull request #6573 from kargakis/setup-resource-aliases
Support setting up aliases for groups of resources
2015-04-17 11:16:30 -04:00
kargakis 9d056c6bd8 Support setting up aliases for groups of resources
Closes #5278
2015-04-17 16:31:59 +02:00
Christiaan Hees ee54b1d0ef Added an example for Meteor with raw documentation 2015-04-17 13:24:53 +02:00
Alex Robinson 391e079cf6 Merge pull request #6917 from thockin/dockerfile-images-are-dead
Stop using dockerfile/* images
2015-04-16 13:30:50 -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
derekwaynecarr c909071cce Docker requires a minimum memory for container 2015-04-16 13:31:30 -04:00
Dawn Chen 59fa08ac79 Merge pull request #6820 from aronchick/master
Quick documentation clean up
2015-04-14 15:41:18 -07:00
Dawn Chen 9b1b5c5447 Merge pull request #6824 from derekwaynecarr/fix_quota_bug
Fix quota bug in LimitRanger
2015-04-14 14:56:55 -07:00
derekwaynecarr d1bfcdf7f5 Remove trailing comma 2015-04-14 16:11:51 -04: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
Robert Bailey 68c3f3a914 Merge pull request #6720 from invino4/slave
Make guestbook-go example use slaves
2015-04-13 13:25:19 -07:00
Jason Hunter 2ecb95b5b6 Make guestbook-go example actually use the redis-slave service that is set up for its reads. 2015-04-13 11:40:42 -07:00
you-n-g dd538464d6 Update README.md
The pods won't be deleted by that command
2015-04-12 15:16:53 +08:00
Young d1a6cee15e supplement the cleanup scripts 2015-04-12 15:12:43 +08:00
Matthew Farrellee 28a661727f fix tldr anchor ref
add source location
2015-04-10 11:40:57 -04: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
Jeff Lowdermilk ca6f1a1bc7 Merge pull request #6476 from deads2k/deads-fix-kubeconfig-serialization
fix kubeconfig serialization
2015-04-09 09:41:26 -07:00
Huamin Chen a278ceeb0a implement glusterfs volume plugin
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-04-07 09:14:39 -04:00
deads2k 609208b8b5 update scripts with correct templates 2015-04-07 08:07:24 -04:00
Huamin Chen 7a82af31de add iscsi volume plugin
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-04-06 16:20:28 -04:00
markturansky 95bd170ca2 PV & PVC Client implementation 2015-04-06 08:46:43 -04:00
Yu-Ju Hong e0c9d9edb2 Merge pull request #6385 from jayunit100/k8petstore-fix-ip
Remove loopback ip from k8petstore PublicIPs
2015-04-03 11:47:33 -07:00
Sam Ghods ca18e86877 Make naming of kubectl subcommands consistent 2015-04-02 16:14:53 -07:00
Prashanth B 620af16892 Merge pull request #6097 from derekwaynecarr/limit_range_default_value
Limit range supporting a default resource limits value
2015-04-02 16:04:09 -07:00
jayunit100 0a0d719273 Remove loopback ip from k8petstore PublicIPs 2015-04-02 21:16:17 +00:00
Kris Rousey db99f78faf Fixing a couple of JSON files so that kubectl create -f doesn't error out while parsing them. 2015-04-02 14:01:54 -07:00
Jan Safranek ed46c4db51 Add NFS export/import pod examples. 2015-04-02 10:47:21 +02:00
Tony Hsu d9bb420410 Fix typo. 2015-04-02 10:13:29 +08:00
derekwaynecarr c2b670513c Introduce concept of a default limit 2015-04-01 16:31:25 -04:00
Jeff Lowdermilk 2d8e93f8b4 e2e images pulled from gcr.io 2015-04-01 09:18:03 -07:00
Brian Grant 3354cffbf0 Merge pull request #6182 from thockin/plural_services_20
Implement multi-port Services
2015-03-31 12:55:21 -07:00
Tim Hockin 186818d787 WIP: Implement multi-port Services 2015-03-30 19:28:11 -07:00
Steve Watt 0df63ab0c1 Update volumes.md
Update docs and example for NFS Plugin

Modified the wording around how many Volumes exist

Cleaned up the text around the NFS Pod description

Fixed Spelling mistake on read-only
2015-03-30 20:40:51 -05:00
CJ Cullen 31324a0ba5 Merge pull request #5602 from mattf/spark-example
Spark example
2015-03-30 10:12:19 -07:00
Victor Marmol 22670de524 Merge pull request #6092 from derekwaynecarr/limit_range_default
Eliminate trailing commas
2015-03-30 09:41:17 -07:00
Deyuan Deng f35dc54d62 Fix docs 2015-03-28 23:42:54 -04:00
Matthew Farrellee 31b923c987 add tl;dr version of Spark README.md
mention the spark cluster is standalone

add detailed master & worker instructions

add method to get master status

add links option for master status

add links option for worker status

add example use of cluster

add source location
2015-03-27 16:46:33 -04:00
derekwaynecarr 84667ac0b5 Eliminate trailing commas 2015-03-27 16:30:12 -04:00
Shichao An 4e4b2fedfe Fixed sentence grammar 2015-03-26 19:29:37 -07:00
jayunit100 1e3eb6a044 Cleanup of k8petstore json formatting flaw, and parameterization of kubectl. 2015-03-26 09:24:06 -04:00
Robert Bailey d96d8a9faf Merge pull request #5803 from ihmccreery/guestbook-example-point-to-getting-started
Guestbook example README points to Getting Started, not SETUP.md
2015-03-25 13:02:45 -07:00
Robert Bailey 13429ce6a8 Merge pull request #5857 from brendandburns/cassandra
Update the cassandra example to pick up recent changes.
2015-03-24 16:45:51 -07:00
Isaac Hollander McCreery 6945ac8d4f Guestbook example README points to Getting Started, not SETUP.md 2015-03-24 20:21:59 +00:00
Brendan Burns a4c02d8ede Merge pull request #5855 from thockin/target-port
Update docs using old Service.containerPort
2015-03-24 10:40:33 -07:00
Brendan Burns ab0ae0a64e Update the cassandra example to pick up recent changes.
Also make it buildable via Maven.
2015-03-24 10:36:43 -07:00
Brendan Burns 9707a944c2 Merge pull request #5808 from mikeln/issue-5737
Cassandra Cluster Example Add Check for Null Endpoints (redo2)
2015-03-24 10:10:10 -07:00
Tim Hockin dfd8bbcf3e Update docs using old Service.containerPort 2015-03-24 09:44:43 -07:00
Robert Bailey 5c40bd61e4 Merge pull request #5794 from thockin/gcepd_name
Rename the JSON for GCEPersistentDisk, fix examples
2015-03-23 17:12:32 -07:00
Brendan Burns 7547eaec2b Merge pull request #5765 from roberthbailey/pipefail
Specify bash when installing kubernetes via get.k8s.io.
2015-03-23 14:05:39 -07:00
Tim Hockin 7ce59d9bc7 Rename the JSON for GCEPersistentDisk in internal
I know the internal JSO tags are slated for death.  Until then, make them
correct.  Also fix some examples of v1b3 conversions that did not rename the
JSON field.
2015-03-23 13:54:00 -07:00
Mikel Nelson bbca7217b7 Issue #5737 Cassandra Cluster Example Custom Seed Cores on First Node 2015-03-23 13:50:38 -07:00
Clayton Coleman d19aac80ea Merge pull request #5533 from smarterclayton/burn_yaml_with_fire
Burn YAML with fire (kind of)
2015-03-23 13:45:52 -04:00
Robert Bailey a7bc9edb96 Specify bash when installing kubernetes via get.k8s.io.
Fixes #5689.
2015-03-21 22:50:29 -07:00
Jan Dolecek 7f7ac2deb6 Update README.md
Fix some formatting.
2015-03-20 22:43:07 +00:00
Tim Hockin 4375376e9c Rename Service.ContainerPort to TargetPort in v1b3
Fix all callers and examples.  Part of multi-port service cleanup.
2015-03-20 13:50:06 -07:00
Clayton Coleman 6918a4d32e 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
Clayton Coleman 1b1866d836 Invalid JSON in examples and tests 2015-03-20 00:02:03 -04:00
Chris Alfonso 1a45e37d17 NFSMount storage plugin for kubelet.
* If you want to test this out when an actual NFS export a good place
 to start is by running the NFS server in a container:

docker run -d --name nfs --privileged cpuguy83/nfs-server /tmp

More detail can be found here:
https://github.com/cpuguy83/docker-nfs-server
2015-03-19 13:37:38 -04:00
Robert Bailey 242dd9c921 Merge pull request #5591 from piosz/guestbook_example
Rewrote guestbook-go example to use kube-dns
2015-03-18 17:01:21 -07:00
nikhiljindal 7e36bbab3c Updating integration tests to test both API versions - v1beta1 and 3 2015-03-18 15:24:11 -07: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
Brendan Burns 60b2b5d5b4 Merge pull request #5447 from jayunit100/k8petstore
K8petstore
2015-03-17 07:28:30 -07:00
Jeff Lowdermilk 404b20e6b8 Add dependencies for k8petstore to Godeps
Cleanup k8petstore to use Godeps dependencies, add to hack/build-go.sh
Remove trailing spaces, README
2015-03-17 07:06:01 -04:00
jayunit100 abf3bb226e Cleanup after initial PR and shading of src. 2015-03-16 19:12:36 -04: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
Alex Robinson 087e0669d3 Merge pull request #5495 from scuxiayiqian/master
Fix the stop rc failure in Cleanup Step
2015-03-16 09:39:07 -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
Tamer Tas 17997360a5 Refactor examples_test.walkJSONFiles 2015-03-14 18:05:23 +02:00
Brendan Burns 494ac9ebc0 Merge pull request #4953 from mattf/storm-example
Storm example
2015-03-13 12:14:23 -07:00
jayunit100 c552e916da K8PetStore: A scalable kubernetes application with automated load generation (#3137). 2015-03-13 14:18:00 -04:00
Brian Grant c0b8dc503f Merge pull request #5062 from ArtfulCoder/doc
Updated gce-pd and redis examples to use v1beta3
2015-03-12 10:49:20 -07:00
Abhi Shah f92b20888b updated gce-pd and redis examples to use v1beta3 2015-03-11 16:15:49 -07: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
Daniel Smith d8d64987ab Merge pull request #5144 from jayunit100/docs
Describe how to use publicIPs to access guestbook externally when not us...
2015-03-10 11:56:49 -07:00
Brian Grant 8273fffb84 Merge pull request #5079 from dchen1107/doc
Convert resource-quota and rethinkdb to v1beta3
2015-03-10 11:29:37 -07:00
Filip Grzadkowski 401babef29 Add Phabricator example
Summary: Add phabricator example

Reviewers: davidopp

Reviewed By: davidopp

Subscribers: #kubernetes

Projects: #kubernetes

Differential Revision: http://107.178.210.6/D5
2015-03-10 16:22:52 +01:00
jayunit100 fbeeaf8d30 Clarify publicIP on minion use case 2015-03-10 10:41:59 -04:00
Alex Mohr da9622a6d7 Revert "Revert "Deleting old sample JSON; moving those in use; updating referenc..." 2015-03-09 14:44:14 -07:00
Alex Mohr 44b9b7aea5 Revert "Deleting old sample JSON; moving those in use; updating references" 2015-03-09 14:18:40 -07:00
Alex Mohr ee276b26cb 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 4da6d413be Deleting old sample JSON; moving those in use; updating references 2015-03-06 17:24:45 -08: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
Derek Carr d99e9f728c Merge pull request #5050 from dchen1107/cleanup
Convert both namespace and limitrange examples to v1beta3
2015-03-06 13:26:23 -05:00
Tim Hockin ca265c5705 Merge pull request #4898 from gmarek/client2
Loosen label and annotation validation and related tests
2015-03-06 09:14:24 -08:00
Brendan Burns 6ed5bc2bcc Merge pull request #5126 from endocode/karl/celery-example
New example: Distributed task queue
2015-03-06 15:15:46 +01:00
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