Commit Graph

4579 Commits (9b215dbe3825fe4b55f27e7b6e529180b7f9a0bf)

Author SHA1 Message Date
Dan Mace 312ccad3c1 Use narrowly scoped interfaces for client access
Use custom narrowly scoped interfaces for client access from the
RollingUpdater and Resizer. This allows for more flexible downstream
integration and unit testing without imposing a burden to implement
the entire client.Interface for just a handful of methods.
2015-04-15 14:28:59 -04:00
Saad Ali 6cfce2c7ee Merge pull request #6822 from derekwaynecarr/send_events_replication_controller
Replication controller gives failedCreate events
2015-04-15 11:27:23 -07:00
Victor Marmol 902e1196ac Merge pull request #6867 from pmorie/libcontainer-bug
Remove workaround for libcontainer Getfilecon bug
2015-04-15 11:02:46 -07:00
Eric Tune 3565a0861c Merge pull request #6864 from liggitt/generic_405_error
Add a more descriptive message for 405 errors
2015-04-15 10:59:17 -07:00
Quinton Hoole 7d9adad916 Merge pull request #6724 from nikhiljindal/beta1
Updating test/integration to use testapi.Version everywhere
2015-04-15 10:58:25 -07:00
Dawn Chen d912398d07 Merge pull request #6813 from vmarmol/in-container
Run Kubelet and Kube-proxy in resource-only containers.
2015-04-15 10:37:00 -07:00
Paul Morie 68f22a40f3 Remove workaround for libcontainer Getfilecon bug
https://github.com/docker/libcontainer/issues/499 has been fixed
2015-04-15 13:29:20 -04:00
Brian Grant 775787bb4c Merge pull request #6849 from nikhiljindal/validation
Updating api/validation/schema_test to test testapi.Version rather than just v1beta1
2015-04-15 10:25:54 -07:00
Yifan Gu 3b28c6262b kubelet: Clean up computePodContainerChanges.
More `continue`, less `else` to make it less indent and more readable.
2015-04-15 10:13:57 -07:00
Jordan Liggitt dde8c7156b Add a more descriptive message for 405 errors 2015-04-15 11:28:12 -04:00
Wojciech Tyczynski afb94c43b1 Fix listing nodes in scheduler 2015-04-15 14:26:25 +02:00
Wojciech Tyczynski 6feaf8ee4f Support List() single-matchers 2015-04-15 12:10:43 +02:00
nikhiljindal 8874ef9c06 Updating test/integration to use testapi.Version everywhere 2015-04-15 00:00:17 -07:00
nikhiljindal 40842e4471 Updating api/validation/schema_test to test testapi.Version rather than just v1beta1 2015-04-14 23:51:49 -07:00
Wojciech Tyczynski d7a1965fd9 Merge pull request #6746 from davidopp/master
Clarify comments describing how GuaranteedUpdate() (previously AtomicUpd...
2015-04-15 08:13:44 +02:00
Quinton Hoole cd6daae014 Merge pull request #6271 from a-robinson/asynclb
Manage load balancer creation and deletion asynchronously in a ServiceController
2015-04-14 17:50:07 -07:00
Alex Robinson fc08a0a71b Do service creation/update/deletion work in a pool of goroutines, protecting
each service with a lock to ensure that no two goroutines will process a
service at the same time. This is needed to avoid weird race conditions.
2015-04-15 00:30:18 +00:00
Dawn Chen a249a5bec8 Merge pull request #6792 from eparis/bash-3-kubectl-filename-json-yaml
bash_completions: Generic function for --filename arguments
2015-04-14 16:04:19 -07:00
Victor Marmol 54406a5b7c Merge pull request #6794 from yujuhong/restart_counts
Kubelet: persist restart count of a container
2015-04-14 16:01:49 -07:00
Eric Paris f272e836e0 Annotate kubectl describe with describable object for bash completions 2015-04-14 18:51:18 -04:00
David Oppenheimer 6b28a69a1b Clarify comments describing how GuaranteedUpdate() (previously AtomicUpdate() works. Closes #6626. 2015-04-14 15:38:15 -07:00
Eric Paris de3864a1c2 bash_completions: Generic function for --filename arguments
This generic function adds --filename= arguments to commands, and does
the magic so they get bash completions to find json, yaml, or yml files.
2015-04-14 18:25:52 -04:00
Yu-Ju Hong fd34441d2d Kubelet: persist restart count of a container
Currently, restart count are generated by examine dead docker containers, which
are subject to background garbage collection. Therefore, the restart count is
capped at 5 and can decrement if GC happens.

This change leverages the container statuses recorded in the pod status as a
reference point. If a container finished after the last observation, restart
count is incremented on top of the last observed count. If container is created
after last observation, but GC'd before the current observation time, kubelet
would not be aware of the existence of such a container, and would not increase
the restart count accordingly. However, the chance of this should be low, given
that pod statuses are reported frequently. Also, the restart cound would still
be increasing monotonically (with the exception of container insepct error).
2015-04-14 15:06:42 -07:00
Jeff Lowdermilk 037407f49e Merge pull request #6791 from eparis/bash-2-kubectl-get-resources
bash_completions: annotate kubectl get with resources
2015-04-14 15:02:34 -07:00
Daniel Smith 98e61e252d Merge pull request #6736 from smarterclayton/conserve_copiers
Reuse gob.Encoder and Decoder in DeepCopy
2015-04-14 14:33:40 -07:00
Clayton Coleman 0e9ddadc71 Merge pull request #6825 from lavalamp/fix2
fix fake controller source watch behavior
2015-04-14 17:33:26 -04:00
Daniel Smith 3fdfea3ad8 fix fake controller source watch behavior 2015-04-14 13:31:35 -07:00
markturansky d904e747e3 PVClaim volume plugin 2015-04-14 16:21:29 -04:00
derekwaynecarr 986c225311 Replication controller gives failedCreate events 2015-04-14 15:42:49 -04:00
Alex Robinson 9a351e3670 Move validation of load balancers only supporting TCP ports to validation.go. 2015-04-14 18:56:51 +00:00
Dawn Chen f471ca8e0c Merge pull request #6809 from markturansky/pv_union
Refactor Volumes to use InternalVolume instead of API types
2015-04-14 11:56:49 -07:00
Alex Robinson 2b14fc1d14 Remove the cloud provider field from the services REST handler and the master
now that load balancers are handled by the ServiceController.
2015-04-14 18:56:47 +00:00
Alex Robinson ccc300289f Implement a ServiceController that watches services and handles keeping
external load balancers up-to-date based on the service's specs, using
the new DeltaFIFO watch queue class. Remove the old registry REST
handler code for creating/updating/deleting load balancers.

Also clean up a bunch of the GCE cloudprovider code related to load balancers.
2015-04-14 18:56:24 +00:00
Jeff Lowdermilk 4f552053f1 Merge pull request #6789 from eparis/bash-custom-functions
Add bash completion custom functions
2015-04-14 11:54:22 -07:00
Alex Robinson a11106edd3 Put the node controller in its own package rather than in the generic
cloudprovider/controller package.
2015-04-14 18:34:59 +00:00
markturansky e1481fb9c2 Refactored Volume plugins to use InternalVolume instead of API types 2015-04-14 14:25:01 -04:00
Dawn Chen f7ae442a02 Merge pull request #6811 from markturansky/typos
Fix spelling typo in comments
2015-04-14 10:30:39 -07:00
Victor Marmol fb3c351fe1 Run Kubelet on "/kubelet" container. 2015-04-14 10:29:05 -07:00
Victor Marmol 8fc3d8f7b6 Adding utility for creating resource containers.
Allows creating and running in resource-only containers.
2015-04-14 10:29:05 -07:00
markturansky f599aecc6a Fix spelling typo in comments 2015-04-14 12:46:29 -04:00
Victor Marmol ca9e209ccb Merge pull request #6795 from yifan-gu/cache
kubelet/container: Replace DockerCache with RuntimeCache.
2015-04-14 09:37:34 -07:00
Dawn Chen 8420abeea8 Merge pull request #6786 from yifan-gu/cleankube
kubelet: Remove unused docker functions.
2015-04-14 09:16:53 -07:00
Derek Carr 9b6ba23622 Merge pull request #6761 from deads2k/deads-kubeconfig-squash
add flattening and minifying options to config view
2015-04-14 11:45:39 -04:00
Victor Marmol e265f2c58d Merge pull request #6799 from xiang90/kerr
pkg/kubelet: fix error msg in GetHostIP
2015-04-14 08:40:34 -07:00
Victor Marmol f59a9ca5f0 Merge pull request #6608 from yifan-gu/infra_changed
kubelet: Introduce PodInfraContainerChanged().
2015-04-14 08:23:17 -07:00
deads2k bac5cbbe82 add flattening and minifying options to config view 2015-04-14 10:23:10 -04:00
Xiang Li 4a152290f4 pkg/kubelet: fix error msg in GetHostIP 2015-04-13 22:44:23 -07:00
Jordan Liggitt 8faf02ba58 Make secrets client honor namespace 2015-04-13 21:17:09 -04:00
Yifan Gu e1feed9a8b kubelet/container: Replace DockerCache with RuntimeCache. 2015-04-13 18:16:05 -07:00
Daniel Smith d02139d2b4 Merge pull request #6771 from derekwaynecarr/ns_controller
Remove delay when deleting namespaces, move to new controller framework
2015-04-13 17:55:13 -07:00
Yifan Gu a5e6bea9b5 kubelet/container: Update the cache interface. 2015-04-13 17:38:18 -07:00
Yifan Gu 7fedb14c27 kubelet: Remove unused docker functions.
Remove kubelet.getPodInfraContainer().
Remove dockertools.RemoveContainerWithID().
Remove dockertools.FindContainersByPod().

Also replace the useless test with a test for GetPods().
2015-04-13 16:32:18 -07:00
Yifan Gu 4cdb1bf9ce kubelet: Introduce PodInfraContainerChanged().
Update tests.
2015-04-13 16:18:52 -07:00
Yifan Gu d14cb8f1dd kubelet: Introduce PodInfraContainerChanged().
This functions computes in ahead whether we need to restart the pod
infra container.
2015-04-13 16:18:52 -07:00
Victor Marmol 26f8bc1a68 Merge pull request #6776 from yifan-gu/puller
kubelet/dockertools: Add puller interfaces in the containerManager.
2015-04-13 16:17:43 -07:00
Eric Paris c75ecbd8e3 bash_completions: annotate kubectl get with resources which can be 'gotten'
A user types:
  kubectl get $resource

This will cause the bash completions to suggest the possible objects the
user can ask for.  The complete list right now is:

endpoints
event
limitrange
namespace
node
persistentvolume
persistentvolumeclaim
pod
replicationcontroller
resourcequota
secret
service
status

But this list should stay up2date as api objects are added or deleted
2015-04-13 19:11:26 -04:00
Fabio Yeon e99141de0d Merge pull request #6729 from smarterclayton/chaosclient
Add a new Chaos transport that can simulate network failure and add it to the kubelet
2015-04-13 16:06:53 -07:00
Dawn Chen da481aacd7 Merge pull request #6784 from lavalamp/fix
fix tests flaky due to timeouts
2015-04-13 16:05:22 -07:00
Dawn Chen fb25f9e12c Merge pull request #6768 from deads2k/deads-allow-flag-elimination
allow selective removal of kubeconfig override flags
2015-04-13 16:00:23 -07:00
Eric Paris f6878aed3c Add bash completion custom functions
These functions call out to kubectl to get information about running
resources.  They give us completions which are kubernetes aware and thus
obviously better than just cobra subcommands and flags.
2015-04-13 18:49:28 -04:00
Dawn Chen a8d028d054 Merge pull request #6780 from ddysher/remove-kubelet-client
Remove kubelet dependency on nodecontroller
2015-04-13 15:47:14 -07:00
Yifan Gu dda600e45c kubelet/dockertools: Add puller interfaces in the containerManager. 2015-04-13 15:34:22 -07:00
Clayton Coleman ca335d7be9 Add support for chaos to Kubelet and hack/local-up-cluster.sh 2015-04-13 18:21:20 -04:00
Daniel Smith 1ec6b02e99 fix tests flaky due to timeouts 2015-04-13 15:16:59 -07:00
Dawn Chen a0fa592b80 Merge pull request #6778 from yifan-gu/getpods
kubelet/dockertool: Move Getpods() to DockerManager.
2015-04-13 14:50:52 -07:00
Robert Bailey efdd58b737 Kubernetes version v0.15.0-dev 2015-04-13 14:08:50 -07:00
Robert Bailey 831f3e60d7 Kubernetes version v0.15.0 2015-04-13 14:08:45 -07:00
Yifan Gu a3675e08f2 kubelet/dockertool: Move Getpods() to DockerManager. 2015-04-13 14:05:22 -07:00
Deyuan Deng 236db3c252 Remove kubelet dependency on nodecontroller 2015-04-13 16:59:45 -04:00
derekwaynecarr c1a3fa0dae Remove delay when deleting namespaces, move to new controller framework 2015-04-13 15:18:22 -04:00
Tim Hockin f318da8344 Merge pull request #6379 from pmorie/rootcontext
Skeletal security context to facilitate tmpfs mount
2015-04-13 12:01:11 -07:00
Nikhil Jindal 60f0c28fd4 Merge pull request #6725 from smarterclayton/support_subpath_on_getter_with_options
Allow subpath on GET for GetterWithOptions
2015-04-13 11:27:41 -07:00
Vish Kannan 810ad7116d Merge pull request #6763 from swagiaal/improve-gce-pd-test
GCE PD Test: Add explicit check for attach and detach calls
2015-04-13 10:55:10 -07:00
Tim Hockin 96bcb56f10 Merge pull request #6737 from xiang90/p_tcp
pkg/proxy: a more reliable way to detect a closed proxy
2015-04-13 10:54:45 -07:00
Clayton Coleman 0c8a358de0 Merge pull request #6683 from deads2k/deads-handle-subresources
add support for authorizing subresources
2015-04-13 13:53:54 -04:00
Clayton Coleman f95cc2b8f2 Reuse gob.Encoder and Decoder in DeepCopy 2015-04-13 13:52:38 -04:00
Dawn Chen 17bfa6f5d7 Merge pull request #6717 from lavalamp/fix
Fix comments; switch to watching nodes
2015-04-13 10:28:23 -07:00
deads2k e7baa94404 allow selective removal of kubeconfig override flags 2015-04-13 13:14:23 -04:00
Xiang Li 7e36a88068 pkg/proxy: a more reliable way to detect a closed proxy 2015-04-13 10:11:22 -07:00
Dawn Chen aa804ffb45 Merge pull request #6723 from kargakis/remove-deprecated-call
Remove deprecated call to ResourceFromArgs
2015-04-13 10:09:01 -07:00
Paul Morie c98e89fca0 Set rootcontext of emptyDir tmpfs mounts correctly 2015-04-13 12:50:36 -04:00
Paul Morie 042ac3d800 Fix build (kubelet/util.go) 2015-04-13 12:29:36 -04:00
Victor Marmol ab68bcb97f Merge pull request #6733 from xiang90/kub_cap
pkg/kubelet: move the capabilities related code to util.go
2015-04-13 09:02:36 -07:00
Victor Marmol 4e3b4bd10e Merge pull request #6731 from xiang90/util-kubulet
pkg/kubelet: kill a TODO in util.go
2015-04-13 09:01:00 -07:00
Dawn Chen 86091eea82 Merge pull request #6732 from xiang90/status_manager.go
pkg/kubelet: clean up status manager
2015-04-13 09:00:24 -07:00
Dawn Chen b6ec2f971e Merge pull request #6741 from xiang90/udp_timeout
proxy: lower udp timeout
2015-04-13 08:58:02 -07:00
Dawn Chen 9d7eff0dca Merge pull request #6759 from luksa/master
Added missing argument
2015-04-13 08:56:20 -07:00
Sami Wagiaalla 309fd272b6 GCE PD Test: Add explicit check for attach and detach calls
Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-04-13 11:36:28 -04:00
markturansky ac4d34e5d7 Added PV & PVC client tests 2015-04-13 10:10:52 -04:00
markturansky d8c87e93dc Adding missing UpdateStatus methods to client 2015-04-13 10:10:52 -04:00
Marko Luksa 9bfa29896b Added missing argument 2015-04-13 15:46:27 +02:00
Wojciech Tyczynski a531a465d1 Merge pull request #6727 from xiang90/panic_fds
pkg/proxy: panic if run out of fd
2015-04-13 15:11:42 +02:00
Wojciech Tyczynski 59ab41c8f7 Merge pull request #6292 from jszczepkowski/scale-pool
Updating target pools on cloud nodes change.
2015-04-13 10:58:49 +02:00
Xiang Li 233ec922f3 proxy: lower udp timeout 2015-04-11 23:51:08 -07:00
Xiang Li 4b29947652 pkg/proxy: panic if run out of fd
When proxy runs out of fd, it fills the logs with error message.
From #6716, it is better to just panic().
2015-04-11 13:09:15 -07:00
Xiang Li cef744ecaa pkg/kubelet: move the capabilities related code to util.go 2015-04-11 12:09:11 -07:00
Xiang Li d24f60b5b8 pkg/kubelet: clean up status manager 2015-04-11 11:37:07 -07:00
Xiang Li cea38a2f4e pkg/kubelet: kill a TODO in util.go
Move kubelet.CapabilitiesSetup to capabilities.Setup
2015-04-11 10:55:39 -07:00
Clayton Coleman 0146e318f5 Allow client.Config to wrap the underyling Transport 2015-04-11 13:20:48 -04:00
Clayton Coleman 66e746bade Add a transport that can simulate random network errors 2015-04-11 13:20:48 -04:00
Clayton Coleman 0225d76b6a Support subpath on GET for GetterWithOptions
Allows REST consumers to build paths like:

    /api/v1beta3/namespaces/foo/webhookresource/<name>/<encodedsecretinurl>

Also fixes parameter exposure for subresources (was only fixed for
v1beta3).
2015-04-11 11:20:13 -04:00
kargakis ae960552c8 Remove deprecated call to ResourceFromArgs
Continuing from #6571
2015-04-11 08:14:25 +02:00
Daniel Smith dd26cdf0f7 Fix comments; switch to watching nodes 2015-04-10 17:49:51 -07:00
Tobi Knaup 3932dfd8bb Log an error when update channel is closed. 2015-04-10 17:30:04 -07:00
Dawn Chen fff6cebb5f Merge pull request #6711 from yujuhong/container_status
Kubelet: surface the container creation/start failure reason
2015-04-10 17:19:32 -07:00
Daniel Smith 66d55e0959 Merge pull request #6546 from lavalamp/fix
Add to controller framework; use in scheduler
2015-04-10 16:20:17 -07:00
Daniel Smith 395d69641e fix race 2015-04-10 16:02:51 -07:00
Yu-Ju Hong bb417e82d7 Kubelet: surface the container creation/start failure reason
Container creation/start failure cannot be reproduced by inspecting the
containers. This change caches such errors so that kubelet can retrieve it
later.

This change also extends FakeDockerClient to support setting error response
for a specific function.
2015-04-10 16:02:27 -07:00
Dawn Chen c19437395b Merge pull request #6702 from ddysher/remove-nodeinfo
Remove nodeinfo endpoint from kubelet
2015-04-10 14:54:16 -07:00
Dawn Chen cf357dfa21 Merge pull request #6701 from dchen1107/podstatus
Fix a small regression on api server proxy after switch to v1beta3.
2015-04-10 14:22:54 -07:00
Daniel Smith 6835318d1e switch to require 'go controller.Run()' 2015-04-10 14:05:08 -07:00
Daniel Smith 5f7715f0e9 Make scheduler not miss deletion events even in the case of a resync. 2015-04-10 14:05:08 -07:00
Daniel Smith 880f922bb6 Add easy setup for simple controller
Also add tests; coverage up to 86.7%
2015-04-10 14:05:07 -07:00
Tim Hockin b67bb85a2d Merge pull request #6435 from lavalamp/fix4
Add DeepCopy! Also-- optimize conversion for []byte
2015-04-10 13:53:45 -07:00
Tim Hockin 4a7b0eecbb Merge pull request #5138 from justinsb/cloud_pd
AWS EBS volume support
2015-04-10 13:47:03 -07:00
Dawn Chen c1e13b3431 Fix a small regression on api server proxy after switch to v1beta3. 2015-04-10 13:42:46 -07:00
Daniel Smith 1a2e4f8e1d Merge pull request #6616 from brendandburns/default
Default replica controller selector and labels using pod template.
2015-04-10 13:33:43 -07:00
Daniel Smith f591873af7 Add DeepCopy! Also-- optimize conversion for []byte 2015-04-10 13:26:46 -07:00
Justin Santa Barbara 7626914344 Rename aws_pd.go -> aws_ebs.go, aws_pd_test.go -> aws_ebs_test.go 2015-04-10 13:25:44 -07:00
Justin Santa Barbara 9462471bcd Fix some mistaken volumeId -> volumeID changes 2015-04-10 13:25:44 -07:00
Justin Santa Barbara 503e19e58c Rename aws_pd -> aws_ebs 2015-04-10 13:25:44 -07:00
Justin Santa Barbara 933cf60af7 Style: volumeId -> volumeID 2015-04-10 13:25:44 -07:00
Justin Santa Barbara 98c9ebbc50 Style: Aws -> AWS 2015-04-10 13:25:44 -07:00
Justin Santa Barbara 2afc1840b6 Style: awsId -> awsID 2015-04-10 13:25:44 -07:00
Justin Santa Barbara 46f9c2cc3c Style: Ebs -> EBS 2015-04-10 13:25:44 -07:00
Justin Santa Barbara 7e758fe441 Grammar fix: s/a AWS/an AWS/g 2015-04-10 13:25:43 -07:00
Justin Santa Barbara 5a887e83e7 Remove now-unused instanceId parameter from newAwsCloud 2015-04-10 13:25:43 -07:00
Justin Santa Barbara 4e176771b6 Make fetching the aws instance id optional, so we can use it on e2e 2015-04-10 13:25:43 -07:00
Justin Santa Barbara c7c969564a Add missing conversion for v1beta2 2015-04-10 13:25:43 -07:00
Justin Santa Barbara a20484b5ed Apply latest changes from copy-and-pasted gce_pd 2015-04-10 13:25:43 -07:00
Justin Santa Barbara 9711e771c5 Rename AWSPersistentDisk -> AWSElasticBlockStore, aws-pd -> aws-ebs
Per comments from @markturansky - thanks!
2015-04-10 13:25:43 -07:00
Justin Santa Barbara b3666ed08c Add AWSPersistentDisk to fuzzer 2015-04-10 13:25:43 -07:00
Justin Santa Barbara 2e91fdd2fd Fixup merge mistakes 2015-04-10 13:25:43 -07:00
Justin Santa Barbara 95b68ae0b0 Rename pdName -> volumeId for AWS persistent volumes 2015-04-10 13:25:43 -07:00
Justin Santa Barbara aa6051026e Add comment about EBS status being a bit slow through API 2015-04-10 13:25:43 -07:00
Justin Santa Barbara 0101bf2081 Fix detached-check logic, warn on multiple attachments 2015-04-10 13:25:43 -07:00
Justin Santa Barbara 3689bf0298 Fix pd name parse 2015-04-10 13:25:43 -07:00
Justin Santa Barbara 21beabd0a7 Default attachment status to detached
So no-attachments = status detached
2015-04-10 13:25:43 -07:00
Justin Santa Barbara cdc569a6c8 Parse the pdName from the volume mount
Don't assume there are no slashes!
2015-04-10 13:25:43 -07:00
Justin Santa Barbara f0cedd7375 More logging around error causes
Come back exceptions, all is forgiven!
2015-04-10 13:25:43 -07:00
Justin Santa Barbara 3549b30c8e Add missing import 2015-04-10 13:25:42 -07:00
Justin Santa Barbara 6c823dbdab Small clean-ups 2015-04-10 13:25:42 -07:00
Justin Santa Barbara f2184e0860 Fix comment 2015-04-10 13:25:42 -07:00
Justin Santa Barbara ee72fa4d61 Tolerate volume being already-attached 2015-04-10 13:25:42 -07:00
Justin Santa Barbara 86ddc0f96a Fix mountpoint values 2015-04-10 13:25:42 -07:00
Justin Santa Barbara e56e2ee46a Strip leading slash from url path when parsing aws volume 2015-04-10 13:25:42 -07:00
Justin Santa Barbara 743f2edb56 Fix tests 2015-04-10 13:25:42 -07:00
Justin Santa Barbara 89089900d7 Fix merge problems 2015-04-10 13:25:42 -07:00
Justin Santa Barbara 2812936d34 Simplify logic of pd.go 2015-04-10 13:25:42 -07:00
Justin Santa Barbara 6a4153fc0a Always create volumes in the active k8s zone 2015-04-10 13:25:42 -07:00
Justin Santa Barbara ffadd5533a Fix AWS region vs zone
We were specifying a region, but naming it as a zone in util.sh

The zone matters just as much as the region, e.g. for EBS volumes.

We also change the config to require a Zone, not a Region.
But we fallback to get the information from the metadata service.
2015-04-10 13:25:42 -07:00
Justin Santa Barbara 8fde691aa7 Fix tests 2015-04-10 13:25:42 -07:00
Justin Santa Barbara edf0292d4a Add initial support for Volumes to AWS 2015-04-10 13:25:42 -07:00
Daniel Smith 2bd95d4290 Merge pull request #6150 from HaiyangDING/bru
Implement Balanced Resource Allocation (BRA) algorithm as a PriorityFunction in scheduler package.
2015-04-10 12:48:27 -07:00
Deyuan Deng 868e05ce96 Remove nodeinfo endpoint from kubelet 2015-04-10 15:47:32 -04:00
deads2k c17ffb7c4c comments 1: comments 2015-04-10 15:39:20 -04:00
Daniel Smith 8dfd7001f5 Merge pull request #6671 from smarterclayton/ensure_body_is_closed
Reorganized Request.DoRaw() to guarantee streams are closed
2015-04-10 11:46:42 -07:00
Daniel Smith c6abb5b047 Merge pull request #6686 from derekwaynecarr/terminate_must_have_deletion_timestamp
Improve validation and fix not throwing an error during ns delete
2015-04-10 10:56:09 -07:00
Tim Hockin e4602eb68e Merge pull request #6663 from justinsb/cleanup_service_ip
Use defer to cleanup allocated service ip in case of error
2015-04-10 10:43:56 -07:00
Daniel Smith e2093798cb Merge pull request #6675 from wojtek-t/nodes_support_field_selector
FieldSelector for node List()
2015-04-10 10:30:55 -07:00
Dawn Chen c7ca118c7a Merge pull request #6682 from thockin/spew-keys-in-hash
Make DeepHashObject use SpewKeys
2015-04-10 09:58:47 -07:00
Justin Santa Barbara e551e0cb8c Use defer to cleanup allocated service ip in case of error
We're probably going to be doing a port allocation here also, so this needs some pre-simplifying.
2015-04-10 09:47:47 -07:00
deads2k 72817a0801 add support for authorizing subresources 2015-04-10 12:42:52 -04:00
Tim Hockin c989f30a00 make DeepHashObject use SpewKeys 2015-04-10 09:38:12 -07:00
Victor Marmol 1563a7636a Merge pull request #6652 from dchen1107/podstatus
Populate last terminated container information
2015-04-10 09:21:58 -07:00
Clayton Coleman fce3e5a2bb Merge pull request #6574 from ncdc/exec-portforward-no-command-pipes
Don't use command pipes for exec/port forward
2015-04-10 12:07:21 -04:00
Clayton Coleman 7ac4a22f18 Merge pull request #6613 from brendandburns/swagger
Add return types to PUT, POST and PATCH methods.
2015-04-10 11:50:03 -04:00
derekwaynecarr 8364055f0f Improve validation and fix not throwing an error during ns delete 2015-04-10 11:41:28 -04:00
Jerzy Szczepkowski 1c042208c7 Added retrying update of balancers in case some of updates failed. 2015-04-10 16:06:56 +02:00
Jerzy Szczepkowski eb253a694e Updating target pools on cloud nodes change.
Implemented updating target pools for external services on chage of cloud nodes. Related to #5241.
2015-04-10 16:06:56 +02:00
Timothy St. Clair 2b60111fca Performance change to option enable client.QPS, client.Burst
and change default on max_requests_inflight.
2015-04-10 07:53:54 -05:00
Wojciech Tyczynski 88eb0b0295 FieldSelector for node List() 2015-04-10 12:53:16 +02:00
kargakis c0ab76f539 Tighten label parsing 2015-04-10 11:36:49 +02:00
Clayton Coleman 852ef7b637 Reorganized Request.DoRaw() to guarantee streams are closed
Added a test to verify 429 triggers a client retry based on
header. Forced resp.Body.Close() to close after each request,
which allows Golang to reuse the TCP connection to the server
(should reduce connection establishment under retries).
Possibly fixed a server leak of request bodies.
2015-04-10 01:10:35 -04:00
Brendan Burns fded23a777 Default replica controller nodeSelector using pod template.
Add default labels from pod if not present.
2015-04-09 20:50:37 -07:00
Brendan Burns 8694f6f550 Add return types to PUT, POST and PATCH methods.
Also add return types for proxy and redirect handlers.
2015-04-09 20:17:05 -07:00
dingh 71b2af1e0c Implement BRA algorithm as a new priority function in scheduler
Balanced Resource Allocation policy can now be enabled to so that
host(s) with balanced resource usage would be preferred. The score
given by BRA also scales from 0 to 10 with 10 representing that the
resource usage is well balanced.
2015-04-10 10:53:52 +08:00
Abhishek Shah 964bc6b85d fix compilation 2015-04-09 17:19:13 -07:00
Victor Marmol 7ce5e7bc73 Merge pull request #6661 from vishh/sys_oom
Updating cadvisor deps and adding events cadvisor interface to kubelet
2015-04-09 16:28:20 -07:00
Dawn Chen 563f2965ba Populate last terminated container information 2015-04-09 16:10:13 -07:00
Vishnu Kannan de79209970 Adding events API to cadvisor interface. 2015-04-09 16:02:34 -07:00
Daniel Smith f16abee122 Merge pull request #6653 from yifan-gu/fix_pid_test
kubelet/fake_docker_client: Use self's PID instead of 42 in testing.
2015-04-09 16:01:10 -07:00
Daniel Smith 629d94657e Merge pull request #6624 from gmarek/status_to_subresource
Update NodeStatus use subresources.
2015-04-09 16:00:15 -07:00
Tim Hockin 4661cedf4a Merge pull request #5709 from gmarek/client5
Add validation for Endpoint
2015-04-09 15:13:45 -07:00
Jeff Lowdermilk 96076eb129 Merge pull request #6585 from deads2k/deads-config-takes-factory
make kubectl config behave more expectedly
2015-04-09 14:54:55 -07:00
Yifan Gu 12b382ce76 kubelet/fake_docker_client: Use self's PID instead of 42 in testing.
This is safer to use self's PID than some arbitrary PID (say 42),
since the kubelet will set the oom_score_adj for real.
2015-04-09 14:31:44 -07:00
David Oppenheimer 3ee42b4643 Merge pull request #6561 from piosz/events_back
Added events back to Node Controller
2015-04-09 13:57:23 -07:00
Daniel Smith 27c0828e50 Merge pull request #6647 from ncdc/TestServeExecInContainerIdleTimeout-flake
Fix TestServeExecInContainerIdleTimeout flake
2015-04-09 13:55:13 -07:00
Andy Goldstein 00e24603cb Fix TestServeExecInContainerIdleTimeout flake
Remove creation of stream from TestServeExecInContainerIdleTimeout as
it's not necessary to very idle timeout.

Increase stream creation and ack timeouts to 30 seconds.

Fixes #5628
2015-04-09 16:44:56 -04:00
Daniel Smith 6667b18c7c Merge pull request #6646 from smarterclayton/printer_should_include_apiversion
The versioned printer should be initialized with the mapping apiversion
2015-04-09 13:26:47 -07:00
Daniel Smith fe2e45567d Merge pull request #6640 from pmorie/entrypoint-serialization
Fix serialization for v1beta[12] container Command
2015-04-09 12:59:51 -07:00
Daniel Smith 71dd4ddc52 Merge pull request #6627 from bprashanth/watcher_cancel
Fix RunUntil and stop leaking watch channel on etcd error
2015-04-09 12:47:54 -07:00
Clayton Coleman 92a68ad7bf The versioned printer should be initialized with the mapping apiversion
VersionedPrinter handles fallback when multiple different APIVersions
are present if multiple arguments are passed (for instance, both Kube
resources at v1beta3 and a third party's API objects which are only
at v1). The cmd PrinterForMapping should always include the current
object's "mapping version" as a fallback in the event the preferred
API version does not map to the actual object.
2015-04-09 15:45:06 -04:00
deads2k b2e3f2185e make kubectl config behave more expectedly 2015-04-09 15:43:57 -04:00
Paul Morie cfb15e22d8 Fix serialization for v1beta[12] container Command 2015-04-09 15:17:00 -04:00
Prashanth Balasubramanian 5234c2dc82 Fix RunUntil and stop leaking watch channel on etcd error 2015-04-09 11:03:30 -07:00
Vish Kannan 2215a64567 Merge pull request #6571 from kargakis/describe-fix
describe: Support resource type/name syntax
2015-04-09 10:54:24 -07:00
Dawn Chen 554efa642c Merge pull request #6636 from ncdc/fix-flakey-portforward-test
Fix flakey port forward test
2015-04-09 10:49:06 -07:00
Daniel Smith 6a86608634 Merge pull request #6625 from wojtek-t/list_minions_supports_labels
ListMinions support for selectors
2015-04-09 10:30:08 -07:00
Victor Marmol 40acaef454 Merge pull request #6607 from yujuhong/mirror_update
Kubelet: recreate mirror pod if the static pod changes
2015-04-09 10:29:55 -07:00
Daniel Smith c72dc15e8e Merge pull request #6614 from brendandburns/validate
Add Validate in addition to ValidateUpdate to validation for most resources.
2015-04-09 10:24:57 -07:00
Andy Goldstein c07e98b7f5 Fix flakey port forward test
Only simulate data for the data stream, not for the error stream too.

Fixes #6529
2015-04-09 13:18:51 -04:00
Yifan Gu b868f421e0 kubelet: Move pod infra container image setting to dockertools. 2015-04-09 09:53:07 -07:00
Jeff Lowdermilk ca6f1a1bc7 Merge pull request #6476 from deads2k/deads-fix-kubeconfig-serialization
fix kubeconfig serialization
2015-04-09 09:41:26 -07:00
Wojciech Tyczynski 0e5b478b4d ListMinions support for selectors 2015-04-09 14:22:09 +02:00
gmarek ccc56d3c3c Update NodeStatus use subresources. 2015-04-09 14:07:40 +02:00
Piotr Szczesniak c1dd881f48 Added events back to Node Controller
It reverts @davidopp temp fix #6443.
Fixes #6199.
2015-04-09 10:37:07 +02:00
Brendan Burns 5d4f1cf8da Add Validate in addition to ValidateUpdate to validation for most resources. 2015-04-08 20:15:49 -07:00
Vish Kannan b12d75d0ee Merge pull request #6610 from markturansky/fifos_typos
Fixed typos in FIFO comments
2015-04-08 18:08:42 -07:00
Vish Kannan 3a3d860448 Merge pull request #6609 from yifan-gu/fix_getpodstatus
kubelet/DockerManager: Fix returning empty error from GetPodStatus().
2015-04-08 18:08:11 -07:00
Vish Kannan 844e375ceb Merge pull request #6603 from nikhiljindal/encoder
Removing some references to v1beta1 from test code
2015-04-08 18:06:32 -07:00
Yu-Ju Hong d7cf294c99 Kubelet: recreate mirror pod if the static pod changes
If a static pod changes, delete the corresponding mirror pod. When kubelet
could not see mirror pod from the API server update, it'd attemp to create a
new mirror pod with up-to-date specs.
2015-04-08 18:06:21 -07:00
markturansky e5f280b79e fixed typos 2015-04-08 21:00:48 -04:00
Yifan Gu d4513c2890 kubelet/DockerManager: Fix returning empty error from GetPodStatus(). 2015-04-08 17:55:30 -07:00
nikhiljindal 08d9e244f7 Removing some references to v1beta1 from test code 2015-04-08 17:28:06 -07:00
Daniel Smith 43ec88fda5 Merge pull request #6179 from bprashanth/ts_ttl_scheduler
Modeler uses a ttl store for assumed pods
2015-04-08 15:25:05 -07:00
Clayton Coleman 4a31da0808 Merge pull request #6579 from deads2k/deads-fix-stream
make .Stream handle error status codes
2015-04-08 18:21:06 -04:00
Prashanth Balasubramanian a7864aa230 Scheduler uses TTLStore for assumed pods 2015-04-08 15:01:04 -07:00
Vish Kannan 43949b41d4 Merge pull request #6586 from dchen1107/podstatus
small cleanup by removing useless generatePodStatus
2015-04-08 14:59:23 -07:00
Vish Kannan 094cbcc6fe Merge pull request #6074 from derekwaynecarr/reflector_last_sync_resource_version
Expose last sync resource version on reflector
2015-04-08 14:56:33 -07:00
Tobi Knaup 3efff6d4e8 kubelet syncloop should stop if/when updates chan closes 2015-04-08 14:45:16 -07:00
Dawn Chen 914616a195 Merge pull request #6592 from vishh/kubelet_logging
Improve kubelet logging around startup.
2015-04-08 14:35:53 -07:00
David Oppenheimer 4ffc2aad21 Merge pull request #6146 from kazegusuri/node_client_label
List in NodesInterface takes label selector
2015-04-08 14:22:53 -07:00
derekwaynecarr 9df41301f0 Expose last sync resource version 2015-04-08 17:09:06 -04:00
Vishnu Kannan 2b5cad6acf Improve kubelet logging around startup. This might help detect any lockup issues during startup. 2015-04-08 21:02:15 +00:00
Brian Grant c4cbc9bc46 Merge pull request #6581 from nikhiljindal/v1beta3
Moving v1beta1 kubectl examples to v1beta3
2015-04-08 14:01:57 -07:00
Dawn Chen b6d846aea5 small cleanup by removing useless generatePodStatus 2015-04-08 13:38:06 -07:00
nikhiljindal fe60be3179 Moving v1beta1 kubectl examples to v1beta3 2015-04-08 13:08:13 -07:00
gmarek c20efb6bae Add validation for Endpoints 2015-04-08 20:12:07 +02:00
deads2k dbda3f7303 make .Stream handle error status codes 2015-04-08 13:52:16 -04:00
Andy Goldstein 4c1cba5312 Don't use command pipes for exec/port forward
Switch to passing the streams for Stdin/Stdout/Stderr instead of using
StdinPipe() etc because the pipes are incompatible with Run()/Wait().
2015-04-08 13:42:42 -04:00
Yifan Gu 4b945e7218 kubelet: Remove GetRecentDockerContainersWithNameAndUUID().
Add unit tests to test the restart behaviour under different
restart policy.
2015-04-08 09:44:23 -07:00
Yifan Gu ddf323ee00 kubelet: Remove GetRecentDockerContainersWithNameAndUUID().
Always call GetPodStatus().
2015-04-08 09:44:23 -07:00
Yifan Gu 6103b144e0 kubelet: Remove GetRecentDockerContainersWithNameAndUUID().
Use the pod status to get the recent stopped containers in
shouldContainerBeRestarted().
2015-04-08 09:44:23 -07:00
Nikhil Jindal f5c66ade0a Merge pull request #6568 from piosz/doc_fix
Removed TODO comment from ContainerStatuses in PodInfo
2015-04-08 08:55:15 -07:00
Masahiro Sano d04cc5ced4 List in NodesInterface takes label selector 2015-04-08 23:41:27 +09:00
kargakis a8987b661a describe: Support resource type/name syntax
This makes `kubectl describe` resource syntax consistent with `kubectl delete`
2015-04-08 16:03:22 +02:00
Piotr Szczesniak 007e6d9ff9 Removed TODO comment from ContainerStatuses in PodInfo
Fixes #6551
2015-04-08 14:39:41 +02:00
Wojciech Tyczynski 8a5c76356c Revert "Stop the bleeding for #6059"
This reverts commit 6be09c5e97.
2015-04-08 13:29:29 +02:00
gmarek 72182735b9 Remove Node Controllers ability to pull status from Kubelet 2015-04-08 09:44:42 +02:00
Daniel Smith c1390a0836 version field selector field names in the client 2015-04-07 16:59:57 -07:00
Rohit Jnagal 71e7079aea Merge pull request #6543 from vishh/fix_fuzzer
Fix duplicate fuzz config.
2015-04-07 16:44:59 -07:00
Vishnu Kannan f4f08c3378 Fix duplicate fuzz config. 2015-04-07 23:29:24 +00:00
Tim Hockin f2c8decffe Clarify network-related flags in the master
Rename and rejigger flags to make it more obvious what is happening.  Change
the default listen from ChooseHostInterface() to 0.0.0.0.
2015-04-07 15:55:51 -07:00
Quinton Hoole c670071e87 Revert "kubelet: Remove GetRecentDockerContainersWithNameAndUUID." 2015-04-07 14:25:10 -07:00
Clayton Coleman bb137f0bba Merge pull request #6534 from deads2k/deads-kubeconfig-cmd-factory
refactor to move kubectl.cmd.Factory to kubect/cmd/util
2015-04-07 17:02:20 -04:00
Derek Carr 6eb54e73e0 Merge pull request #5270 from lavalamp/fix7
Controller framework
2015-04-07 16:58:09 -04:00
David Oppenheimer 8599564c96 Merge pull request #6535 from davidopp/master
Change default Kubelet NodeStatusUpdateFrequency from 2s to 10s.
2015-04-07 13:37:03 -07:00
Nikhil Jindal 842b9d8d3a Merge pull request #6493 from smarterclayton/make_client_pluggable
Make the client.Fake more powerful by standardizing how the fake loads data
2015-04-07 12:48:27 -07:00
David Oppenheimer d8aa57872a Change default Kubelet NodeStatusUpdateFrequency from 2s to 10s. 2015-04-07 12:36:09 -07:00
Victor Marmol cb0850d7cf Merge pull request #6527 from yujuhong/remove_unused
Remove unused code in kubelet/server_test.go
2015-04-07 12:30:39 -07:00
Vish Kannan 5ced09a06f Merge pull request #6519 from markturansky/typo_fix
Fixed typo
2015-04-07 12:15:56 -07:00
Clayton Coleman 51db3bd654 Create a new testclient package that can be backed by disk files
Standardize how our fakes are used so that a test case can use a
simpler mechanism for providing large, complex data sets, as well
as represent queries over time.
2015-04-07 14:56:15 -04:00
Yu-Ju Hong d6b4633432 Remove unused code in kubelet/server_test.go
The code creates a channel and a go routine waiting for update, which is never
used by any test. Remove the unused code.
2015-04-07 11:55:19 -07:00
deads2k 6344cf3c3a refactor to move kubectl.cmd.Factory to kubect/cmd/util 2015-04-07 14:43:50 -04:00
David Oppenheimer 402bf60366 Merge pull request #6214 from gmarek/move_consts_to_flags
Move NodeController constants to flags
2015-04-07 11:31:11 -07:00
Victor Marmol ef3cdb2f18 Merge pull request #6491 from yifan-gu/depreciate_getkubeletdockercontainers
kubelet: Refactor RunInContainer/ExecInContainer/PortForward.
2015-04-07 11:00:16 -07:00
markturansky 8f24fbc40c fixed typo 2015-04-07 12:38:09 -04:00
Vish Kannan c1ef9be261 Merge pull request #6174 from rootfs/wip-gluster
implement glusterfs volume plugin
2015-04-07 09:21:33 -07:00
Clayton Coleman 31b7f75c60 Merge pull request #6516 from ncdc/fix-exec-portforward-proxy-resource
Fix exec/portforward minions->nodes
2015-04-07 11:47:46 -04:00
Derek Carr 27c12d5160 Merge pull request #6473 from markturansky/yoko_pv_client
Added PVClaim status subresource
2015-04-07 11:39:58 -04:00
Brian Grant 530fe89726 Merge pull request #6411 from gmarek/schedulable
Remove Schedulable Condition. Only Unschedulable bit from Spec will be used.
2015-04-07 08:38:30 -07:00
Brian Grant 6e93d37fb9 Merge pull request #6232 from smarterclayton/minor_fixes_to_watch_swagger
Improve the output of the swagger API for watch events
2015-04-07 08:33:59 -07:00
Clayton Coleman 7ebceafee9 Merge pull request #6515 from you-n-g/master
RunCreate don't need the cmd arg any more
2015-04-07 11:10:08 -04:00
gmarek ef56dca6b6 Remove ConditionSchedulable 2015-04-07 17:01:07 +02:00
Clayton Coleman 7a6b2ec227 Improve the output of the swagger API for watch events
Stopgap to improve this prior to converting watch resources to
versioned objects.
2015-04-07 10:46:19 -04:00
Andy Goldstein 1c92133b77 Fix exec/portforward minions->nodes
Exec and port forward weren't working with v1beta3 because they were
proxying minions. Change minions to nodes. This appears to work with
v1beta1 and v1beta2 as well.
2015-04-07 09:48:46 -04:00
Young ad3712d07c RunCreate don't need the cmd arg any more 2015-04-07 21:39:48 +08:00
Huamin Chen a278ceeb0a implement glusterfs volume plugin
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-04-07 09:14:39 -04:00
deads2k 06c9dbd32f add example for default view serialization 2015-04-07 08:07:24 -04:00
deads2k 5c4b6583e4 fix kubectl config view to respect serialization formats 2015-04-07 08:07:24 -04:00
Cesar Wong 8df4758ee9 Pod log subresource
Adds a Log subresource to Pod storage. The Log subresource implements
rest.GetterWithOptions and produces a ResourceStreamer resource that
will stream the log output from the pod's host node.
2015-04-07 07:56:24 -04:00
Cesar Wong efc7f86baf Add GetterWithOptions and allow stream flushing
In addition to Getter interface, API Installer now supports a
GetterWithOptions interface that takes an additional options object when
getting a resource. A flag is now returned from rest.ResourceStreamer
that indicates whether the streamed response should be
flushed when written back to the client. This is to support log
streaming.
2015-04-07 07:46:30 -04:00
Cesar Wong 6dba6aa178 Add PodLogOptions versioned resource
PodLogOptions will capture options passed in to retrieve a pod's log.
2015-04-07 07:46:30 -04:00
Cesar Wong e64d7337b3 Move flushwriter from Kubelet server to a common util package
Exposes a Wrap function to wrap a given writer into a writer that
flushes with every write if the writer also implements the io.Flusher
interface.
2015-04-07 07:46:30 -04:00
Cesar Wong 58a1b308c1 Refactor storage return for pod etcd storage
Convert the return value of pods rest.NewStorage to a struct.
This will allow returning more storage objects for a pod (sub resources)
without awkwardly adding more return values.
2015-04-07 07:46:30 -04:00
gmarek 321a81047c Move NodeController constants to flags 2015-04-07 12:33:03 +02:00
gmarek 751d1d25ff Add timestamp cache to NodeController 2015-04-07 09:15:35 +02:00
Rohit Jnagal 0400339d01 Merge pull request #6494 from lavalamp/fix2
compute query parameter names in the client.
2015-04-06 18:44:45 -07:00
Yifan Gu ba1ad9fad2 kubelet: Refactor RunInContainer/ExecInContainer/PortForward.
Replace GetKubeletDockerContainers() with findContainer().
2015-04-06 17:14:46 -07:00
Daniel Smith 44bc29631e compute query parameter names in the client. 2015-04-06 16:54:26 -07:00
Vish Kannan be0feddfa5 Merge pull request #5506 from rootfs/dev
add iscsi volume plugin
2015-04-06 15:11:44 -07:00
Rohit Jnagal f2f3da15e1 Merge pull request #6370 from justinsb/aws_config_optional
Make AWS configuration file optional (fall-back to metadata service)
2015-04-06 14:29:28 -07:00
Rohit Jnagal 55fe466aca Merge pull request #6468 from derekwaynecarr/improve_test
Improve test case to ensure finalize does desired behavior
2015-04-06 14:27:40 -07:00
Victor Marmol 7716804a0d Merge pull request #6470 from yifan-gu/get_recent
kubelet: Remove GetRecentDockerContainersWithNameAndUUID.
2015-04-06 14:25:59 -07:00
Victor Marmol 3facc53cee Merge pull request #4842 from jdef/kubelet_bootstrap
allow for more easily customized kubelet creation and initialization
2015-04-06 14:20:44 -07:00
Rohit Jnagal 0e10b2a842 Merge pull request #6434 from alml/silent-watcher-close
Ignore errors after StreamWatcher is closed
2015-04-06 13:52:11 -07:00
Rohit Jnagal dbbfac3b54 Merge pull request #6479 from TamerTas/refactor
Refactor kubectl/cmd/config/getConfigFromFileOrDie
2015-04-06 13:43:44 -07:00
Huamin Chen 7a82af31de add iscsi volume plugin
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-04-06 16:20:28 -04:00
Brendan Burns afa0100e27 Copy labels from the service to endpoints that we create. 2015-04-06 13:14:54 -07:00
Tamer Tas 6d84838c0f Refactor kubectl/cmd/config/getConfigFromFileOrDie 2015-04-06 22:50:07 +03:00
Yifan Gu a8c02412b2 kubelet: Remove GetRecentDockerContainersWithNameAndUUID().
Use the pod status to get the recent stopped containers in
shouldContainerBeRestarted().
2015-04-06 12:43:49 -07:00
Brian Grant 9d9948e3a8 Change "time/Time" to "util.Time", which is what we use in our API for time. 2015-04-06 18:56:56 +00:00
James DeFelice d194af6b4f allow for more easily customized kubelet creation and initialization 2015-04-06 18:51:42 +00:00
markturansky 4e528a847a added PVClaim status subresource 2015-04-06 14:42:22 -04:00
derekwaynecarr b1dca3232f Improve test case to ensure finalize does desired behavior 2015-04-06 13:13:06 -04:00
Daniel Smith ebb982878f Merge pull request #6442 from yujuhong/node_watch
Fix the kubelet node watch
2015-04-06 09:59:57 -07:00
Rohit Jnagal bfde7e0735 Merge pull request #6429 from lavalamp/fix
Oops, let's be careful about licensing.
2015-04-06 09:20:18 -07:00
Rohit Jnagal fe735d33ac Merge pull request #6441 from smarterclayton/hide_already_exists_error
Do not log "event already exists" errors
2015-04-06 08:59:46 -07:00
markturansky ff86ae0705 Fixed RESTCreate/Update interface methods 2015-04-06 08:46:44 -04:00