Commit Graph

17 Commits

Author SHA1 Message Date
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
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
jayunit100
c552e916da K8PetStore: A scalable kubernetes application with automated load generation (#3137). 2015-03-13 14:18:00 -04:00