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
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
Dawn Chen
17bad028ce
Fixed the data race found in kubelet_test.go
2014-07-01 15:15:40 -07:00
Daniel Smith
a73a395421
Merge pull request #312 from thockin/valid4
...
Document api types wrt validation
2014-07-01 14:34:11 -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
brendandburns
da61f90b08
Merge pull request #325 from lavalamp/etcdChanFix
...
Don't double-close the channel when etcd returns an error.
2014-07-01 13:46:50 -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
6473177f3b
Merge pull request #324 from vmarmol/add-cadvisor
...
Run cAdvisor on all minions.
2014-07-01 12:00:17 -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
cf2cf5027b
Merge pull request #322 from brendandburns/travis
...
Disable gofmt for non go1.2 or go1.3
2014-07-01 11:42:22 -07:00
Victor Marmol
842907613b
Run cAdvisor on all minions.
2014-07-01 11:36:33 -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
Brendan Burns
d5516e4cdc
Activate gce minion list.
2014-07-01 11:33:58 -07:00