Commit Graph

73000 Commits (214efa9cc4f909254d8eab1025b1f0549615bb41)

Author SHA1 Message Date
Daniel Smith 1b94f7b244 Fix race 2014-06-18 13:10:39 -07:00
Daniel Smith 7e464aa55c Test controller's synchronize method. Requires fake etcd client to be relocated. 2014-06-18 13:10:39 -07:00
Daniel Smith b6a260940c Fix fake handler so it can be used for more than one call. 2014-06-18 13:10:39 -07:00
Daniel Smith 3737b4e4e2 Fix bad lock handling. 2014-06-18 13:10:39 -07:00
Daniel Smith e74ac01a62 Move run logic into package 2014-06-18 13:10:39 -07:00
Daniel Smith 65d6280936 Move etcd helper to util so it can be used elsewhere, too 2014-06-18 13:10:39 -07:00
Daniel Smith a24116c7bd Move controller to it's own package, it's not part of the registry. 2014-06-18 13:10:39 -07:00
Daniel Smith bb81caa60d Merge pull request #151 from brendandburns/fixes
Always build the cloudcfg binary at the beginning of the e2e script.
2014-06-18 12:53:57 -07:00
Joe Beda 7668795c0d Merge pull request #152 from bgrant0607/master
Added more motivation for pods and labels.
2014-06-18 11:10:30 -07:00
Brian Grant bda771c3c5 Implemented jbeda's suggestions, except s/stage/environment/g. 2014-06-18 18:01:51 +00:00
Daniel Smith 6647f040f1 Merge pull request #154 from brendandburns/fix-etcd
Fix a bug in pod listing introduced in a recent refactor.
2014-06-18 10:45:53 -07:00
brendandburns 3be4f8fea0 Updated instructions to note the go 1.2 dependency 2014-06-18 10:44:53 -07:00
Brendan Burns 77dd0afc26 Fix a bug in pod listing introduced in a recent refactor.
Add a test to catch a regression in the future.
2014-06-18 10:39:14 -07:00
Brendan Burns e824f84f20 Always build the cloudcfg binary at the beginning of the e2e script. 2014-06-18 10:10:18 -07:00
Brian Grant a29b75622a Added missing backquote. 2014-06-18 07:45:24 +00:00
Brian Grant 821574febb Fixed TOC links. 2014-06-18 07:43:00 +00:00
Brian Grant aeaa08f75e Added more motivation for pods and labels, and put them together in a subsection near the top. 2014-06-18 07:40:01 +00:00
brendandburns f57ae2f4bf Merge pull request #149 from brendandburns/lb
Fix a couple of problems with the lb merge.
2014-06-17 21:35:39 -07:00
Brendan Burns 5f66d33880 Add load balancing support to services. 2014-06-17 21:28:20 -07:00
brendandburns 1b1662d22d Merge pull request #145 from lavalamp/test_fix
Ensure that MockPodRegistry verifies the query it's passed.
2014-06-17 21:00:59 -07:00
Daniel Smith 0f98cdd93b Merge pull request #141 from jbeda/dockerize
Build Kubernetes in Docker
2014-06-17 18:42:47 -07:00
Daniel Smith 246db91cb5 Merge pull request #135 from brendandburns/lb
Add load balancing support to services.
2014-06-17 18:40:42 -07:00
Daniel Smith 372e7b7727 Ensure that MockPodRegistry verifies the query it's passed. 2014-06-17 18:33:51 -07:00
brendandburns 1fd954b1d3 Merge pull request #138 from lavalamp/master
Normalize etcd_registry's storage & error handling
2014-06-17 17:34:42 -07:00
brendandburns a3036d2c81 Merge pull request #143 from jjhuff/fix_scheduler_panic
FirstFitScheduler was triggering a panic by passing nil as the query to EtcdRegistry.ListPods
2014-06-17 17:33:17 -07:00
brendandburns af6903d22b Merge pull request #142 from jjhuff/log_apiserver_panic
When the apiserver panics, log a stacktrace.
2014-06-17 17:32:47 -07:00
Joe Beda 4f63a690ee Support cross compilation.
Also add more utilities to copy and clean stuff.
2014-06-17 16:10:57 -07:00
Justin Huff 1bef7fdd04 FirstFitScheduler was triggering a panic by passing nil as the query to
EtcdRegistry.ListPods. I think this was just missed during the recent
label refactor.
2014-06-17 15:48:37 -07:00
Justin Huff 3072ccf088 When the apiserver panics, log a stacktrace. 2014-06-17 14:59:37 -07:00
Joe Beda 570ebf54a9 Build Kubernetes in Docker.
Scripts and Dockerfile to build a container image, build binaries, run tests, etc.  Also copy output back out to the host machine.
2014-06-17 14:52:38 -07:00
Daniel Smith 500ef4c46c Extract yet more redundancy 2014-06-17 13:53:47 -07:00
Daniel Smith 77556a5eb0 Extract more redundancy 2014-06-17 13:53:47 -07:00
Daniel Smith 25ab3b695e Move duplicated logic into single function. 2014-06-17 13:53:47 -07:00
Brendan Burns 2759b2367f Add load balancing support to services. 2014-06-17 12:37:39 -07:00
Daniel Smith 0c68c6307a Merge pull request #136 from bgrant0607/master
Use ADD rather than VOLUME in order to work with remote containers.
2014-06-17 11:34:46 -07:00
Brian Grant 0a05574463 Use ADD rather than VOLUME in order to work with remote containers. 2014-06-17 18:14:00 +00:00
Brendan Burns 23e736c8e1 Added goauth2 and the google api client. 2014-06-17 10:52:12 -07:00
Brendan Burns 45397c46cc bump(code.google.com/p/goauth2/compute/serviceaccount): ef170e7cf161bc5644976d13cadc67b285e73ee8 2014-06-17 10:52:11 -07:00
Brendan Burns 721f6571fa bump(code.google.com/p/google-api-go-client/googleapi): cdde2f903343c1fb7613c7cf1fe5e6567e02a9b2 2014-06-17 10:52:11 -07:00
Brendan Burns dd44261adf bump(gopkg.in/v1/yaml): b0c168ac0cf9493da1f9bb76c34b26ffef940b4a 2014-06-17 10:52:11 -07:00
Brendan Burns f7f449f334 bump(code.google.com/p/google-api-go-client/compute/v1): 2d8543b9e701ae349c9905482af0e017345b86c7 2014-06-17 10:52:10 -07:00
Brendan Burns 48e246c117 bump(code.google.com/p/goauth2/oauth): cf9c96faa9885b8cf351c2d79d9a929f3eebd4ec 2014-06-17 10:52:10 -07:00
Brendan Burns 5d2eb7dfff bump(github.com/fsouza/go-dockerclient): a735a3dbbfdd1822886f6b4235318c8809b41538 2014-06-17 10:52:10 -07:00
Brendan Burns b1531bbcf5 bump(github.com/coreos/go-etcd/etcd): 7745cfd7f8e619cc9e6be450238e6253a57a227f 2014-06-17 10:52:10 -07:00
brendandburns fe0cb7c87b Merge pull request #133 from bgrant0607/master
Dockerized raml2html and regenerated kubernetes.html.
2014-06-17 10:28:36 -07:00
Brian Grant 20cc10b5b0 Dockerized raml2html and regenerated kubernetes.html. 2014-06-17 17:11:19 +00:00
brendandburns e7125fb7ea Merge pull request #130 from lavalamp/test_fix
Move labels and tests to new package
2014-06-16 22:36:32 -07:00
Daniel Smith e10e5b99d5 Fix typo 2014-06-16 22:21:43 -07:00
Daniel Smith c4e575d4ac switch to different types for different parts of the label query 2014-06-16 22:05:12 -07:00
Daniel Smith 3b980bd9dc Make deterministic 2014-06-16 22:05:12 -07:00