Brendan Burns
e300d6c94b
Merge pull request #4399 from derekwaynecarr/update_cache_func
...
If an object has no namespace, do not add a leading slash
2015-02-12 16:17:41 -08:00
MikeJeffrey
ca1e9f8061
Comments go above the sample line in kubectl docs.
2015-02-12 15:49:25 -08:00
derekwaynecarr
192e186119
If an object has no namespace, do not add a leading slash
2015-02-12 17:14:16 -05:00
Clayton Coleman
0b3162b3f4
Merge pull request #4306 from saad-ali/eventCompression1
...
Compress recurring events in to a single event to optimize etcd storage
2015-02-12 16:59:19 -05:00
Eric Tune
dd8f335380
Merge pull request #4376 from dchen1107/podstatus
...
Fix podstatus issue caused by docker's resource temporarily unavailable issue
2015-02-12 13:16:09 -08:00
Saad Ali
cdb93a7c46
Merge pull request #4387 from smarterclayton/rename_try_again_later
...
Rename TryAgainLater status code to ServerTimeout
2015-02-12 12:23:57 -08:00
Clayton Coleman
c24f4a24b4
Rename TryAgainLater status code to ServerTimeout
2015-02-12 15:01:12 -05:00
Alex Robinson
60ab9904d5
Merge pull request #4371 from a-robinson/port
...
Add extra explanation of the purpose of service's ContainerPort field to the API comments.
2015-02-12 11:45:45 -08:00
Alex Robinson
3301f19a8a
Add extra explanation of the purpose of service's ContainerPort field to
...
the API comments. We were asked about this in issue #4332 .
2015-02-12 19:37:58 +00:00
Steve Reed
38230ef12f
Adds replication controller name to "Too many|few" logging
2015-02-12 09:18:56 -08:00
Saad Ali
3bc8f4e793
Merge pull request #4359 from erictune/no_bound_pod_envs
...
Stop putting env vars into BoundPods.
2015-02-12 09:12:19 -08:00
Clayton Coleman
0a435c815f
Merge pull request #4313 from derekwaynecarr/client_watch_namespaces
...
Add ability to watch namespaces from client
2015-02-12 11:51:19 -05:00
Clayton Coleman
b2d50ce1cc
Merge pull request #4329 from smarterclayton/bindings_incorrectly_removed
...
Bindings were not correctly removed across namespaces on pod update and delete
2015-02-12 11:43:22 -05:00
Eric Tune
5b4569697f
Stop putting env vars into BoundPods.
...
They will still show up in etcd. They never were available
through the API.
A subsequent PR(s) will rip out all BoundPods code.
Working in small increments.
This PR will cause users on lagging cloud providers
to not get env vars in their pods if they update to this code.
They have already been warned via email.
Removed unit tests of BasicBoundPodFactory.
There is adequate coverage in pkg/kubelet/kubelet_test.go.
2015-02-12 08:37:23 -08:00
derekwaynecarr
73aa0cc192
Add a unit test to exercise watch
2015-02-12 11:25:33 -05:00
Saad Ali
42f04587d0
Merge pull request #4363 from yujuhong/defaulting_tests
...
Add defaulting tests for API v1beta2 and v1beta3
2015-02-12 07:56:23 -08:00
Saad Ali
b5f4849a53
Merge pull request #4364 from vmarmol/cleanup
...
Minor clarification of --server flag.
2015-02-12 07:54:39 -08:00
Saad Ali
35a62fb89a
Merge pull request #4373 from vishh/3391
...
Improve error handling for '/containerLogs' API in kubelet.
2015-02-12 07:51:53 -08:00
Saad Ali
c216b2660c
Merge pull request #4367 from vmarmol/print-client
...
Print client version before evaluating server's.
2015-02-12 07:48:24 -08:00
Clayton Coleman
7d43971614
Merge pull request #4326 from yujuhong/phantom_pods
...
Allow AtomicUpdate() to surface the error when the key doesn't exist
2015-02-12 10:19:09 -05:00
Clayton Coleman
0a2d713803
Merge pull request #4263 from smarterclayton/simplify_apiserver
...
Remove layers of indirection between apiinstaller and resthandler
2015-02-12 10:03:41 -05:00
Clayton Coleman
e6fdac1365
Return an error when names are empty
2015-02-12 09:45:13 -05:00
Clayton Coleman
371349f858
Merge pull request #4125 from derekwaynecarr/store_by_namespace
...
Enable look-up by secondary index in cache
2015-02-12 09:44:26 -05:00
derekwaynecarr
e76dcbdfa2
Add ability to watch namespaces
2015-02-12 09:42:29 -05:00
Dawn Chen
af54c62766
Fix podstatus issue caused by docker's resource temporarily unavailable error
2015-02-11 23:52:58 -08:00
saadali
033577efa2
Optimize etcd storage by compressing recurring events in to a single event
2015-02-11 22:57:44 -08:00
Yu-Ju Hong
6813683ee2
Allow AtomicUpdate() to surface the error when the key doesn't exist
...
In some cases, when the key doesn't exist, AtomicUpdate should simply fail and
surface the error. This change adds a new function parameter "ignoreNotFound"
for this purpose.
2015-02-11 21:56:28 -08:00
Vishnu Kannan
922881fcd2
Improve error handling for '/containerLogs' API in kubelet.
2015-02-12 02:22:26 +00:00
Victor Marmol
d158bbd62a
Print client version before evaluating server's.
...
This will allow the client version to be printed even if the server
version is not available.
Fixes #4098 .
2015-02-11 17:11:25 -08:00
Victor Marmol
0a64fecaf5
Minor clarification of --server flag.
...
Fixes #3425 .
2015-02-11 17:04:41 -08:00
Yu-Ju Hong
4bce52a5f6
Add defaulting tests for API v1beta2 and v1beta3
...
This commit also add more tests in v1beta1/defaults_test.go
2015-02-11 16:08:52 -08:00
roberthbailey
4c4b4261d4
Merge pull request #4354 from simon3z/master
...
ovirt: fix IPAddress lookup implementation
2015-02-11 15:32:03 -08:00
roberthbailey
b9d6b3b547
Merge pull request #4345 from vmarmol/noports
...
Don't include port in config when not specified.
2015-02-11 15:07:43 -08:00
Federico Simoncelli
45bc19beb5
ovirt: fix IPAddress lookup implementation
...
The ovirt instance is reported using its hostname. The IPAddress
implementation should lookup the ip (instead of parsing it as if
it was already an address).
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com >
2015-02-11 17:47:26 -05:00
Clayton Coleman
8f6e3607a9
Add monitoring as a filter
2015-02-11 17:07:23 -05:00
Clayton Coleman
26f08b7807
RESTStorage should not need to know about async behavior
...
Also make sure all POST operations return 201 by default.
Removes the remainder of the asych logic in RESTStorage and
leaves it up to the API server to expose that behavior.
2015-02-11 16:26:08 -05:00
Clayton Coleman
79cb93002e
Remove asynchronous channel on RESTStorage interfaces
2015-02-11 16:26:07 -05:00
Clayton Coleman
d167c11b59
Remove layers of indirection between apiinstaller and resthandler
...
Make the RESTHandler feel more go-restful, set the stage for adding
new types of subresource collections.
2015-02-11 16:26:06 -05:00
Victor Marmol
6a80553d7b
Don't include port in config when not specified.
...
When no port is specified the flag default of "-1" is taken.
Fixes #4305
2015-02-11 13:20:51 -08:00
derekwaynecarr
7b34d6ef8e
The namespace context for a get of an individual namespace is the namespace
2015-02-11 16:06:51 -05:00
roberthbailey
15c57efde2
Merge pull request #4327 from a-robinson/timecache
...
Remove the unused TimeCache file and its tests.
2015-02-11 11:46:51 -08:00
Clayton Coleman
6f85b655cc
Bindings were not correctly removed across namespaces on pod update and delete
...
BoundPods must be checked for Name and Namespace equality, not just name
equality. In the future, we should also check for UID equality.
2015-02-11 14:35:28 -05:00
Brian Grant
20f7cbb87b
Merge pull request #4291 from jlowdermilk/delete-kubecfg
...
Remove kubecfg, cleanup a few stray references.
2015-02-11 11:18:59 -08:00
Eric Tune
9ea4d2f814
Merge pull request #4323 from dchen1107/podstatus
...
Check if kubelet does know such Pod before querying status.
2015-02-11 11:13:50 -08:00
Alex Robinson
b58160c5ea
Remove the unused TimeCache file and its tests. Fixes issue #4192 .
2015-02-11 11:11:43 -08:00
Dawn Chen
f5f2b6f773
Check if kubelet does know such Pod before querying status.
2015-02-11 10:16:04 -08:00
Jeff Lowdermilk
8276a9e03d
Merge pull request #4295 from MikeJeffrey/kubectldocs
...
Clean up kubectl help for auto-gen'd kubectl.md
2015-02-11 09:41:30 -08:00
Masahiro Sano
a841b91aed
allocate map if Labels is not initialized
2015-02-11 20:05:41 +09:00
Deyuan Deng
f431e0e780
Merge pull request #4274 from mikedanese/descirbe-node-condition
...
add NodeCondition and PodCondition to kubectl describe node/pod
2015-02-10 20:15:20 -05:00
Jeff Lowdermilk
197059b65d
Remove kubecfg, cleanup a few stray references.
2015-02-10 16:43:12 -08:00