Commit Graph

9513 Commits

Author SHA1 Message Date
Clayton Coleman
1220464f2a Exclude new groupversion types from protobuf 2016-01-05 22:57:33 -05:00
k8s-merge-robot
38f926dbb9 Merge pull request #19206 from Random-Liu/remove-wired-docker-label
Auto commit by PR queue bot
2016-01-05 19:32:01 -08:00
k8s-merge-robot
66d3cbf889 Merge pull request #16900 from madhusudancs/avoid-kubelet-oscillation
Auto commit by PR queue bot
2016-01-05 17:14:13 -08:00
Minhan Xia
17d0074df6 Merge pull request #19302 from yujuhong/fix_restarts
Fix container restarts caused by kubelet restarts
2016-01-05 16:27:41 -08:00
Random-Liu
884dc5c9e5 Put TerminationGracePeriod, DeletionGracePeriod and PreStopHandler to docker labels 2016-01-05 15:45:29 -08:00
k8s-merge-robot
8b72fff9c0 Merge pull request #19259 from gmarek/small-fix
Auto commit by PR queue bot
2016-01-05 15:13:03 -08:00
Yu-Ju Hong
343240d559 Fix container restarts caused by kubelet restarts
There has been a recent regression causing kubelet to assume no containers are
running for the pod if kubelet has not seen the pod before. This would cause
all containers to be restarted after kubelet gets restarted. This change fixes
the bug.
2016-01-05 14:24:22 -08:00
Quinton Hoole
e663dbc302 Merge pull request #17733 from tpounds/aws-sdk-v1.0.2
Update aws-sdk-go to v1.0.x
2016-01-05 13:02:23 -08:00
k8s-merge-robot
d30f99b377 Merge pull request #18946 from smarterclayton/httplog
Auto commit by PR queue bot
2016-01-04 21:34:09 -08:00
k8s-merge-robot
4a89481fbb Merge pull request #19034 from Random-Liu/deprecate-running-pod-in-syncpod
Auto commit by PR queue bot
2016-01-04 18:51:18 -08:00
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
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
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
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