brendandburns
40c71e8292
Merge pull request #372 from yugui/feature/golint
...
Fixes Go lint errors.
2014-07-08 12:55:41 -07:00
Tim Hockin
92cf6662ed
Merge pull request #351 from discordianfish/use-api-for-pull
...
Use api for pulling images instead of shelling out
2014-07-08 09:08:12 -07:00
Johannes 'fish' Ziemke
3fa6c9671d
Use docker client lib instead of binary for pulls
2014-07-08 12:21:39 +02:00
Yuki Yugui Sonoda
325c5cd47e
Fixes golint errors in pkg/client
2014-07-08 16:15:41 +09:00
Yuki Yugui Sonoda
5cfbed4453
Fixes golint errors in pkg/apiserver
2014-07-08 16:10:11 +09:00
Yuki Yugui Sonoda
780c441d19
Fixes golint errors in pkg/api
2014-07-08 16:08:58 +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
Nan Deng
b351578ddd
fix data race in config.go. This is a hard one.
2014-07-02 23:23:14 -07:00
Nan Deng
aa808a6505
fix data race introduced by 1798e0f
2014-07-02 23:23:14 -07:00
Nan Deng
e13e31866d
fix data races in controller
2014-07-02 23:22:09 -07:00
brendandburns
bf44347340
Merge pull request #350 from brendandburns/async
...
Fix an error in the async-path that led to dropping pods.
2014-07-02 23:15:35 -07:00
Brendan Burns
0655370ea2
Fix an error in the async-path that led to dropping pods.
2014-07-02 23:05:30 -07:00
brendandburns
d386c02dfd
Merge pull request #328 from monnand/root-container
...
Get root container stats from cAdvisor
2014-07-02 22:57:28 -07:00
Nan Deng
42fd4383a1
Get machine stats from cAdvisor
2014-07-02 16:59:50 -07:00
brendandburns
1fc71893cf
Merge pull request #344 from lavalamp/version
...
A package to get version information from
2014-07-02 16:41:18 -07:00
brendandburns
0b9f36b761
Merge pull request #307 from lavalamp/atomic
...
All PUTs now atomic
2014-07-02 16:31:35 -07:00
Tim Hockin
3f057baa0a
Use structured errors during validation
2014-07-02 16:17:47 -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
a6144f656c
Move etcd helpers to tools package so they can depend on api package. Add ResourceVersion, hook it up to etcd index to get atomic PUTs.
2014-07-02 15:42:05 -07:00
Daniel Smith
60f05c8d8d
update version package when building.
2014-07-02 15:32:30 -07:00
Daniel Smith
68bef4ac0c
add version package
2014-07-02 15:26:13 -07:00
Tim Hockin
3cd56e85d6
Simplify supported manifest versions
2014-07-02 14:57:24 -07:00
Tim Hockin
d3da6b168e
nit: s/Id/ID/ for go style
2014-07-02 11:21:29 -07:00
Tim Hockin
48074d4ae7
Fix wrong json name for Key field
2014-07-02 10:30:27 -07:00
Tim Hockin
839f2aed7b
Add validation for Container.Env
...
This includes backwards compat with the older "key" field.
2014-07-01 22:16:46 -07:00
brendandburns
a8a0039a39
Merge pull request #335 from vmarmol/add-kubelet-new
...
Add a New() for Kubelet.
2014-07-01 22:16:24 -07:00
brendandburns
8d2ee4b7ae
Merge pull request #330 from thockin/valid7
...
Add basic validation of Containers
2014-07-01 22:14:40 -07:00
Tim Hockin
fe67ef79b9
Add basic validation of Containers
2014-07-01 22:05:42 -07:00
Victor Marmol
e29ff512fc
Add a New() for Kubelet.
...
This will make it easier to add new fields that need to be initialized. Also refactors tests to ease making fake Kubelets.
2014-07-01 19:23:26 -07:00
Daniel Smith
969586a214
Add logging, fix crash
...
Crash was in kublet_server when fake docker client gives it nil pointer.
2014-07-01 17:38:07 -07:00
Daniel Smith
bf3b34c2e9
Allow master's pod info getter to be faked. Wire up in integration tests in futile attempt to make travis pass.
2014-07-01 17:08:32 -07:00
Daniel Smith
587fb75a7a
rearrange RunKubelet's parameters so that address and port are next to each other
2014-07-01 16:47:37 -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
Tim Hockin
045f1bda0c
Add validation of Volumes
2014-07-01 16:30:39 -07:00
brendandburns
664c9faa43
Merge pull request #327 from lavalamp/etcdChanFix
...
Improvements to integration test & logging
2014-07-01 15:40:48 -07:00
brendandburns
ec01289aeb
Merge pull request #326 from thockin/valid2
...
First piece ofn actual validation
2014-07-01 15:40:13 -07:00
brendandburns
67eae1f645
Merge pull request #331 from dchen1107/cleanup
...
Fixed the data race found in kubelet_test.go
2014-07-01 15:30:36 -07:00
Dawn Chen
17bad028ce
Fixed the data race found in kubelet_test.go
2014-07-01 15:15:40 -07:00
Daniel Smith
b820e026f6
Improve logging.
2014-07-01 14:02:14 -07:00
Daniel Smith
50bbf39925
improvements to integration test organization
2014-07-01 14:02:14 -07:00
Tim Hockin
8bc49a02c3
Document api types wrt validation
...
Part 3 in a series of changes towards data validation.
2014-07-01 13:58:44 -07:00
Tim Hockin
a92e1aa1bf
First piece of validation
...
I'm adding pieces incrementally to make sure we get full testing of each
piece.
Make syncLoop() private
2014-07-01 13:48:57 -07:00
Daniel Smith
229b8fca2a
Don't double-close the channel when etcd returns an error.
2014-07-01 12:49:57 -07:00
Daniel Smith
a10ac51224
Merge pull request #320 from brendandburns/async
...
Make each pod synchronization in the kubelet an independent thread.
2014-07-01 12:42:33 -07:00
Brendan Burns
1798e0fea3
Make each pod synchronization async.
2014-07-01 12:20:13 -07:00
Daniel Smith
212a393404
Merge pull request #293 from brendandburns/minion
...
Activate cloud minion registry.
2014-07-01 12:11:22 -07:00
Daniel Smith
9da5fed7f4
Merge pull request #277 from brendandburns/sync
...
Add sync behavior to the pod registry. Expand tests.
2014-07-01 11:43:40 -07:00
Daniel Smith
99f85e3897
Merge pull request #309 from monnand/race-controller
...
fix data races in controller
2014-07-01 11:34:05 -07:00