bgrant0607
de2e298fa9
Merge pull request #3196 from smarterclayton/allow_create_to_span_resources
...
Allow create to handle multiple resources, remove createall
2015-01-13 12:23:50 -08:00
Daniel Smith
224a8d634b
Merge pull request #3384 from derekwaynecarr/list_watch_by_namespace
...
Add ability to listwatch a resource in an optional namespace
2015-01-13 11:15:27 -08:00
bgrant0607
bb140d636a
Merge pull request #3004 from smarterclayton/allow_get_to_span_resources
...
Allow kubectl get to fetch multiple resource types by label
2015-01-13 11:07:34 -08:00
Daniel Smith
8ac93fe15c
Merge pull request #3421 from nikhiljindal/sort_swagger
...
Swagger UI: Updating swagger-ui.js to list the resources and operations in sorted order
2015-01-13 10:54:37 -08:00
Joe Beda
16d0a837f2
Merge pull request #3414 from liggitt/cafile
...
Use CAFile even if client certificate is not specified
2015-01-12 17:44:51 -08:00
nikhiljindal
87c9c374b7
Swagger UI: Updating swagger-ui.js to list the resources and operations
...
in sorted order.
2015-01-12 17:29:07 -08:00
Dawn Chen
26a6628d8a
Merge pull request #3374 from lavalamp/fix
...
Fix minion listing
2015-01-12 16:36:46 -08:00
Daniel Smith
3e75195ff3
make minion registry not intolerably slow
2015-01-12 16:20:52 -08:00
Daniel Smith
f0b5fba988
Improve cache behavior
...
* don't block while filling cache
* make cache wait for pending calls
2015-01-12 16:20:25 -08:00
Brendan Burns
82afbab334
Merge pull request #3418 from nikhiljindal/swagger-ui
...
Fixing broken swagger-ui
2015-01-12 16:07:49 -08:00
Daniel Smith
6e70853e83
genericize ip cache
2015-01-12 16:04:43 -08:00
Daniel Smith
55653568ae
Merge pull request #3385 from erictune/source_api
...
Added kubelet config source from apiserver.
2015-01-12 15:47:15 -08:00
Eric Tune
18bcef5235
Added kubelet config source from apiserver.
2015-01-12 15:29:16 -08:00
nikhiljindal
f8db96b673
Fixing a bug in
...
https://github.com/GoogleCloudPlatform/kubernetes/pull/3404 which broke
swagger-ui.
Swagger-ui requires operation to be defined on all Routes.
2015-01-12 15:20:01 -08:00
Daniel Smith
24e59de06e
Merge pull request #3392 from erictune/reflector_proxy
...
Reconcile kubelet and kube-proxy watching code, initial steps.
2015-01-12 14:55:26 -08:00
Eric Tune
295800201e
Make pkg/proxy/config more like pkg/kubelet/config
...
Split SourceAPI into two subobjects.
Parallel structure for endpoints, services will allow
changing to use generic code in pkg/client/cache/reflector.go.
Rename some funcs to be more like pkg/client/cache.
2015-01-12 14:37:04 -08:00
Tim Hockin
2ea27c3df3
Fix wrong field check in validation
2015-01-12 14:27:34 -08:00
Tim Hockin
0d92da6b15
Remove logic to handle if UID is blank
...
This should only have been triggered by tests, and those should now be fixed.
I tested by calling panic() if UID was blank in BuildDockerName() or if number
of fields was < 5 in ParseDockerName(). All errors were fixed.
2015-01-12 14:27:34 -08:00
Tim Hockin
905514a12b
Ensure Namespace and UID are set in kubelet
...
Make all kubelet config sources ensure that UID and Namespace are defaulted, if
need be.
We can *almost* disable the "if blank" logic for UID, except for tests that
call APIs that do not run through SyncPods. We really ought to be enforcing
invariants better.
2015-01-12 14:27:34 -08:00
Tim Hockin
af0e2fd551
Merge pull request #3403 from thockin/klet-dirs-structure
...
Apply more structure to pod data dirs
2015-01-12 14:19:22 -08:00
bgrant0607
b3d827e333
Merge pull request #3416 from nikhiljindal/basePath
...
Setting WebServicesUrl in swagger config
2015-01-12 13:59:21 -08:00
bgrant0607
e965b7ec18
Merge pull request #3368 from ddysher/static-hostip
...
Post hostip for static machines
2015-01-12 13:51:11 -08:00
nikhiljindal
6ddfb10728
Setting WebServicesUrl in swagger config, so that the api docs contain correct basepath
2015-01-12 13:48:39 -08:00
Jordan Liggitt
1f8a74626f
Use CAFile even if client certificate is not specified
2015-01-12 16:38:48 -05:00
Eric Tune
ab7106a5c3
Merge pull request #3322 from erictune/cleanup5
...
Rename ListPods methods to List.
2015-01-12 13:38:13 -08:00
Daniel Smith
6f43074143
Merge pull request #3404 from smarterclayton/method_not_allowed
...
Allow RESTStorage objects to not implement methods
2015-01-12 13:21:10 -08:00
saadali
e1917cf900
Fix "Kubelet doesn't kill old pods when BoundPods is empty" issue
2015-01-12 12:39:47 -08:00
Daniel Smith
969c4b8c49
Merge pull request #3410 from brendandburns/watch
...
Clear resourceVersion on errors.
2015-01-12 11:51:59 -08:00
Brendan Burns
6ad88bb143
Clear resourceVersion on errors.
2015-01-12 11:45:38 -08:00
Clayton Coleman
d17f75f254
Remove user agent logging (doesn't add significant value)
...
We can reintroduce path/agent logging at a later point, this just clogs
verbose logs.
2015-01-12 13:37:37 -05:00
Clayton Coleman
302629569b
Remove unimplemented methods
2015-01-12 12:20:01 -05:00
Clayton Coleman
22c99c98e2
Split RESTStorage into separate interfaces
...
Omit unimplemented interfaces from Swagger
2015-01-12 12:19:45 -05:00
Clayton Coleman
a52b216324
Add MethodNotSupported error
2015-01-12 12:05:04 -05:00
Tim Hockin
523a80bec7
Apply more structure to pod data dirs
...
This is makes it possible to read back "known" pods from disk without
getting other (non-pod) kubelet dirs in the mix. Ditto for containers
within a pod. This is just saner overall. Pods now nest in a pods/
dir. Likewise containers.
2015-01-12 06:16:32 -08:00
Eric Tune
00c05053b7
Rename ListPods methods to List.
...
For greater similarity to pkg/client.
Does not cover registry's ListPods.
Fix an example in a comment.
2015-01-09 23:46:02 -08:00
derekwaynecarr
7c630fd797
Add ability to listwatch in namespace
2015-01-10 01:04:26 -05:00
Deyuan Deng
0e13a24864
Post hostip for static machines
2015-01-09 19:38:10 -05:00
Daniel Smith
6cd37637f5
Merge pull request #3365 from smarterclayton/test_coverage
...
Reenable coverage and race detection on Travis
2015-01-09 16:35:18 -08:00
Eric Tune
f381579a89
Fix flaky test.
...
Maps are randomly reordered.
But there is only one order for one thing.
2015-01-09 16:23:53 -08:00
Eric Tune
e930aa33ac
Merge pull request #3370 from dchen1107/clean
...
Print PodIP along with Pod.Name for kubectl get pod <id>
2015-01-09 15:54:26 -08:00
Dawn Chen
a7ad7f8207
Print PodIP along with Pod.Name for kubectl get pod <id>
2015-01-09 14:18:10 -08:00
Dawn Chen
a5c117f405
Merge pull request #3367 from lavalamp/fix
...
improve validation error message printing
2015-01-09 13:26:44 -08:00
Dawn Chen
f795d13985
Merge pull request #3366 from erictune/undelta
...
Added UndeltaStore.
2015-01-09 13:18:22 -08:00
Daniel Smith
c81dda5d61
improve validation error message printing
2015-01-09 13:06:24 -08:00
bgrant0607
4231f8757d
Merge pull request #3298 from nikhiljindal/swagger-ui
...
Changes to improve swagger ui
2015-01-09 12:55:01 -08:00
Eric Tune
793bf6a79d
Added UndeltaStore.
...
This will be used to connect Reflector to kubelet update channel.
Added testing.
2015-01-09 12:40:07 -08:00
Tim Hockin
2a2cef84d6
Merge pull request #3351 from lavalamp/fix
...
Fix error messages; add tests
2015-01-09 12:07:20 -08:00
nikhiljindal
7e909ed743
Changes to improve swagger ui.
...
- Separating out index, version and api handlers into independent web
services. Moved the index handler to /welcome, version handler to
/version and the api handler to /api,
2015-01-09 10:56:24 -08:00
Clayton Coleman
bc86b31a8b
Remove createall now that create supports directories and sources
2015-01-09 13:30:31 -05:00
Clayton Coleman
d1ab27762b
Create should be able to accept multiple resources
2015-01-09 13:30:31 -05:00