Commit Graph

321 Commits (bc02b3c21a376d6fee0d7c8f9cc034b1817ea1a8)

Author SHA1 Message Date
Daniel Smith bc02b3c21a Rename [label] query to selector 2014-06-19 13:31:42 -07:00
Daniel Smith c4649d539b Separate labels and selector in services for clarity 2014-06-19 13:30:04 -07:00
brendandburns 59c08db4c1 Merge pull request #43 from drewcsillag/master
Add location of where to get the gcloud tools.
2014-06-19 10:12:03 -07:00
Drew Csillag a824581941 Add location of where to get the gcloud tools to README.md 2014-06-19 09:51:09 -04:00
Daniel Smith 4c7cc33066 Merge pull request #165 from brendandburns/replicas
On delete, also attempt to update controller state
2014-06-18 22:10:13 -07:00
Brendan Burns 84b2a9e9f3 On delete, also attempt to update controller state, in case we
missed a previous update.  Add a test to validate that this works
2014-06-18 21:32:55 -07:00
Daniel Smith 6cf4585ae8 Merge pull request #162 from brendandburns/poll
Add a PodCache that is responsible for caching pod information.
2014-06-18 21:06:38 -07:00
Brendan Burns 4f549aae54 Add a PodCache that is responsible for caching pod information.
Not wired in yet.
2014-06-18 20:04:52 -07:00
Daniel Smith e2974a0a75 Merge pull request #163 from brendandburns/cloudcfg
Add IP to hostname in cloudcfg printing.
2014-06-18 15:31:56 -07:00
Brendan Burns b3f0e1724d Add IP to hostname in cloudcfg printing. 2014-06-18 15:25:47 -07:00
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