Commit Graph

655 Commits

Author SHA1 Message Date
Nan Deng
e444bf23f6 turn off code cover. 2014-07-02 23:23:14 -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
0a97e514b3 turn on race detector by default 2014-07-02 23:22:09 -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
Daniel Smith
126b185053 Merge pull request #343 from thockin/valid2
Use structured errors during validation
2014-07-02 16:25:18 -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
Tim Hockin
a1be413cb3 Merge pull request #342 from thockin/valid2
Simplify supported manifest versions
2014-07-02 15:32:02 -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
Daniel Smith
0ee696c9c4 Merge pull request #337 from proppy/manifest-schema
api/doc: add manifest schema
2014-07-02 13:58:53 -07:00
brendandburns
94e1d26992 Merge pull request #340 from thockin/cleanups
nit: s/Id/ID/ for go style
2014-07-02 13:10:13 -07:00
Tim Hockin
d3da6b168e nit: s/Id/ID/ for go style 2014-07-02 11:21:29 -07:00
Johan Euphrosine
adda08827b api/doc/manifest-schema: move required attribute before properties 2014-07-02 11:21:21 -07:00
Daniel Smith
1796598302 Merge pull request #339 from thockin/valid8
Fix wrong json name for Key field
2014-07-02 10:31:46 -07:00
Tim Hockin
48074d4ae7 Fix wrong json name for Key field 2014-07-02 10:30:27 -07:00
brendandburns
53a51185c6 Merge pull request #333 from thockin/valid8
Add validation for Container.Env
2014-07-02 09:19:03 -07:00
brendandburns
c41607dc5d Merge pull request #338 from thagikura/patch-2
Removes the htpasswd prerequisite from README
2014-07-02 09:15:56 -07:00
Takeshi Hagikura
af4585b818 Removes the htpasswd prerequisite from README
Looks like htpasswd dependency was removed in this commit.
4eccd64e0f
2014-07-02 18:40:37 +09:00
Johan Euphrosine
292eed7cd5 api/doc: add manifest schema 2014-07-01 23:32:59 -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
brendandburns
e268b73596 Merge pull request #318 from lavalamp/test_fix
Fix interface{} in api/types
2014-07-01 22:13:38 -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
brendandburns
53bdb23cf9 Merge pull request #334 from smarterclayton/add_identifier_doc
Describe identifiers in Kubernetes
2014-07-01 17:15:30 -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
Daniel Smith
d523ccb428 Change error printing for easier debugging 2014-07-01 16:41:09 -07:00
Daniel Smith
6d8cef21b4 Merge pull request #329 from thockin/valid6
Add validation of Volumes
2014-07-01 16:38:16 -07:00
Tim Hockin
045f1bda0c Add validation of Volumes 2014-07-01 16:30:39 -07:00
Clayton Coleman
a6a27fd6ef Describe identifiers in Kubernetes
Documents #199
2014-07-01 19:17:39 -04:00
brendandburns
1c54112b0f Merge pull request #332 from thagikura/patch-1
Replace the outdated cloudcfg.sh to kubecfg.sh
2014-07-01 16:06:13 -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
Takeshi Hagikura
f92cc6a948 Replace the outdated cloudcfg.sh to kubecfg.sh
Replaces the outdated cloudcfg.sh to kubecfg.sh in the dynamic update demo.
2014-07-02 07:35:08 +09: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