Commit Graph

1312 Commits

Author SHA1 Message Date
Daniel Smith
6f85a5b8aa Merge pull request #794 from nyaxt/reland_atomicetcd
Remove duplicated defs and reland #694.
2014-08-05 12:07:59 -07:00
Daniel Smith
2d3373664f Merge pull request #765 from brendandburns/service
Add support for regions, and use them for cloud load balancing.
2014-08-05 11:59:36 -07:00
brendandburns
cc4300c3ec Merge pull request #757 from lavalamp/repCtl
Remove etcd dep from controller manager
2014-08-05 11:47:31 -07:00
brendandburns
f87a93af7a Merge pull request #754 from kelseyhightower/proxy-cleanup
proxy: cleanup and minor refactoring
2014-08-05 11:46:52 -07:00
brendandburns
bf40981197 Merge pull request #758 from lavalamp/clientCache
Watch based client cache
2014-08-05 11:46:22 -07:00
Kouhei Ueno
c1ec1d6d72 Remove duplicated def of IsEtcdNodeExist 2014-08-06 03:45:50 +09:00
Kouhei Ueno
c7947abd9c Revert "Revert "Use atomic create in EtcdHelper.AtomicUpdate""
This reverts commit 73b64aa490.
2014-08-06 03:43:19 +09:00
Brendan Burns
c27ab18481 Don't use zone for regional load balancers. 2014-08-05 11:38:33 -07:00
Brendan Burns
1d8407cf7d Don't hard code load balancer zone. 2014-08-05 11:38:33 -07:00
brendandburns
007f822ad9 Merge pull request #792 from derekwaynecarr/update_golang_src
Pull golang from golang to fix error where hash does not match in salt state
2014-08-05 11:38:05 -07:00
Daniel Smith
07bef429b1 Merge pull request #793 from GoogleCloudPlatform/revert-694-atomicetcd
Revert "Use atomic create in EtcdHelper.AtomicUpdate"
2014-08-05 11:34:42 -07:00
Daniel Smith
73b64aa490 Revert "Use atomic create in EtcdHelper.AtomicUpdate" 2014-08-05 11:34:00 -07:00
derekwaynecarr
d8af1da2f6 Pull golang from golang 2014-08-05 14:24:10 -04:00
Daniel Smith
51872d65c9 Merge pull request #694 from nyaxt/atomicetcd
Use atomic create in EtcdHelper.AtomicUpdate
2014-08-05 11:19:22 -07:00
Daniel Smith
5ff072030c Merge pull request #746 from smarterclayton/atomic_create
Make create atomic for etcd on Services/ReplControllers
2014-08-05 11:08:55 -07:00
brendandburns
634392daa5 Merge pull request #785 from roberthbailey/integration
Minor style fixes and keep the test manifest in sync.
2014-08-05 11:05:53 -07:00
Tim Hockin
ace4e78a29 Merge pull request #790 from nyaxt/flakyetcd
Remove 10ms timeout from TestWatch
2014-08-05 10:02:43 -07:00
Kouhei Ueno
dea1b8c48b Remove 10ms timeout from TestWatch 2014-08-06 01:02:58 +09:00
Kouhei Ueno
cf117d5b48 Add test for EtcdHelper.AtomicUpdate concurrent create 2014-08-06 00:30:55 +09:00
Kouhei Ueno
4799b546c9 Make fake_etcd_client threadsafe 2014-08-05 23:37:32 +09:00
Kouhei Ueno
3f9ec452e4 use atomic create in EtcdHelper.AtomicUpdate 2014-08-05 23:37:32 +09:00
Kouhei Ueno
b3e5f40988 Fix bug where debug "return" prevented whole TestAtomicUpdate run 2014-08-05 23:37:32 +09:00
Kelsey Hightower
1d3e660248 proxy: cleanup and minor refactoring
This change includes minor refactoring and cleanup of the proxy
package including the following items:

 * Rename source files with misspelling of round robin
 * Remove unnecessary and redundant comments
 * Update comments for clarity
 * Add locking when updating the round-robin index
 * Improve method receiver names
 * Rename the LoadBalance method to NextEndpoint to add clarity

No changes in behaviour have been introduced.
2014-08-05 07:18:12 -07:00
Tim Hockin
462ce3e196 Merge pull request #788 from smarterclayton/use_regular_http_in_tests
httptest.NewTLSServer is ~0.2s of setup per test
2014-08-04 23:16:00 -07:00
Clayton Coleman
325f9ef005 Make create atomic on etcd for Services/ReplControllers 2014-08-05 01:12:27 -04:00
Clayton Coleman
babb7528ce httptest.NewTLSServer is ~0.2s of setup per test
We're not exercising anything TLS related in client and request,
set these back to NewServer.  Should add a new TLS end-to-end
test for hack/test-cmd.sh with real (test) certs.
2014-08-05 00:59:42 -04:00
brendandburns
83aeae7658 Merge pull request #787 from thockin/network
Make container-to-container IP work across VMs.
2014-08-04 21:05:48 -07:00
brendandburns
dba72f5895 Merge pull request #774 from thockin/cleanups
Call build-go.sh before bundling a release
2014-08-04 21:03:56 -07:00
Tim Hockin
4c58752684 Make container-to-container IP work across VMs. 2014-08-04 20:52:13 -07:00
Tim Hockin
bec27af51a Merge pull request #784 from nyaxt/avoid_magicnum
Rename IsEtcdConflict to IsEtcdTestFailed
2014-08-04 16:59:00 -07:00
Robert Bailey
8671d69f34 Minor style fixes and keep the test manifest in sync. 2014-08-04 16:14:43 -07:00
Kouhei Ueno
6288336436 Rename IsEtcdConflict to IsEtcdTestFailed 2014-08-05 08:07:20 +09:00
brendandburns
49e7f25020 Merge pull request #783 from MikeJeffrey/master
Regenerating kubernetes.html
2014-08-04 15:43:21 -07:00
Daniel Smith
041d56f3d0 finish testing client/cache 2014-08-04 14:50:01 -07:00
Daniel Smith
03fe91cc4a Add ID to JSONBaseInterface 2014-08-04 14:50:01 -07:00
Daniel Smith
a47b65bf8a Add cache package. 2014-08-04 14:50:01 -07:00
Daniel Smith
b430cebe72 Remove etcd dependency from controller manager. 2014-08-04 14:29:49 -07:00
Tim Hockin
7f0d470979 Merge pull request #776 from nyaxt/respectzone
ServiceRegistryStorage.Delete should respect zone.
2014-08-04 14:29:46 -07:00
Tim Hockin
471955d310 Merge pull request #775 from nyaxt/misc_cleanup
Minor clean ups for readability
2014-08-04 14:29:07 -07:00
Kouhei Ueno
d7fc4637e9 ServiceRegistryStorage.Delete should respect zone. 2014-08-05 06:11:00 +09:00
Tim Hockin
812d651b1b Call build-go.sh before bundling a release
Now the dev-build-and-* scripts actually work.
2014-08-04 13:58:32 -07:00
Daniel Smith
38c4cdff99 Merge pull request #773 from smarterclayton/speed_up_proxy_tests
Remove 8 seconds of unnecessary sleeps from proxy tests
2014-08-04 13:49:07 -07:00
Kouhei Ueno
c6ebc4859e Reduce nesting on ServiceRegistryStorage.Create 2014-08-05 05:38:31 +09:00
Daniel Smith
f36d2a7ebd Merge pull request #740 from brendandburns/sync
Switched Set to Create in etcd tools
2014-08-04 13:15:08 -07:00
Daniel Smith
94e4aa70be Merge pull request #772 from derekwaynecarr/stop_negative_values
Validate on replicas being non-negative
2014-08-04 13:13:57 -07:00
Kouhei Ueno
c8e1c6a02f dedupe apiserver.New 2014-08-05 05:11:25 +09:00
Kouhei Ueno
afa686ccc8 dedupe registry.MakeEndpointController init 2014-08-05 05:09:49 +09:00
derekwaynecarr
e5fd877052 Validate on replicas being non-negative 2014-08-04 15:39:45 -04:00
Clayton Coleman
0c33ed09d4 Remove long sleeps from proxy tests 2014-08-04 15:35:03 -04:00
Clayton Coleman
786b0399c3 Make interval a constant on proxy/config/etcd
Allow future testing of intervals
2014-08-04 15:34:43 -04:00