brendandburns
5756a635c9
Merge pull request #949 from lavalamp/bugFix
...
Add comment for clarity and logging for debugging.
2014-08-18 18:15:37 -07:00
Daniel Smith
f689d44d25
Add comment for clarity and logging for debugging.
2014-08-18 17:43:10 -07:00
Daniel Smith
d363d5d942
Merge pull request #944 from brendandburns/service
...
Add a better test for service environment variables. Fix bugs.
2014-08-18 16:59:21 -07:00
brendandburns
0126688ca0
Merge pull request #939 from derekwaynecarr/kubecfg_stop_should_reuse_code
...
Use common resize controller logic for stop in kubecfg
2014-08-18 16:58:56 -07:00
Daniel Smith
138b560efb
Implement bindings
...
This will effectively cause no changes until we remove the assignPod
call from CreatePod().
2014-08-18 16:55:44 -07:00
Brendan Burns
3eb044b495
Add a better test for service environment variables
...
Fix bugs.
2014-08-18 16:53:59 -07:00
Clayton Coleman
bcf7a37e21
Merge pull request #906 from lavalamp/watch
...
Watch improvements.
2014-08-18 17:11:08 -04:00
derekwaynecarr
3c68b0a009
Use common resize controller logic for stop
2014-08-18 15:58:31 -04:00
Brendan Burns
05ab1e49fb
Address some follow up comments.
2014-08-18 12:49:52 -07:00
Tim Hockin
e472752ff9
Merge pull request #875 from brendandburns/exec
...
Add a in container exec based health check.
2014-08-18 12:19:22 -07:00
Brendan Burns
0caae9c1d4
Add a in container exec based health check.
2014-08-18 12:00:11 -07:00
derekwaynecarr
8df21b84a1
Add vagrant cloudprovider
2014-08-18 14:30:31 -04:00
brendandburns
53f53516f6
Merge pull request #933 from derekwaynecarr/issue_878
...
Enforce isDir, elliminates message in kubelet.log
2014-08-18 11:07:59 -07:00
Clayton Coleman
13c3efbc4c
The default client poll interval is extremely long
...
Most operations complete much more quickly than 20s, and those that
do take longer are going to be fixed to make them take less time
(#353 )
2014-08-18 13:40:35 -04:00
derekwaynecarr
39293eaf56
Enforce isDir, elliminates message in kubelet.log
2014-08-18 13:17:41 -04:00
Daniel Smith
b00afd7f3b
Merge pull request #924 from thockin/cleanups2
...
Validation return types cleanup
2014-08-18 09:38:07 -07:00
Robert Bailey
ce572050a8
Add tests for invalid container manifests.
2014-08-18 00:44:46 -07:00
Robert Bailey
fecfe23ed1
Refactor tests to be table driven.
2014-08-18 00:17:06 -07:00
Robert Bailey
9ce364d498
Add validation when processing pod manifests from a URL.
2014-08-17 22:50:53 -07:00
Daniel Smith
4b2867fd8a
Standardize watch usage in registry/storage objects. Fix up extremely confusing pod test object.
2014-08-16 19:07:41 -07:00
Daniel Smith
d900134a60
Add filter to watch
2014-08-16 19:07:30 -07:00
Daniel Smith
ca55bfb29c
Add mux type to watch package
2014-08-16 19:07:29 -07:00
Daniel Smith
e40e5b53a7
Add Watch to /pods.
2014-08-16 19:07:29 -07:00
Tim Hockin
e0d9002717
All validations return ErrorList now
2014-08-16 13:48:48 -07:00
Tim Hockin
a69979d22b
Change ErrorList.Append() to append()
2014-08-16 13:34:06 -07:00
brendandburns
0426055940
Merge pull request #919 from lavalamp/delMem
...
Remove unused and not completely correct code
2014-08-15 20:24:31 -07:00
Daniel Smith
26e2256178
Remove unused and not completely correct code
2014-08-15 18:20:37 -07:00
Daniel Smith
2946e21f80
Merge pull request #916 from smarterclayton/unify_fake_client
...
Replace pkg/kubecfg#FakeKubeClient with the fake in pkg/client
2014-08-15 17:15:19 -07:00
Clayton Coleman
12a22db2a9
Merge pull request #911 from derekwaynecarr/fix_verify_boilerplate
...
Fix verify-boilerplate
2014-08-15 17:28:57 -04:00
Clayton Coleman
82b0ec5115
Replace pkg/kubecfg#FakeKubeClient with the fake in pkg/client
2014-08-15 17:15:53 -04:00
Daniel Smith
daab393562
Merge pull request #780 from brendandburns/native
...
Add a utility for doing master election via etcd.
2014-08-15 11:48:13 -07:00
Brendan Burns
a17acd30ee
Add a utility for doing master election via etcd.
2014-08-15 11:42:16 -07:00
derekwaynecarr
8c07a0f524
Fix verify-boilerplate
2014-08-15 13:12:01 -05:00
Daniel Smith
881234c7ec
Merge pull request #900 from thockin/cleanups2
...
Move validation errors into a pkg
2014-08-15 10:01:48 -07:00
brendandburns
39d2020392
Merge pull request #897 from smarterclayton/watch_starting_too_early
...
Watch should start from next index when getting the initial state
2014-08-15 09:46:13 -07:00
Tim Hockin
b9e65c2438
Use new api/errors, get rid of api.* error code
2014-08-15 00:14:38 -07:00
Tim Hockin
bcd588ec15
Break api error handling into a new pkg
2014-08-15 00:14:38 -07:00
Clayton Coleman
befbf8466f
Only write to etcd if values have changed
...
This prevents certain loops from writing data to etcd every few
seconds (when data hasn't changed).
2014-08-14 20:34:36 -04:00
Clayton Coleman
7c67cbff04
Watch should start from next index when getting the initial state
...
Also, the fake response we return should have an Action that is
appropriate for the operation.
2014-08-14 20:32:46 -04:00
csrwng
5538bfca01
Allow kubecfg to parse other types via initialization map
2014-08-14 18:14:12 -04:00
brendandburns
8daf8c7a30
Merge pull request #896 from smarterclayton/return_correct_index_for_delete
...
Delete should use current node, not prev node index
2014-08-14 14:59:52 -07:00
Joe Beda
5654f5b247
Merge pull request #904 from erictune/cleanup5
...
Return not required after panic.
2014-08-14 14:30:41 -07:00
Joe Beda
8092a80ad9
Merge pull request #903 from erictune/cleanup4
...
Pass obj with lock by reference.
2014-08-14 14:29:01 -07:00
Joe Beda
9f7f46d06b
Merge pull request #901 from erictune/cleanup3
...
Remove unreachable code.
2014-08-14 14:27:31 -07:00
Clayton Coleman
87256127e0
Merge pull request #856 from pmorie/workaround-timestamp
...
Set CreationTimestamp in each storage implementation
2014-08-14 17:25:58 -04:00
Eric Tune
3d02700cc8
Dereference string* before printing it with "%s%".
...
Suggested by "go vet".
2014-08-14 14:06:09 -07:00
Eric Tune
c42d8b8e73
Return not required after panic.
...
Suggested by "go vet".
2014-08-14 14:04:39 -07:00
Eric Tune
ee91a19f90
Pass obj with lock by reference. Methods->funcs.
...
Fixes "lock passed by value" issues raised by "go vet".
2014-08-14 14:01:27 -07:00
Eric Tune
7de0df0be8
Remove unreachable code.
2014-08-14 13:56:42 -07:00
Paul Morie
c69160059b
Change CreationTimestamp to a util.Time and set in each storage implementation
...
Because time.Time doesn't work correctly with our YAML package, it is necessary
to introduce a type, util.Time, which serializes correctly to JSON and YAML.
Eventually we would like timestamping to cut across storage implementations;
for now, we set it in each storage.
2014-08-14 16:26:29 -04:00