Brendan Burns
5b34ac0e73
Kubernetes version v0.11.0-dev
2015-02-17 21:15:42 -08:00
Brendan Burns
18ddff0eb6
Kubernetes version v0.11.0
2015-02-17 21:15:37 -08:00
Clayton Coleman
a01c09a61a
Merge pull request #4518 from brendandburns/master
...
Fix rolling update if namespace is empty.
2015-02-17 23:49:17 -05:00
Brendan Burns
62c4187e78
Fix rolling update if namespace is empty.
2015-02-17 20:16:49 -08:00
Tim Hockin
876b0c4619
Merge pull request #4484 from jszczepkowski/load-balancer
...
Update for external load balancer.
2015-02-17 17:04:08 -08:00
Nikhil Jindal
7264ad49f8
Merge pull request #4504 from dchen1107/podstatus
...
Create docker.Container obj with Name. Integration test is using fake_do...
2015-02-17 16:43:33 -08:00
Nikhil Jindal
a4bc22e263
Merge pull request #4507 from lavalamp/fix4
...
remove redundant func()
2015-02-17 16:10:51 -08:00
Eric Tune
7990b54803
Merge pull request #4444 from saad-ali/eventsCacheLru
...
Switch events history to use LRU cache instead of map
2015-02-17 16:05:11 -08:00
Daniel Smith
ca5a73ac6b
remove redundant func()
2015-02-17 15:58:18 -08:00
Dawn Chen
c843adbd8f
Create docker.Container obj with Name. Integration test is using fake_docker_client
...
to create and start a fake container. When StartContainer, it pass a name as docker
ID for testing purpose, but leave Name uninitialized. This PR fixes such issue.
Fixed #4472 .
2015-02-17 15:23:21 -08:00
Nikhil Jindal
50ed6ad851
Merge pull request #4502 from pweil-/service-list
...
service NewList should return ServiceList
2015-02-17 14:51:44 -08:00
Dawn Chen
479e0c8f81
Merge pull request #4503 from dchen1107/podstatus
...
Add debugging information when docker.Container name is for #4472
2015-02-17 14:49:50 -08:00
Tim Hockin
003c0986b4
Merge pull request #4478 from thommay/rackspace_cloud_base
...
Basic Rackspace cloud support
2015-02-17 13:41:31 -08:00
Paul Weil
8d7d03a2f8
service NewList should return ServiceList
2015-02-17 16:30:29 -05:00
Dawn Chen
bafa240187
Add debugging information for #4472
2015-02-17 13:28:15 -08:00
Jerzy Szczepkowski
397c1fc69a
Update for external load balancer.
...
Implementation of updating external load balancer on service update. This partially fixes #4411 .
2015-02-17 21:49:36 +01:00
Alex Robinson
3043ae9144
Merge pull request #4492 from jlowdermilk/e2e
...
Cleanup resources after services/guestbook e2e tests.
2015-02-17 12:04:46 -08:00
Clayton Coleman
4859aa7cd8
Merge pull request #4453 from derekwaynecarr/make_quota_more_efficient
...
Make ListWatch work with a ListFunc and WatchFunc
2015-02-17 14:48:11 -05:00
saadali
2735e6a495
Switch events history to use LRU cache instead of map
2015-02-17 11:40:40 -08:00
Daniel Smith
309a81d8da
Merge pull request #4449 from smarterclayton/allow_setlist_on_lists
...
Allow runtime.SetList() on an api.List
2015-02-17 11:33:35 -08:00
Jeff Lowdermilk
b786c116b6
Make kubectl stop take -f flag (for filename|url|directory)
2015-02-17 11:27:47 -08:00
Yu-Ju Hong
9e72ec023b
Remove obsolete defaulting in service/rest.go
2015-02-17 10:34:50 -08:00
Nikhil Jindal
81d0a88f1e
Merge pull request #4459 from xiang90/kubulete
...
kubelet: minor cleaning up
2015-02-17 10:18:47 -08:00
Brian Grant
4cf2a8bff4
Merge pull request #3428 from sdminonne/typos
...
Fix typos
2015-02-17 10:09:31 -08:00
Brian Grant
e1b07efd36
Merge pull request #4450 from mikedanese/update-fix
...
fix error where we can't use kubectl update patch
2015-02-17 09:58:18 -08:00
Brian Grant
76edde3c23
Merge pull request #4451 from mikedanese/validate-probe
...
add validation for api.Probe
2015-02-17 09:56:52 -08:00
Alex Robinson
962b7b4295
Merge pull request #4448 from mikedanese/merge-patch
...
Fix --override and --patch flags in kubectl
2015-02-17 09:44:51 -08:00
Brian Grant
d37977feb2
Merge pull request #4465 from smarterclayton/allow_validation_error_filtering
...
Allow ValidationErrorList to be filtered
2015-02-17 09:44:11 -08:00
Brian Grant
2fe026e5a9
Merge pull request #4466 from mikedanese/probe-defaults
...
move api.Probe timeout default to central defaults
2015-02-17 09:43:30 -08:00
Brian Grant
3e012db59a
Merge pull request #4248 from smarterclayton/remove_rest_handler
...
Create a new unified storage object for Pods
2015-02-17 09:42:48 -08:00
Brian Grant
876d651737
Merge pull request #4395 from smarterclayton/split_naming
...
Fix cross-namespace LIST and WATCH
2015-02-17 09:40:09 -08:00
Clayton Coleman
0e07e61a53
Merge pull request #4381 from sdminonne/bug_fix
...
kubectl delete resource : remove all resources
2015-02-17 12:25:56 -05:00
Mike Danese
a4eca69e6c
added previously failing unit test and fix using pkg/util/merge.go instead of mergo to apply patch.
2015-02-17 07:43:21 -08:00
Thom May
8357e1521a
Basic Rackspace cloud support
...
This enables all but Load Balancer support for the Rackspace public
cloud platform.
2015-02-17 10:59:40 +00:00
Mike Danese
f7df9b9d37
add validation for api.Probe
2015-02-16 21:56:03 -08:00
Clayton Coleman
619f3a6804
Allow ValidationErrorList to be filtered
...
Expose basic filters on an error list to ignore certain error types.
This can be used by client code to ignore errors on common schema
types like "metadata.name" or the NotFound error type.
2015-02-16 17:45:54 -05:00
Clayton Coleman
6f84bdaba8
Merge pull request #4454 from xiang90/probe
...
pkg/kubelet: minor cleanup for probe.go
2015-02-16 16:53:58 -05:00
Clayton Coleman
7e07d711b8
Provide a helper on client/request.go for full URI
...
Allows self links to be directly passed
2015-02-16 16:31:32 -05:00
deads2k
3be343449f
expose creation APIRequestInfoResolver
2015-02-16 13:56:03 -05:00
Xiang Li
042dc1faa3
pkg/kubelet: uncaptialize error message
2015-02-16 09:33:20 -08:00
Xiang Li
2437e94248
pkg/kubelet: fix wrong code path in runContainer
2015-02-16 09:32:37 -08:00
Xiang Li
13bb378d1c
pkg/kubelet: reduce indentation
2015-02-16 08:46:41 -08:00
Xiang Li
edc926ffcb
pkg/kubelet: capitalize message in print
2015-02-16 08:40:07 -08:00
Xiang Li
da6d1da12d
pkg/kubelet: remove unused var in handlers.go
2015-02-16 08:38:10 -08:00
Clayton Coleman
72da3b4424
Move rest.Pods to pkg/registry/pod/rest.go
2015-02-16 10:09:28 -05:00
Clayton Coleman
7a93af57c0
Remove pods from pkg/registry/etcd/etcd.go since they are in their own type
...
Altered the master initialization code
2015-02-16 10:09:27 -05:00
Clayton Coleman
247e467217
Collapse pod REST+Registry to a single object using generic/etcd
2015-02-16 10:09:27 -05:00
Mike Danese
4ba8ecd1fb
move api.Probe timeout default to central defaults
2015-02-15 23:44:55 -08:00
Xiang Li
3c2ead5b29
pkg/kubelet: minor cleanup for probe.go
2015-02-15 22:25:14 -08:00
Mike Danese
3039f7846c
implement RFC7386 JSON Merge Patch
2015-02-15 22:21:10 -08:00
Clayton Coleman
3e2e4714a2
Always set ?namespace in query if specified
...
Revise our code to only call Request.Namespace() if a namespace
*should* be present. For root scoped resources, namespace should
be ignored. For namespaced resources, it is an error to have
Namespace=="".
2015-02-16 00:23:38 -05:00
Clayton Coleman
9175082a1c
Split naming behavior out into objects that are derived from the request
...
Fix bug with cross namespace queries not being possible. Ensure selflink
is set on lists correctly.
2015-02-16 00:23:38 -05:00
derekwaynecarr
c0ce15c588
Make list watch take a ListFunc and WatchFunc, provide default funcs from client
2015-02-15 22:26:05 -05:00
Mike Danese
9f9153256d
fix error where we can't use patch and add cmd-test for patch and file
...
update
2015-02-15 10:43:35 -08:00
Clayton Coleman
dc3b327951
Allow runtime.SetList() on an api.List
...
SetList doesn't allow api.List
2015-02-14 23:37:23 -05:00
Salvatore Dario Minonne
bc868b97b8
Fix typos in vagrant.go
2015-02-14 06:20:03 +01:00
Dawn Chen
1ce999318e
Better debugging log for investigating pod unknown status.
2015-02-13 15:27:14 -08:00
Dawn Chen
20dc1c2481
Merge pull request #4410 from brendandburns/fixer
...
Don't delete the pod infrastructure container on health check failures.
2015-02-13 15:18:27 -08:00
Dawn Chen
c8b6c62698
Merge pull request #4433 from vmarmol/purge
...
Use Docker name (not ID) to parse Kubernetes components.
2015-02-13 14:31:47 -08:00
Tim Hockin
063ff6677c
Merge pull request #4422 from derekwaynecarr/set_difference
...
Set should have a difference function
2015-02-13 14:16:28 -08:00
Victor Marmol
5d6ad845cc
Use Docker name (not ID) to parse Kubernetes components.
...
Since the parsing function doesn't return an error all the components
returned empty strings. This caused us to enforce the MaxContainerLimit
as a global limit instead of a per-container limit.
Fixes #4413 .
2015-02-13 13:08:15 -08:00
derekwaynecarr
e7a0340ad7
Set should have a difference function
2015-02-13 15:39:56 -05:00
Jeff Lowdermilk
b23230e616
Merge pull request #4296 from deads2k/deads-allow-dots
...
allow dots in config set
2015-02-13 12:27:36 -08:00
Clayton Coleman
c977a45864
Merge pull request #4419 from smarterclayton/expand_generic_resources
...
Expand the generic registry
2015-02-13 13:53:20 -05:00
Clayton Coleman
4b5642450e
Merge pull request #4352 from liggitt/user_context
...
Make requesting user available in context
2015-02-13 13:27:09 -05:00
Jeff Lowdermilk
fe045ba630
Merge pull request #4416 from deads2k/deads-fix-merge-order
...
properly handle mergo map versus value rules
2015-02-13 10:26:11 -08:00
deads2k
941461044b
guard against unexpected type during config manipulation
2015-02-13 13:15:47 -05:00
deads2k
2dcaab75f5
allow dots in config set
2015-02-13 13:11:42 -05:00
Clayton Coleman
8440310ea0
Adapt to changes to generic etcd/registry
2015-02-13 13:11:33 -05:00
Clayton Coleman
23d199ded9
Make generic etcd more powerful and return operations from etcd
...
When we complete an operation, etcd usually provides a response
object. Return that object up instead of querying etcd twice.
2015-02-13 13:11:33 -05:00
Salvatore Dario Minonne
fda17c1b7a
kubectl delete resource : remove all resources
2015-02-13 18:25:41 +01:00
Brendan Burns
4ad3ea438d
Revert "Revert "Add an event for health check failures.""
...
This reverts commit fc4e711a8c
.
2015-02-13 09:23:13 -08:00
Clayton Coleman
78385b1230
Set 201 when RESTCreater returns a simple api.Status object
2015-02-13 12:12:50 -05:00
Clayton Coleman
abe8adc2e2
Expose new REST strategy methods for Pods
2015-02-13 12:12:50 -05:00
Clayton Coleman
09f18031fe
Merge pull request #4285 from brendandburns/auth
...
Add a more detailed error message for potential auth fails in docker pull.
2015-02-13 12:08:48 -05:00
Saad Ali
fc4e711a8c
Revert "Add an event for health check failures."
2015-02-13 08:10:45 -08:00
Saad Ali
c112f8f1bb
Merge pull request #4408 from brendandburns/printing
...
Add an event for health check failures.
2015-02-13 07:59:26 -08:00
Saad Ali
6dca22c9f1
Merge pull request #4409 from brendandburns/docs
...
Add some docs to the template format.
2015-02-13 07:50:16 -08:00
deads2k
fef503932f
properly handle mergo map versus value rules
2015-02-13 08:29:00 -05:00
Brendan Burns
5e49a606e1
Address changes.
2015-02-12 21:39:42 -08:00
Brendan Burns
8b7dfc9359
Return logs for failed and succeeded pods too.
2015-02-12 21:36:25 -08:00
Brendan Burns
4dbf98e98f
Don't delete the pod infrastructure container on health check failures.
2015-02-12 21:28:32 -08:00
Brendan Burns
c03a435501
Add an event for health check failures.
2015-02-12 19:08:23 -08:00
Brendan Burns
f63cf05d21
Add some docs to the template format.
2015-02-12 18:29:11 -08:00
Jordan Liggitt
083ce268e0
Put user in context, map requests to context above resthandler layer
2015-02-12 20:58:04 -05:00
Jordan Liggitt
ec66e5147e
Add user helper methods to context
2015-02-12 20:44:20 -05:00
Brendan Burns
0532c46217
Add a more detailed error message for potential auth fails in docker pull.
2015-02-12 17:00:59 -08:00
Saad Ali
ae92274e8d
Merge pull request #4402 from MikeJeffrey/docs
...
Comments go above the sample line in kubectl docs.
2015-02-12 16:43:35 -08:00
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