Commit Graph

10910 Commits

Author SHA1 Message Date
Jerzy Szczepkowski
36163969ef Merge pull request #8021 from ddysher/kubelet-fix
Use error type from docker go-client instead of string
2015-05-11 09:46:39 +02:00
Jerzy Szczepkowski
54e0f4679e Merge pull request #8024 from BenTheElder/vagrant_cpu_count
Accurately get hardware cpu count in Vagrantfile.
2015-05-11 09:46:18 +02:00
Paul Morie
cd359ffa73 Refactor volume interfaces to receive pod instead of ObjectReference 2015-05-10 20:12:57 -04:00
Kenjiro Nakayama
cb2c62f0d8 Fix filepath to simple sample pod 2015-05-11 00:21:33 +09:00
Kenjiro Nakayama
e39f29ca16 Terminate child process by cleanup() in local-up-cluster.sh 2015-05-11 00:07:22 +09:00
Kenjiro Nakayama
c13f457885 Use template to get first column in __kubectl_parse_get() 2015-05-10 23:32:24 +09:00
Paulo Pires
fe447b7ceb Fixed documentation based on comments. Will squash after PR is validated. 2015-05-10 11:45:11 +01:00
Kenjiro Nakayama
5a0acecc54 Delete status from displayable resources 2015-05-10 19:28:02 +09:00
Shawn Smith
5d5c660f4b Add missing Errorf formatting directives 2015-05-10 13:25:14 +09:00
Shawn Smith
50f34d013e Use Errorf 2015-05-10 13:23:03 +09:00
Shawn Smith
5b0d4d72ba Fix Sprintf verb 2015-05-10 13:22:18 +09:00
Shawn Smith
295286cdc8 Fix printf verb 2015-05-10 13:18:26 +09:00
Shawn Smith
02d136173a Fix unused fmt.Errorf result 2015-05-10 13:17:00 +09:00
Shawn Smith
555ff0d1bc Use Fprintf 2015-05-10 13:14:05 +09:00
Shawn Smith
48927cb209 Fix struct tag 2015-05-10 13:09:13 +09:00
Shawn Smith
ecce796ee8 Use Fatalf 2015-05-10 13:08:55 +09:00
Shawn Smith
97cdd064c8 Fix struct tag 2015-05-10 13:08:25 +09:00
Shawn Smith
8105ac5346 Fix struct tag 2015-05-10 13:06:20 +09:00
Chao Xu
ab356c9fa0 upgrade example/walkthrough to v1beta3 2015-05-09 20:36:19 -07:00
Tim Hockin
3aa39d54b6 Service port names are required for multi-port
There is no provision for the first port to be unnamed.  I think I
initially allowed that, but then the Subset struct became a sorted
struct, so the first-ness of the port got lost.  If you have a Service
with one named and one unnamed port, what happens is that the
EndpointController fails to create Endpoints (validation error).
2015-05-09 20:11:48 -07:00
Paul Morie
634fb6e9a4 Fix example in downward-api docs 2015-05-09 22:19:44 -04:00
BenTheElder
19224deb04 Accurately get hardware cpu count in Vagrantfile.
In Vagrantfile replace hack that assumed hyper threading was enabled on
the host and divided ncpu by 2 with methods of getting the actual
hardware core count.
2015-05-09 19:21:58 -04: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
Deyuan Deng
2f7183cba5 Check Pod privileged container 2015-05-09 17:30:35 -04:00
Deyuan Deng
72a563f618 Use error type from docker go-client instead of string 2015-05-09 15:20:45 -04:00
Zach Loafman
738f403eea Merge pull request #8018 from justinsb/aws_ci_dont_copy_gce_keys
AWS: Don't try to copy gce_keys in jenkins e2e job
2015-05-09 09:28:01 -07:00
Justin SB
a442918d31 AWS: Don't try to copy gce_keys in jenkins e2e job
Should fix e2e builds.

For the AWS jenkins jobs, I've been using the secret plugin.
2015-05-09 08:55:35 -07:00
Jeff Lowdermilk
c2171e8c98 Merge pull request #8017 from jlowdermilk/fix-gke-ci
fix #7921
2015-05-09 07:59:06 -07:00
Jeff Lowdermilk
78386e48ad fix #7921 2015-05-09 07:48:29 -07:00
Shimin Guo
539b3523ee Fixing master.yaml: Replacing <master-private-up> with $private_ipv4. 2015-05-09 00:07:26 -04:00
Jeff Lowdermilk
051288c4ee Merge pull request #7921 from roberthbailey/gke-kubeconfig
Stop setting a GKE specific version of the kubeconfig file
2015-05-08 19:48:49 -07:00
Victor Marmol
9ded52ac79 Merge pull request #7981 from yujuhong/reasons
Record failure reasons for image pulling
2015-05-08 18:00:46 -07:00
Yu-Ju Hong
d185bfd56a Record failure reason for image pulling 2015-05-08 17:37:11 -07:00
Brendan Burns
c9324e6e38 Switch exec to look at exit code not output status. 2015-05-08 16:51:37 -07:00
Eric Paris
71d54198ed Spelll extension gooder 2015-05-08 19:19:33 -04:00
Zach Loafman
8314fd9c54 Merge pull request #8004 from mbforbes/jenkinsKeysChange
Make jenkins e2e runs reuse one key, take two.
2015-05-08 16:03:59 -07:00
Daniel Smith
ccecb115ed Don't print debugging things on every run of kubectl.sh 2015-05-08 15:55:28 -07:00
Max Forbes
590d3873ea Make jenkins e2e runs reuse one key, take two. 2015-05-08 15:52:56 -07:00
Zach Loafman
857d88b286 Merge pull request #8002 from GoogleCloudPlatform/revert-7990-jenkinsKeys
Revert "Make jenkins e2e runs reuse one SSH key."
2015-05-08 15:46:59 -07:00
Zach Loafman
c6400cab1f Revert "Make jenkins e2e runs reuse one SSH key." 2015-05-08 15:46:42 -07:00
Zach Loafman
6cf760586c Merge pull request #7990 from mbforbes/jenkinsKeys
Make jenkins e2e runs reuse one SSH key.
2015-05-08 15:22:34 -07:00
Robert Bailey
128254a097 Merge pull request #7992 from justinsb/aws_copy_config_to_test
AWS: Copy some new properties from config-default => config.test
2015-05-08 15:10:44 -07:00
Satnam Singh
fcbe2229df Kibana by itself
Upgrade to Kibana 4 for cluster logging
2015-05-08 14:55:52 -07:00
Robert Bailey
9db0c68e3e For GKE, only use the special kubeconfig location if the file exists.
This will allow Jenkins to keep running after the next gcloud release
without needing to make immediate modifications to this file. We can
then remove the extra logic at our own convenience.
2015-05-08 14:53:49 -07:00
Max Forbes
41cc8027ab Make jenkins e2e runs reuse one key. 2015-05-08 14:51:42 -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
Justin Santa Barbara
3cf8d72d96 Copy some new properties from config-default => config.test
ENABLE_MINION_PUBLIC_IP was causing a failure because the variable wasn't declared.

ADMISSION_CONTROL should just be set the same for both test & default
2015-05-08 14:30:17 -07:00
Prashanth Balasubramanian
4fdd5bc3f3 Ratelimit replica creation 2015-05-08 14:24:25 -07:00
Daniel Smith
b02149d3d2 Merge pull request #7950 from satnam6502/head2
Make the API server deal with HEAD requests via the service proxy
2015-05-08 14:13:21 -07:00
Brendan Burns
7f11585972 Fix validation by moving it into the resource builder.
Also always print an error for unknown field.
2015-05-08 14:00:33 -07:00