Commit Graph

4157 Commits (7b221e8497e7d5f4834b5ccbd5b6ee37a037cc34)

Author SHA1 Message Date
Jordan Liggitt 4ab41f5be8 Add script to build ui assets, rebuild with latest go-bindata 2014-12-04 22:38:00 -08:00
Brendan Burns 39bf3d2950 Merge pull request #2677 from jay-lau/master
No need to add two "containers" section for one pod
2014-12-04 21:18:23 -08:00
Deyuan Deng 76552423f9 Move watch filter into storage level 2014-12-04 20:15:27 -05:00
Daniel Smith 2261c3e71c Merge pull request #2756 from liggitt/yaml_bump
Bump yaml, test full int64 serialization
2014-12-04 15:16:04 -08:00
Daniel Smith 24a1497d5c reenable update test 2014-12-04 15:13:11 -08:00
Jordan Liggitt 22eee15fe7 Remove uint64 bitshift workaround 2014-12-04 15:00:23 -08:00
Michael Jeffrey e69389f7e2 Using kubectl in getting started guides 2014-12-04 14:56:40 -08:00
Jeff Lowdermilk a1faab9ffe Merge pull request #2730 from satnam6502/scripting
Add missing project argument to gcloud commands
2014-12-04 14:30:20 -08:00
Jordan Liggitt 0968254840 bump(gopkg.in/v2/yaml): d466437aa4adc35830964cffc5b5f262c63ddcb4 2014-12-04 14:19:07 -08:00
Brendan Burns e2cf1690da Merge pull request #2753 from MikeJeffrey/kubectl
Use kubectl in getting started guide
2014-12-04 14:15:36 -08:00
roberthbailey 4cef5c59f7 Merge pull request #2755 from MikeJeffrey/awstypo
Typo in header
2014-12-04 13:27:40 -08:00
bgrant0607 56eba5cb47 Merge pull request #2626 from jasonkuhrt/patch-1
Fix incorrect pod spec in tutorial
2014-12-04 11:21:02 -08:00
Daniel Smith 9dfd5a1247 Merge pull request #2731 from brendandburns/bash
Adjust the regexp so that we can handle extra sub versions.
2014-12-04 11:12:47 -08:00
Daniel Smith b765d6038a Merge pull request #2747 from erictune/cleanup6
Rename util.config.Watcher -> util.config.Broadcaster.
2014-12-04 11:12:04 -08:00
Daniel Smith df98babf6e Merge pull request #2748 from erictune/clean7
Rename watch.Mux -> watch.Broadcaster
2014-12-04 11:09:43 -08:00
MikeJeffrey 8de8e4f89f Typo in header 2014-12-04 10:59:55 -08:00
Michael Jeffrey b1df1c3485 Use kubectl in getting started guide 2014-12-04 10:49:50 -08:00
Michael Jeffrey 4656ed830f Use kubectl in GCE getting started guide 2014-12-04 10:29:30 -08:00
bgrant0607 75daf86da2 Merge pull request #2745 from thockin/serve_hostname
Hold serve_hostname code in kubernetes repo
2014-12-04 09:09:42 -08:00
bgrant0607 2fe2963b12 Merge pull request #2750 from deads2k/deads-bump-gorestful
race condition in go-restful
2014-12-04 09:08:53 -08:00
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