Commit Graph

9556 Commits (76e8a8b08df5d4d8b59127abb3d0ebdc96cbf57a)

Author SHA1 Message Date
k8s-merge-robot 57d135e2af Merge pull request #19017 from yujuhong/relist_latency
Auto commit by PR queue bot
2016-01-04 18:17:38 -08:00
Yifan Gu 2767f10b61 rkt: refactoring on constructing the app section of rkt pods. 2016-01-04 16:27:52 -08:00
Trevor Pounds bbc181d1f8 Remove unused EC2 metadata functions. 2016-01-04 16:10:23 -08:00
Trevor Pounds 89d7eb050a Update AWS cloud provider to aws-sdk-go v1.0.2. 2016-01-04 16:10:23 -08:00
k8s-merge-robot 9c5ede63fc Merge pull request #19274 from krousey/apiserver_flake
Auto commit by PR queue bot
2016-01-04 16:08:29 -08:00
Kris 552e998b1e Fix a premature server shutdown error
Sometimes the test server would close down the TCP socket before all
requests could finish.
2016-01-04 15:31:01 -08:00
Nikhil Jindal af9834ea75 Merge pull request #19040 from nikhiljindal/serverLibrary
api server library: moving API registration logic to generic api server
2016-01-04 14:31:33 -08:00
Tim St. Clair 40e90886e6 Add micro- and nano- suffixes 2016-01-04 14:08:24 -08:00
Madhusudan.C.S 059c2aa799 Mitigate node out of disk status oscillation by delaying it.
Implement a flag that defines the frequency at which a node's out of
disk condition can change its status. Use this flag to suspend out of
disk status changes in the time period specified by the flag, after
the status is changed once.

Set the flag to 0 in e2e tests so that we can predictably test out of
disk node condition.

Also, use util.Clock interface for all time related functionality in
the kubelet. Calling time functions in unversioned package or time
package such as unversioned.Now() or time.Now() makes it really hard
to test such code. It also makes the tests flaky and sometimes
unnecessarily slow due to time.Sleep() calls used to simulate the
time elapsed. So use util.Clock interface instead which can be faked
in the tests.
2016-01-04 12:23:38 -08:00
Yu-Ju Hong 7d180b337b Record pleg pod relist interval and latency
Relisting latency/interval affects how quick kubelet discovers changes. Record
the metrics in Prometheus to surface such information.
2016-01-04 10:56:38 -08:00
Marek Grabowski 4606171ad0 Merge pull request #19187 from wojtek-t/add_sleep_in_etcd_server
Add sleep to EtcdTestServer Terminate.
2016-01-04 19:29:34 +01:00
Random-Liu 2ea11690b8 Remove running pod from SyncPod() of container runtime 2016-01-04 10:18:46 -08:00
k8s-merge-robot cd097e3f86 Merge pull request #19088 from smarterclayton/separate_service_account
Auto commit by PR queue bot
2016-01-04 08:38:24 -08:00
gmarek 93b180e81f Small cleanup to wait_test.go 2016-01-04 17:11:43 +01:00
k8s-merge-robot 7d04257c8b Merge pull request #17078 from justinsb/remove_route_blackhole
Auto commit by PR queue bot
2016-01-04 07:45:38 -08:00
k8s-merge-robot f293dff556 Merge pull request #19234 from wojtek-t/fix_test_poll_2
Auto commit by PR queue bot
2016-01-04 02:35:50 -08:00
Rudi Chiarito ea56e508f0 Fix: deal properly with tc qdisc show returning "noqueue" 2016-01-03 23:44:18 -05:00
Justin Santa Barbara 7444216d4f AWS: Delete routes during create if they are black-holed
If a route already exists but is invalid (e.g. from a crash), we
automatically delete it before trying to create a route that would
otherwise conflict.
2016-01-03 18:19:12 -05:00
Ravi Sankar Penta d0dd6c844b Allow node IP to be passed as optional config for kubelet
In case of multiple IPs on the node, this will allow admin to
specify desired IP to be used for the node.
2016-01-03 09:29:07 -08:00
Wojciech Tyczynski 1ad524ac24 Fix wait_test flakes 2016-01-03 09:56:57 +01:00
Wojciech Tyczynski c8ad31161b Workaround races while closing etcd server. 2016-01-03 08:48:39 +01:00
k8s-merge-robot 05609cbf44 Merge pull request #19220 from thockin/validation-field-caps
Auto commit by PR queue bot
2016-01-02 12:39:09 -08:00
Wojciech Tyczynski ab58e72333 Merge pull request #19226 from wojtek-t/fix_test_poll
Fix TestPoll test
2016-01-02 17:12:20 +01:00
Wojciech Tyczynski 84e2d6c3d3 Fix TestPoll test 2016-01-02 14:48:30 +01:00
k8s-merge-robot 4f65f68a12 Merge pull request #19182 from thockin/kube-proxy-conntrack-max
Auto commit by PR queue bot
2016-01-02 02:36:18 -08:00
k8s-merge-robot 267687932f Merge pull request #17916 from justinsb/multizone_volumes_aws
Auto commit by PR queue bot
2016-01-01 18:59:30 -08:00
Wojciech Tyczynski 5abdc2e944 Updage auto-generated files 2016-01-01 11:47:29 +01:00
Tim Hockin 708fda2683 field paths are JSON-style 2015-12-31 15:37:12 -08:00
Justin Santa Barbara f9a6ac077e Ubernetes Lite: Volumes can dictate zone scheduling
For AWS EBS, a volume can only be attached to a node in the same AZ.
The scheduler must therefore detect if a volume is being attached to a
pod, and ensure that the pod is scheduled on a node in the same AZ as
the volume.

So that the scheduler need not query the cloud provider every time, and
to support decoupled operation (e.g. bare metal) we tag the volume with
our placement labels.  This is done automatically by means of an
admission controller on AWS when a PersistentVolume is created backed by
an EBS volume.

Support for tagging GCE PVs will follow.

Pods that specify a volume directly (i.e. without using a
PersistentVolumeClaim) will not currently be scheduled correctly (i.e.
they will be scheduled without zone-awareness).
2015-12-31 12:27:01 -05:00
k8s-merge-robot 7743a4ca89 Merge pull request #19215 from Random-Liu/Reformat-TODOs
Auto commit by PR queue bot
2015-12-31 01:43:36 -08:00
Random-Liu b2a72ca384 Change my TODO to be the same with others 2015-12-31 00:41:05 -08:00
Wojciech Tyczynski 60fc2bc09e Fix cacher_test flake 2015-12-31 07:53:41 +01:00
Tim Hockin da0ac31182 Set conntrack params in kube-proxy
Add flags to control max connections (set to 256k vs 64k default) and TCP
established timeout (set to 1 day vs 5 day default).  Flags can be set to 0 to
mean "don't change it".

This is only set at startup, and not wrapped in a rectifier loop.

Tested manually.
2015-12-30 15:46:40 -08:00
nikhiljindal 87ce093c77 Moving API registration logic to generic api server 2015-12-30 14:22:14 -08:00
k8s-merge-robot 712fcf1c63 Merge pull request #15939 from mqliang/waitgroup
Auto commit by PR queue bot
2015-12-30 12:25:01 -08:00
Wojciech Tyczynski 5a3dbedf3e Merge pull request #19203 from wojtek-t/logging_for18928
Extend logging for debugging #18794 purposes
2015-12-30 21:00:26 +01:00
Wojciech Tyczynski 65696989b2 Extend logging for debugging 18928 2015-12-30 20:09:05 +01:00
k8s-merge-robot 558f69e613 Merge pull request #19196 from wojtek-t/fix_wait_test
Auto commit by PR queue bot
2015-12-30 07:54:05 -08:00
k8s-merge-robot 7113cfe57f Merge pull request #19195 from wojtek-t/fix_master_test
Auto commit by PR queue bot
2015-12-30 07:21:02 -08:00
k8s-merge-robot 9287a108a4 Merge pull request #18156 from wojtek-t/use_new_deep_copies
Auto commit by PR queue bot
2015-12-30 05:11:02 -08:00
Wojciech Tyczynski 6d33d28de8 Fix wait_test flakes 2015-12-30 14:05:46 +01:00
Wojciech Tyczynski 9ada897057 Fix master_test flake 2015-12-30 13:49:43 +01:00
Yifan Gu 9b81b67879 rkt: Move image related functions to image.go 2015-12-29 17:17:27 -08:00
k8s-merge-robot cf359053f0 Merge pull request #19047 from smarterclayton/avoid_reflection_during_convert
Auto commit by PR queue bot
2015-12-29 13:49:10 -08:00
k8s-merge-robot 356487c951 Merge pull request #18101 from brendandburns/kubectl6
Auto commit by PR queue bot
2015-12-29 12:43:42 -08:00
Wojciech Tyczynski baf97c9c5e First use of new deep-copy generator. 2015-12-29 18:06:09 +01:00
Clayton Coleman 4d672c37b8 Updated conversions to be public 2015-12-29 10:40:38 -05:00
Clayton Coleman 3c1451af91 Use public conversion methods to avoid reflection
Replace many of the remaining s.Convert() invocations with direct
execution, and make generated methods public. Removes 10% of the
allocations during decode of a pod and ~20-40% of the total CPU time.
2015-12-29 10:38:42 -05:00
k8s-merge-robot fec5206f1a Merge pull request #13840 from nelcy/master
Auto commit by PR queue bot
2015-12-28 23:55:32 -08:00
k8s-merge-robot 03b3b61565 Merge pull request #19145 from Random-Liu/cleanup-pod-print
Auto commit by PR queue bot
2015-12-28 17:50:44 -08:00
k8s-merge-robot 58ae1a42de Merge pull request #19063 from gmarek/use-metrics
Auto commit by PR queue bot
2015-12-28 15:10:56 -08:00
Random-Liu 6e92ddf9e1 Cleanup pod print in dockertools/manager.go, prober/prober.go and
runonce.go
2015-12-28 14:07:37 -08:00
Wojciech Tyczynski 05b60a30cf Fix flakes in cacher_test 2015-12-28 15:28:07 +01:00
k8s-merge-robot 25f5daa0e2 Merge pull request #19135 from wojtek-t/close_watch_in_generic_registry
Auto commit by PR queue bot
2015-12-28 05:36:11 -08:00
k8s-merge-robot 1e19011f9a Merge pull request #19133 from wojtek-t/cleanup_logs
Auto commit by PR queue bot
2015-12-28 05:36:08 -08:00
k8s-merge-robot 451f4bdbc2 Merge pull request #19130 from wojtek-t/fix_stop_cacher
Auto commit by PR queue bot
2015-12-28 03:45:34 -08:00
Wojciech Tyczynski 1803a11557 Get rid of rubbish logs from serialization_test 2015-12-28 12:13:07 +01:00
gmarek 2dcafa3854 Add a flag that will make test gather metrics from all running components after the test finishes. 2015-12-28 12:10:39 +01:00
k8s-merge-robot c36226bc39 Merge pull request #19058 from gmarek/more-metrics
Auto commit by PR queue bot
2015-12-28 03:09:23 -08:00
Wojciech Tyczynski 8dc83547b0 Close watch in generic etcd_test 2015-12-28 11:43:20 +01:00
Wojciech Tyczynski ec70eb16f3 Graceul termination in Cacher 2015-12-28 10:54:21 +01:00
Wojciech Tyczynski 0b7dce9505 Fix a bug in etcd_watcher_test 2015-12-28 10:43:33 +01:00
gmarek 2c6c8d8371 Finish MetricsGrabber 2015-12-28 09:19:40 +01:00
Clayton Coleman 9dad7e624c Split the serviceaccount package into two parts
Public utility methods and JWT parsing, and controller specific logic.
Also remove the coupling between ServiceAccountTokenGetter and the
authenticator class.
2015-12-26 21:28:12 -05:00
Clayton Coleman 3d5ed379b0 authn.go doesn't belong in pkg/apiserver
apiserver does not need to know about specific authentication
mechanisms, and does not need to take dependencies on all the
authentication packages.
2015-12-26 21:22:22 -05:00
mqliang 7d87a1de99 create and delete concurrently 2015-12-26 21:30:31 +08:00
k8s-merge-robot 500493a3ac Merge pull request #18925 from caesarxuchao/refactor-registration
Auto commit by PR queue bot
2015-12-24 15:19:36 -08:00
k8s-merge-robot 21c01c05e3 Merge pull request #18902 from deads2k/gv-partial
Auto commit by PR queue bot
2015-12-24 01:42:59 -08:00
k8s-merge-robot 16e1de6db6 Merge pull request #18859 from deads2k/gv-grab-bag
Auto commit by PR queue bot
2015-12-23 23:57:24 -08:00
Chao Xu ad484c79f7 pass runtime.Scheme as parameter to AddToScheme 2015-12-23 23:21:35 -08:00
Chao Xu 2b5b708b70 Refactor the API registration and installation 2015-12-23 22:44:25 -08:00
k8s-merge-robot be235e8754 Merge pull request #18940 from smarterclayton/nil_body
Auto commit by PR queue bot
2015-12-23 18:02:03 -08:00
Chakravarthy Nelluri fa76de79e5 Add support for flex volume. Flex volume adds support for thirdparty(vendor)
volumes and custom mounts.
2015-12-23 14:11:38 -08:00
k8s-merge-robot 344d4bb5fa Merge pull request #18798 from yifan-gu/rkt_bump
Auto commit by PR queue bot
2015-12-23 13:37:36 -08:00
k8s-merge-robot 05a1295085 Merge pull request #18714 from gmarek/metrics-grabber
Auto commit by PR queue bot
2015-12-23 10:30:06 -08:00
k8s-merge-robot ac0ce7257b Merge pull request #18702 from wojtek-t/remove_unversioned_selectors
Auto commit by PR queue bot
2015-12-23 09:51:53 -08:00
k8s-merge-robot c3fcfd9651 Merge pull request #17881 from jiangyaoguo/emit-event-when-delete-pod
Auto commit by PR queue bot
2015-12-23 07:01:54 -08:00
Marek Grabowski e5d4663dd8 Merge pull request #19013 from wojtek-t/eliminate_rubish_logs
Eliminate rubbish logs in pkg/conversion tests
2015-12-23 08:43:31 +01:00
Marek Grabowski cf69083697 Merge pull request #19031 from mikedanese/fix-flake
fix flake in deployment unit test
2015-12-23 08:38:13 +01:00
Mike Danese b2aa98f50d fix flake in deployment unit test 2015-12-22 14:28:44 -08:00
Mike Danese da8b85e5c7 Merge pull request #18858 from jayunit100/overlogging-rclient
Minimize log level for request backoffs
2015-12-22 14:08:06 -08:00
Mike Danese bee582293c Merge pull request #19010 from wojtek-t/debug_watcher_test
Fix etcdWatcher test
2015-12-22 14:07:41 -08:00
Yifan Gu 644aa9536a rkt: Remove pod_info.go, clean up codes that not needed anymore. 2015-12-22 12:02:25 -08:00
Yifan Gu ee7251ed10 rkt: Update for newest api version. 2015-12-22 12:02:25 -08:00
Yifan Gu 278f0dc8ad rkt: Replace image cat-manifest/list with api calls. 2015-12-22 12:02:25 -08:00
Clayton Coleman 11af69da78 Ensure DeleteOptions is registered to other groups
The version of DeleteOptions supported by v1beta1 extensions and
v1alpha1 metrics is the v1 core group version.
2015-12-22 14:29:15 -05:00
Clayton Coleman 6d4612c8d2 Remove redundant / complex client code 2015-12-22 14:29:15 -05:00
Brendan Burns 4123a61df7 Add the client side bits of kubectl export 2015-12-22 10:41:59 -08:00
Brendan Burns ac5c0aaba7 Merge pull request #17883 from jimmidyson/cadvisor-bump-0.19.4
Bump cadvisor to fix interface stats bugs & improve performance
2015-12-22 10:34:46 -08:00
Brendan Burns b6ca92127d Merge pull request #16980 from jackgr/force_apply
Implement conflict detection in strategic merge patch
2015-12-22 10:33:35 -08:00
Wojciech Tyczynski 9f35eebb81 Fix timeout in etcdwatcher tests 2015-12-22 16:56:54 +01:00
jay vyas 4891d827ac Delete extra logs, especially to prevent kubelet which makes many clients, from overlogging. 2015-12-22 10:38:24 -05:00
Wojciech Tyczynski 55747ec1ce Eliminate rubbish logs in pkg/conversion test 2015-12-22 16:07:30 +01:00
Wojciech Tyczynski 8cd50dd005 Fix etcdWatcher test 2015-12-22 15:40:52 +01:00
Filip Grzadkowski d20ab89bd6 Merge pull request #19006 from wojtek-t/wait_on_stop_watch
Fix race in watch tests - attempt 3
2015-12-22 14:28:40 +01:00
Wojciech Tyczynski 41c7835039 Fix race in watch tests 2015-12-22 13:21:02 +01:00
k8s-merge-robot 390e91793f Merge pull request #18918 from smarterclayton/conversion_import
Auto commit by PR queue bot
2015-12-22 04:20:30 -08:00
gmarek 9dbbc4e1df Add a tool for grabbing and parsing prometheus metrics 2015-12-22 12:33:37 +01:00
Wojciech Tyczynski 4aa2121a8e Remove dead code 2015-12-22 11:07:22 +01:00
Wojciech Tyczynski e108a32b08 Merge pull request #18655 from wojtek-t/versioned_list_options_in_server
Switch to versioned ListOptions in server.
2015-12-22 10:57:09 +01:00