Commit Graph

2917 Commits (a0cb252d400ecca8168055754225256085fe2a1a)

Author SHA1 Message Date
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
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
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