Commit Graph

13639 Commits

Author SHA1 Message Date
Tim Hockin
89875ef09d Loosen DNS 952 for labels 2014-12-01 12:30:43 -08:00
Tim Hockin
c857dc1196 Add namespacing for label keys 2014-12-01 12:30:43 -08:00
Tim Hockin
d5a6a54391 clean up error message on labels validation errs 2014-12-01 12:30:43 -08:00
Matt Moore
65c246d45a Make credentialprovider less verbose about benign errors.
In particular, a few of the utilities used within the credentialprovider had the pattern:
   glog.Errorf("while blah %s: %v", s, err)
   return nil, err

This change propagates those error message and puts the burden of logging on the caller.

In particular, this allows us to squelch all output during kubelet startup when we are detecting whether certain credentialprovider plugins should even be enabled.

Fixes: https://github.com/GoogleCloudPlatform/kubernetes/issues/2673
2014-12-01 11:54:50 -08:00
Brendan Burns
50cf0c1b23 Merge pull request #2668 from meirf/set-initial-udp-proxy-timeout
Set initial timeout upon UDP proxy connection creation
2014-12-01 10:14:23 -08:00
Brendan Burns
b61168835d Merge pull request #2666 from mattmoor/master
add another registry URL
2014-12-01 10:12:31 -08:00
Vojtech Vitek (V-Teq)
28f5d51a5f Add Labels and Annotations to MetadataAccessor 2014-12-01 16:36:24 +01:00
Vojtech Vitek (V-Teq)
508724b1f8 meta_test should not depend on runtime.TypeMeta 2014-12-01 16:36:21 +01:00
Jimmi Dyson
5109ce3356 Fixes #2681: update to cadvisor 0.6.2 2014-12-01 11:38:03 +00:00
Meir Fischer
d1c93384e9 Set initial timeout on UDP proxy connection creation 2014-11-29 21:32:45 -05:00
Matt Moore
5c35af5810 add another registry URL 2014-11-29 15:56:25 -08:00
Clayton Coleman
740b824ac2 Add a util.Forever variant that ends on a stop channel 2014-11-28 15:15:52 -05:00
Eric Tune
7eceafa656 Merge pull request #2437 from deads2k/deads-add-utility-to-bind-auth-flags
add utility for binding flags and building api server clients
2014-11-26 15:15:14 -08:00
Tim Hockin
7246727231 Merge pull request #2636 from erictune/service_env_var
Remove format specifiers with no options.
2014-11-27 06:03:55 +08:00
Tim Hockin
9afeaf36ef Fix head 2014-11-26 13:48:50 -08:00
Eric Tune
41f23ffca2 Merge pull request #2638 from thockin/iptables
Fix iptables for old systems
2014-11-26 13:16:45 -08:00
Eric Tune
585afa1bae Merge pull request #2610 from ddysher/node-namespace
Fix node namespace.
2014-11-26 13:02:21 -08:00
Tim Hockin
e925deccb0 Fix iptables for old systems
The iptables args list needs to include all fields as they are eventually spit
out by iptables-save.  This is because some systems do not support the
'iptables -C' arg, and so fall back on parsing iptables-save output.  If this
does not match, it will not pass the check.  For example: adding the /32 on
the destination IP arg is not strictly required, but causes this list to not
match the final iptables-save output.  This is fragile and I hope one day we
can stop supporting such old iptables versions.
2014-11-26 12:50:44 -08:00
Eric Tune
54859cf1ea Remove format specifiers with no options. 2014-11-26 12:05:00 -08:00
Tim Hockin
0c03f6e784 Enable public IPs even in not createExternal...
This allows the proxier to portal Public IPs even if the
createExternalLoadBalancer flag is not set.

This also fixes what appears to be a bug in the createExternalLoadBalancer path
wherein multiple PublicIPs would get truncated.
2014-11-26 10:54:28 -08:00
deads2k
2dbfb80349 add utility for binding flags and building api server clients 2014-11-26 07:50:51 -05:00
Angus Lees
a00f73c360 Add additional logging to openstack cloud provider
Turned out to be invaluable while debugging issues - I expect it will be
for others too.

Conflicts:
	pkg/cloudprovider/openstack/openstack.go
2014-11-26 16:41:11 +11:00
Angus Lees
5499981ad3 Implement TCPLoadBalancer OpenStack cloud provider
Also add a trivial implementation of Zones() too.

This only supports a single region/zone currently (the region where
kubernetes is running).
2014-11-26 16:40:35 +11:00
Angus Lees
f184eebc9b Update openstack provider to gophercloud v1.0 API 2014-11-26 16:08:43 +11:00
Tim Hockin
26ec89c3c0 Merge pull request #2614 from bgrant0607/api
Format JSON by default. Fixes #2243.
2014-11-26 07:58:57 +08:00
Brian Grant
e18dcb87c4 Format JSON by default. Fixes #2243. 2014-11-25 23:11:43 +00:00
Joe Beda
6590c66dd4 Revert "Add optional validation to kubecfg/kubectl."
This reverts commit acf6d82800.
2014-11-25 14:45:00 -08:00
Eric Tune
f5f5542bb2 Merge pull request #2584 from liggitt/basic_auth
Add password authenticators
2014-11-25 14:21:32 -08:00
Eric Tune
7ca611b1df Merge pull request #2589 from ddysher/show-node-label
Use formatLabel instead of label.Set
2014-11-25 14:08:50 -08:00
Eric Tune
636ffed399 Merge pull request #2515 from thockin/why
Add details on Invalid validation errors
2014-11-25 14:04:27 -08:00
Deyuan Deng
c8c7a13ac6 Fix node namespace. 2014-11-25 16:30:55 -05:00
Clayton Coleman
a67912f937 Merge pull request #2517 from brendandburns/kubecfg
Add client side validation to kubecfg and kubectl.
2014-11-25 13:46:52 -06:00
Eric Tune
ef85243f73 Merge pull request #2570 from derekwaynecarr/endpoints_missing_ns
Endpoint.Namespace is not being set when it has no resolved endpoints
2014-11-25 11:38:51 -08:00
Brendan Burns
ded165def5 Merge pull request #2605 from derekwaynecarr/kubectl_log_ns
Log function use namespace
2014-11-25 11:16:27 -08:00
derekwaynecarr
f41a44278d Log function use namespace 2014-11-25 13:10:32 -05:00
Joe Beda
12add3bc66 Merge pull request #2579 from brendandburns/e2e
Add an e2e test for gce pd.
2014-11-25 09:08:40 -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
Clayton Coleman
c5e9f60f9c Merge pull request #2569 from mfojtik/pluralization_fix
Fix pluralization in RESTMapper when kind ends with 'y'
2014-11-25 09:53:46 -06:00
Michal Fojtik
7235a9b1f0 Fix pluralization in RESTMapper when kind ends with 'y' 2014-11-25 11:33:13 +01:00
Brendan Burns
acf6d82800 Add optional validation to kubecfg/kubectl. 2014-11-24 22:25:22 -08:00
Brendan Burns
a5bc6301a4 Revert "Using util.Time for ContainerStatus" 2014-11-24 21:32:31 -08:00
Tim Hockin
ff8c5f9415 Add a Detail field to Validation Error 2014-11-24 17:28:42 -08:00
Tim Hockin
b08e5b24b0 Change ValidationError to a pointer
In Prep for adding at leats one more field, make this operate more list
StatusError.
2014-11-24 17:28:42 -08:00
Tim Hockin
d4c37e352e small cleanup on pkg/config 2014-11-24 17:28:41 -08:00
Deyuan Deng
ec7d544194 Use formatLabel instead of label.Set 2014-11-24 18:45:29 -05:00
Daniel Smith
610ab9a0db Merge pull request #2586 from dchen1107/cleanup
Using util.Time for ContainerStatus
2014-11-24 15:35:07 -08:00
Dawn Chen
acb0f1198b Using util.Time for ContainerStatus 2014-11-24 15:15:33 -08:00
Jordan Liggitt
3532be3c82 Add basicauth and password authenticators 2014-11-24 17:52:10 -05:00
Daniel Smith
668a81e894 Merge pull request #2539 from lavalamp/master
Reduce boilerplate
2014-11-24 13:45:04 -08:00
Brendan Burns
e82b88fed8 Merge pull request #2560 from ddysher/fix-git-volume
gitrepo validation
2014-11-24 13:12:04 -08:00