Commit Graph

105211 Commits

Author SHA1 Message Date
Daniel Smith
28f9dfafb3 Merge pull request #161 from brendandburns/next
Add population of the host IP address when on GCE.
2014-06-18 15:04:05 -07:00
Brendan Burns
420b2fdd57 Add support for populating host ip address. 2014-06-18 14:57:50 -07:00
Brendan Burns
57869958bc Add IP look up if the Cloud Provider is not null
Add Instance info to the Cloud Provider interface
2014-06-18 14:27:43 -07:00
Daniel Smith
c0d8636f40 Merge pull request #150 from brendandburns/tests
Add in service registry tests and a Fake Cloud impl.
2014-06-18 14:24:28 -07:00
Brendan Burns
31427d2d6f Add a fake cloud impl.
Update the service registry with unit tests.
2014-06-18 14:22:41 -07:00
brendandburns
e6b8555ba8 Add quotes around ${TRAVIS}. 2014-06-18 13:59:03 -07:00
Daniel Smith
3124db63c6 Merge pull request #155 from brendandburns/scripts
Add a version check for go.
2014-06-18 13:53:42 -07:00
Brendan Burns
35bf0fc0b7 Add a version check for go. 2014-06-18 13:38:29 -07:00
brendandburns
dbdb326eaf Merge pull request #144 from lavalamp/master
Refactor controller manager.
2014-06-18 13:26:41 -07:00
Daniel Smith
a253209a2c Add test for watch goroutine handling, fix other review comments 2014-06-18 13:10:39 -07:00
Daniel Smith
d8206503b8 Make integration/localkube work with new controller library 2014-06-18 13:10:39 -07:00
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