Commit Graph

53 Commits (ca00e596bdc7521a096311b3ae44e2731e0910be)

Author SHA1 Message Date
Kubernetes Submit Queue 5541e18aaa Merge pull request #30777 from k82cn/use_k8petstore_ns
Automatic merge from submit-queue

Updated k8petstore example to use non-default namespace.

fixes #24314
2016-09-11 02:38:50 -07:00
David McMahon 385fb81407 Update the latestReleaseBranch to release-1.4 in the munger. 2016-09-01 14:40:55 -07:00
Klaus Ma aeb908865d Updated k8spetstore to use non-default namespace. 2016-08-29 21:56:33 +08:00
Ryan Hitchman 5508e49ef5 Use bash ranges "{1..3}" instead of "$(seq 1 3)". 2016-08-08 16:23:39 -07:00
joe2far 88b6d4ad36 Fix broken warning image link in docs 2016-07-15 10:44:58 +01:00
joe2far 5ead89b5bb Fixed several typos 2016-07-13 15:06:24 +01:00
David McMahon ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
David McMahon 2bff72b769 Updated docs and examples for release-1.3. 2016-06-13 12:24:34 -07:00
Dawn Chen 88de86fcb9 Revert "Versioning docs and examples for v1.4.0-alpha.0."
This reverts commit cce9db3aa9.
2016-06-10 16:46:46 -07:00
David McMahon cce9db3aa9 Versioning docs and examples for v1.4.0-alpha.0. 2016-06-10 14:55:35 -07:00
David McMahon dae84f5306 Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
jay vyas 6efe5d05c3 [examples] k8petstore: connection timeouts and pass fail that is allows blips.
Author:    jay vyas <jay@apache.org>
 Date:      Fri Feb 19 18:44:13 2016 -0500
 Committer: jay vyas <jay@apache.org>
2016-02-23 23:11:44 -05:00
laushinka 7ef585be22 Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
Paul Morie b672785d72 Add boilerplate checks for Dockerfiles 2016-02-03 18:35:26 -05:00
Chao Xu 2b2f285777 run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
Tim Hockin efe566621f try harder to timeout hung curls in examples test 2015-11-17 23:53:39 -08:00
Tim Hockin 7f0ed03f45 Fix the petstore example test with iptables proxy
hypothesis: The old userspace proxier would internally retry connections.  The
new one does not.  When this test comes up, the firewall might not yet be open or
something is causing a long delay and a timeout.  I can't repro this failure
locally, so I am shooting in the dark.  It's sort of plausible.

evidence: I can SSH into the jenkins master that is hung and I can see the hung
curl.  I can run that curl by hand and it works.  I can see that my shell is in
the same netns as that hung curl.
2015-11-16 22:03:36 -08:00
Tim Hockin dab591b629 Run update-gendocs 2015-11-13 13:57:57 -08:00
jvance 5ccf073969 don't use docker-machine for k8petstore on linux 2015-11-11 11:41:30 -08:00
jayvyas c897798c27 Cleaning/Updating k8petstore dev tooling and build fixing, moving webserver to
main.go.  Replacing vagrant tooling with docker-machine.
2015-10-12 08:31:30 -04:00
jayvyas 6e3d6738c6 [examples k8petstore] Fix nodeport impl 2015-09-15 11:33:12 -04:00
goltermann bec4c10dc4 Replace IRC with Slack in docs. 2015-09-08 15:17:39 -07:00
Dai Zuozhuo 2e2ef3e830 change -o template to -o go-template=... 2015-09-05 22:30:47 +08:00
Mike Danese f061875840 updating all references in .sh scripts 2015-08-12 14:41:59 -07:00
Kris Rousey 565189f5b8 Correcting all go vet errors 2015-08-11 13:55:37 -07:00
Marek Grabowski 5f9cefc1d8 Merge pull request #12441 from vlajos/typofixes-vlajos-20150807
typofix - https://github.com/vlajos/misspell_fixer
2015-08-10 16:33:52 +02:00
Ed Costello 35a5eda585 Copy edits for typos 2015-08-09 14:18:06 -04:00
Veres Lajos 9f77e49109 typofix - https://github.com/vlajos/misspell_fixer 2015-08-08 22:31:48 +01:00
Eric Paris 024208e39f Fix trailing whitespace in all docs 2015-07-30 20:41:30 -04:00
Tim Hockin 995a7aef29 Collected markedown fixes around syntax. 2015-07-20 09:51:22 -07:00
Tim Hockin 33f1862830 Run gendocs 2015-07-17 15:35:43 -07:00
Tim Hockin 542e13d2d3 Better scary message 2015-07-17 09:28:49 -07:00
Daniel Smith 98eeadb66e (mostly) auto fixed links 2015-07-16 16:28:18 -07:00
Tim Hockin 39b86908a1 Run gendocs 2015-07-14 17:28:47 -07:00
Tim Hockin 79f9cd7c83 Run gendocs 2015-07-14 15:28:59 -07:00
Daniel Smith 821e08fded Apply mungedocs changes 2015-07-13 17:48:40 -07:00
Chao Xu 4c3a15fd4f make the nodeport scipt work for local cluster 2015-06-12 17:06:53 -07:00
Chao Xu 79963be843 k8petstore-nodeport.sh 2015-06-12 15:16:23 -07:00
Chao Xu 360b79f41f Update examples/k8petstore/k8petstore.sh to v1
Add examples/k8petstore/k8petstore-loadbalancer.sh
2015-06-12 15:16:23 -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
Scott Konzem 1cff55f874 Fix misspellings in documentation 2015-06-05 11:35:17 -04:00
jayunit100 c4efc62dee K8petstore shell update, separated from the larger PR
Also, cleaned up whitespace inconsistencies.
2015-05-27 12:28:00 -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
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
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 8bd9d4b6ec Include shell license boilerplate in examples/k8petstore 2015-05-01 13:39:59 -04: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
jayunit100 0a0d719273 Remove loopback ip from k8petstore PublicIPs 2015-04-02 21:16:17 +00:00
jayunit100 1e3eb6a044 Cleanup of k8petstore json formatting flaw, and parameterization of kubectl. 2015-03-26 09:24:06 -04:00