brendandburns
bf40981197
Merge pull request #758 from lavalamp/clientCache
...
Watch based client cache
2014-08-05 11:46:22 -07: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
Daniel Smith
041d56f3d0
finish testing client/cache
2014-08-04 14:50:01 -07:00
Daniel Smith
a47b65bf8a
Add cache package.
2014-08-04 14:50:01 -07:00
Clayton Coleman
f7149926c0
Remove expectNoError from client, kubelet, and util
2014-08-04 09:39:06 -04:00
Brendan Burns
1101c00014
Make updates atomic from the client side.
2014-08-01 16:47:25 -07:00
Brendan Burns
490bb28bf9
Add TCP socket based health checking.
2014-08-01 14:13:56 -07:00
Clayton Coleman
28d42a79a4
Merge pull request #719 from csrwng/list_replication_controllers
...
Add a method to list replication controllers
2014-07-31 14:34:58 -04:00
Dawn Chen
2e8020be8c
Update the entire cAdvisor package. There is a version mismatch issue
...
which cause #707
2014-07-31 10:11:25 -07:00
csrwng
a3476fcbca
Add a method to list replication controllers
2014-07-31 12:37:02 -04:00
Daniel Smith
3b8488028d
Add /version to server and check it in client.
...
Will help detect client/version skew and prevent e2e test from passing
while running a version other than the one you think it's running.
2014-07-28 15:45:25 -07:00
Brendan Burns
bf5ae4bb9d
Fork API types.
2014-07-24 21:47:08 -07:00
Jonathan Boulle
c43035088b
assorted formatting and typo fixes
2014-07-24 15:10:36 -07:00
Daniel Smith
91375f4c04
Split httpWatcher into watch.StreamWatcher and tools.APIEventDecoder.
2014-07-21 16:07:58 -07:00
Daniel Smith
dbd0d419df
Add watch capability to our client.
...
Next steps: Make an etcd watcher... decide on a state field for pods...
move the scheduler to its own binary.
2014-07-21 16:07:58 -07:00
Daniel Smith
05f01a3654
Revert "assorted formatting and typo fixes"
2014-07-18 17:16:30 -07:00
Daniel Smith
211f6b312f
Merge pull request #520 from jonboulle/master
...
assorted formatting and typo fixes
2014-07-18 17:15:30 -07:00
Jonathan Boulle
9e63c3a633
assorted formatting and typo fixes
2014-07-18 13:02:59 -07:00
Clayton Coleman
a17f0d04d4
PodInfo should indicate when a pod is not found
...
Client should react. Also, dial down the chattiness of errors for
pods which do not exist and stop processing NotFound earlier in
the podinfo chain
2014-07-18 13:32:10 -04:00
Nan Deng
564a58722c
Retrieve machine spec from cAdvisor
2014-07-17 15:21:47 -07:00
Nan Deng
6878f105c0
add a client to get container info from kubelet
2014-07-16 01:08:56 -04:00
Andrew Gerrand
a9fdf1f6b5
rename client.ClientInterface to client.Interface
2014-07-11 09:51:34 +10:00
brendandburns
0748ac39e8
Merge pull request #374 from yugui/feature/show-progress
...
Periodically shows message while waiting for completion of REST operations
2014-07-09 23:15:05 -07:00
Yuki Yugui Sonoda
602f7d8112
Use glog instead of printing to stderr.
2014-07-10 14:59:56 +09:00
Yuki Yugui Sonoda
325c5cd47e
Fixes golint errors in pkg/client
2014-07-08 16:15:41 +09:00
Brendan Burns
e3838e1153
Make poll period and timeout configurable.
...
Make poll period short for integration testing.
2014-07-07 10:13:27 -07:00
Brendan Burns
2f5eeee1f6
Make sync false by default. Works around timeout/retry issues.
2014-07-03 21:23:21 -07:00
Daniel Smith
3b9735d787
Test atomic PUTs, and make them work.
...
Improve apiserver/logger.go's interface (it's pretty cool now).
Improve apiserver's error reporting to clients.
Improve client's handling of errors from apiserver.
Make failed PUTs return 409 (conflict)-- http status codes are amazingly
well defined for what we're doing!
2014-07-02 15:42:05 -07:00
Daniel Smith
11d6451d2a
Change kublet to serve podInfo instead of containerInfo. Plumb through system.
2014-07-01 16:41:10 -07:00
Daniel Smith
049bc6b6d4
Fix interface{} in api/types.go; plumb through system.
2014-07-01 16:41:09 -07:00
Brendan Burns
a391b2ff03
Implement sync behavior for controllers.
2014-06-26 19:44:28 -07:00
Daniel Smith
fd5e3b0b04
Implement client polling.
2014-06-26 16:10:38 -07:00
Daniel Smith
c9246dc130
Implement required sync changes everywhere.
...
Make requests sync by default, so that usage of them doesn't have to
change.
2014-06-26 10:33:21 -07:00
Tim Hockin
9f9e75f508
Switch to glog for logging, bridge logging to glog.
...
1) imported glog to third_party (previous commit)
2) add support for third_party/update.sh to update just one pkg
3) search-and-replace:
s/log.Printf/glog.Infof/
s/log.Print/glog.Info/
s/log.Fatalf/glog.Fatalf/
s/log.Fatal/glog.Fatal/
4) convert glog.Info.*, err into glog.Error*
Adds some util interfaces to logging and calls them from each cmd, which
will set the default log output to write to glog. Pass glog-wrapped
Loggers to etcd for logging.
Log files will go to /tmp - we should probably follow this up with a
default log dir for each cmd.
The glog lib is sort of weak in that it only flushes every 30 seconds, so
we spin up our own flushing goroutine.
2014-06-24 20:51:57 -07:00
Brendan Burns
84e5c37f74
Several small fixes.
2014-06-24 15:30:14 -07:00
Brendan Burns
8b50e45dcc
Update the proxy server.
2014-06-24 11:25:45 -07:00
Daniel Smith
175e998258
Fix nil/[]byte{} consistency, and other review comments.
2014-06-24 10:07:51 -07:00
Daniel Smith
72809f8e67
catch 202 early
2014-06-24 09:38:22 -07:00
Daniel Smith
5ce54bb77b
Use new method.
2014-06-24 09:38:22 -07:00
Daniel Smith
61a494d303
First step of combination.
2014-06-24 09:38:22 -07:00
Daniel Smith
b850d36166
Fix boilerplate everywhere
2014-06-23 11:32:11 -07:00
Brendan Burns
b84cc9c895
Deflake a test w/ go1.3 random maps.
2014-06-20 10:41:15 -07:00
Johan Euphrosine
fe589a3f64
pkg/client: refactor tests
2014-06-19 23:12:27 -07:00
Daniel Smith
466be48c74
Merge pull request #166 from brendandburns/sync
...
Part #1 of synchronous requests: Add channels and a mechanism for waiting
2014-06-19 16:40:25 -07:00
Brendan Burns
2640de5c02
Part #1 of synchronous requests: Add channels and a mechanism for waiting on them
2014-06-19 16:13:13 -07:00
Daniel Smith
bc02b3c21a
Rename [label] query to selector
2014-06-19 13:31:42 -07:00
Daniel Smith
3ab2f8a3a2
First piece of improving labels
2014-06-16 22:05:11 -07:00
Brendan Burns
32071289e6
Add some documentation
2014-06-15 22:42:19 -07:00
Daniel Smith
229ccb0fa3
Merge pull request #110 from jbeda/test-fix
...
Stable comparison of stuff that transits through map.
2014-06-14 16:05:30 -07:00
Joe Beda
c6dd6cb410
Stable comparison of stuff that transits through map.
...
There are probably more of these in the codebase. Looks like this happens with the go tip via travis.
2014-06-14 14:42:00 -07:00