Commit Graph

4287 Commits

Author SHA1 Message Date
bgrant0607
623964456e Merge pull request #2743 from mikedanese/etcd-kubernetes-bug
fixed bug in tools.NewEtcdClientStartServerIfNecessary
2014-12-04 09:06:27 -08:00
bgrant0607
d67647b078 Merge pull request #2732 from rajdeepd/master
Added test case for ServerAPIVersions
2014-12-04 08:26:29 -08:00
deads2k
ff24a45d8f bump(github.com/emicklei/go-restful): 692a50017a7049b26cf7ea4ccfc0d8c77369a793 2014-12-04 08:48:26 -05:00
Eric Tune
3f285269cc Rename watch.Mux -> watch.Broadcaster
A few reasons:
- Mux is already widely used in the codebase to refer to a http handler mux.
- Original meaning of Mux was something which sent a chose one of several inputs to
  and output.  This sends one output to all outputs.  Broadcast captures that idea
  better.
- Aligns with similar class config.Broadcaster (see #2747)
2014-12-04 00:30:51 -08:00
Eric Tune
64f1084c1a Rename util.config.Watcher -> util.config.Broadcaster.
Watch is a widely used term in the codebase, which doesn't capture
the key feature of this type: broadcasting a change to several
listeners.
2014-12-04 00:10:27 -08:00
Tim Hockin
c31b3f04de Merge pull request #2722 from thockin/iptables
strip quotes in back-compat iptables
2014-12-03 16:10:00 -08:00
Satnam Singh
fcfdd48f8d Add missing project argument to gcloud commands 2014-12-03 15:38:40 -08:00
Daniel Smith
6cb26e17a4 Merge pull request #2697 from erictune/no_accept_err
Proxy: Avoid log error.  Simplify locking.
2014-12-03 14:06:17 -08:00
Daniel Smith
5466c06b3a Merge pull request #2733 from erictune/handle_error
Handle error from watch.
2014-12-03 14:02:54 -08:00
Mike Danese
a98faa1f62 fixed bug in tools.NewEtcdClientStartServerIfNecessary 2014-12-03 12:58:03 -08:00
Eric Tune
909f82f463 Proxy: Avoid log error. Simplify locking.
Don't log an error when Accept failed because the interface (portal)
was just removed.

Don't pass around a pointer to a serviceInfo since another thread
deletes those.  Instead, just check if service name is still in the
service map.

Delete the locking on the serviceInfo object since it is only used
by the "main" proxier thread.
2014-12-03 12:34:54 -08:00
Eric Tune
deb101a1fb Handle error from watch.
A watch of the API can return an api.Status rather than the watched
obejct type.  This code didn't handle that.

Tested with services e2e test (in conjunction with other PR).
2014-12-03 12:33:26 -08:00
Daniel Smith
7aaf76af6e Merge pull request #2661 from smarterclayton/allow_loops_to_exit
Add a util.Forever variant that ends on a stop channel
2014-12-03 11:52:59 -08:00
Victor Marmol
b1c7893916 Merge pull request #2683 from jimmidyson/cadvisor-0.6.2
Fixes #2681: update to cadvisor 0.6.2
2014-12-04 03:48:40 +08:00
Filipe Brandenburger
4ac1246f0f Merge pull request #2694 from satnam6502/scopes
Fix the addition of the logging.write scope to the MINION_SCOPES array
2014-12-03 08:37:00 -08:00
Filipe Brandenburger
260db5aee0 Merge pull request #2703 from thockin/public-ip
Add e2e test for public IPs
2014-12-03 08:36:45 -08:00
Tim Hockin
b1470b6672 strip quotes in back-compat iptables 2014-12-03 08:34:34 -08:00
Tim Hockin
2486331d34 Add an e2e case for public IPs 2014-12-03 08:30:00 -08:00
bgrant0607
3133bb85ef Merge pull request #2701 from goltermann/master
Adding docs for prioritization of issues.
2014-12-03 07:55:46 -08:00
Clayton Coleman
ff173d013a Merge pull request #2682 from mfojtik/cmd_public
Export kubectl/cmd methods
2014-12-03 08:52:04 -06:00
Michal Fojtik
17e24aed47 Export GetKubeNamespace function from kubectl 2014-12-03 13:15:48 +01:00
Tim Hockin
bf1395f06a use a here-doc instead of kubecfg run 2014-12-02 23:55:45 -08:00
Brendan Burns
373cf77ae1 Adjust the regexp so that we can handle extra sub versions. 2014-12-02 23:00:01 -08:00
Daniel Smith
7d9a721852 Merge pull request #2736 from erictune/register_race
Fix race that drops the first event on restart.
2014-12-02 22:57:55 -08:00
Daniel Smith
4acc23cbc4 Merge pull request #2734 from erictune/cleanup2
Use plus-v format for some complex structures.
2014-12-02 22:53:52 -08:00
Eric Tune
65b38e7af7 Use apiserver instead of etcd for kube-proxy.
For cloud-providers that use salt, have kube-proxy use
apiserver instead of etcd as a config source.
2014-12-02 22:21:01 -08:00
Eric Tune
9964410f77 Use plus-v format for some complex structures. 2014-12-02 22:13:08 -08:00
Eric Tune
0c2a4302f5 Fix race that drops the first event on restart.
RegisterHandlers was called after the listening for events had already begun.
So, there was a race where sometimes the first update would, with the
initial state, would notify an empty list of listeners.
This showed up in services.sh e2e test as empty service and endpoint maps
after the test step which restarts the kube-proxy.

Perhaps due to timing, this doesn't show up with etcd source, but does
show up with apiserver as a source.  A separate PR makes APIserver
the source as a default, and depends on this.

This took me several days to debug.
2014-12-02 22:04:45 -08:00
Rajdeep Dua
e47e1ee025 Added test case for ServerAPIVersions 2014-12-02 21:55:44 -08:00
Satnam Singh
c2348052b0 Fix the addition of the logging.write scope to the MINION_SCOPES array 2014-12-02 20:25:26 -08:00
Daniel Smith
ffcbe2fa10 Merge pull request #2674 from mattmoor/quiet-credentialprovider
Make credentialprovider less verbose about benign errors.
2014-12-02 18:25:03 -08:00
Daniel Smith
79d755ff0f Merge pull request #2676 from ghodss/move-to-ghodss-yaml
Move from go-yaml/yaml v1 to ghodss/yaml
2014-12-02 18:14:53 -08:00
Daniel Smith
8a726b8030 Merge pull request #2700 from bgrant0607/docfix
Document API doc path.
2014-12-02 18:12:30 -08:00
Daniel Smith
c3f03e556f Merge pull request #2704 from brendandburns/e2e
e2e for "important URLs"
2014-12-02 17:53:46 -08:00
Jeff Lowdermilk
37e6394d6d Merge pull request #2724 from brendandburns/fix
Add an e2e test for cert generation.
2014-12-02 17:19:37 -08:00
Brendan Burns
77d4950f83 Add an e2e test for cert generation. 2014-12-02 17:08:48 -08:00
Sam Ghods
6399854240 Remove unused YAML tags and GetYAML/SetYAML methods
Unneeded after move to ghodss/yaml.
2014-12-02 16:25:28 -08:00
Sam Ghods
1208946f55 Remove unused yaml v1 (moved to ghodss/yaml) 2014-12-02 16:24:05 -08:00
Sam Ghods
9a9a1e0939 Move from go-yaml/yaml to ghodss/yaml 2014-12-02 16:24:05 -08:00
Sam Ghods
603ec33821 Add depedencies for move from go-yaml/yaml to ghodss/yaml
Also add go-spew for better debugging.
2014-12-02 16:24:05 -08:00
goltermann
00f409a067 Create pull-requests.md 2014-12-02 14:54:57 -08:00
bgrant0607
5c31fedfc8 Merge pull request #2507 from MikeJeffrey/docs
Update to readme.md
2014-12-02 14:54:09 -08:00
Brendan Burns
6ec5da9f6a Merge pull request #2706 from vishh/monitoring_e2e
Adding an e2e test for monitoring.
2014-12-02 14:00:18 -08:00
Brendan Burns
572f280a99 Merge pull request #2723 from erictune/cleanup1
Fix link.
2014-12-02 13:58:12 -08:00
Eric Tune
bd2541ac02 Fix link. 2014-12-02 13:55:36 -08:00
Tim Hockin
f4b031d025 Merge pull request #2514 from thockin/label-ns
Add label key namespacing
2014-12-02 13:38:46 -08:00
MikeJeffrey
7c9698f1be Updated readme.md 2014-12-02 13:20:48 -08:00
Brendan Burns
346dbc6de7 Merge pull request #2716 from zulily/fix-gce-provision-with-gcp-logging
Fix GCE scopes when using GCP Logging
2014-12-02 12:40:56 -08:00
Jeff Lowdermilk
b30633b8c8 Merge pull request #2718 from brendandburns/fix
Add some backward compatability for GKE.
2014-12-02 11:59:48 -08:00
Brendan Burns
bf9d4a483d Merge pull request #2717 from erictune/event_e2e_flake
Fix e2e failure of events test.
2014-12-02 11:33:48 -08:00