Commit Graph

13639 Commits

Author SHA1 Message Date
nikhiljindal
20ce4aed0e Adding hostname to groups discovery information 2016-02-18 11:58:11 -08:00
Andy Goldstein
49fb450a36 Fix type for DaemonSet informer 2016-02-18 14:54:39 -05:00
Yu-Ju Hong
386453a09d kubelet: fix duplicated status updates at pod cleanup
cleanupTerminatedPods is responsible for checking whether a pod has been
terminated and force a status update to trigger the pod deletion. However, this
function is called in the periodic clenup routine, which runs every 2 seconds.
In other words, it forces a status update for each non-running (and not yet
deleted in the apiserver) pod. When batch deleting tens of pods, the rate of
new updates surpasses what the status manager can handle, causing numerous
redundant requests (and the status channel to be full).

This change forces a status update only when detecting the DeletionTimestamp is
set for a terminated pod. Note that for other non-terminated pods, the pod
workers should be responsible for setting the correct status after killling all
the containers.
2016-02-18 11:01:01 -08:00
k8s-merge-robot
5acdb92126 Merge pull request #21177 from laushinka/spelling-fixes
Auto commit by PR queue bot
2016-02-18 10:29:49 -08:00
Clayton Coleman
8c27314915 Unqualified host:port pairs are valid Docker auth fields
The dockercfg and .docker/config.json files can contain host:path
combos, which are not correctly parsed by the keyring.
2016-02-18 13:18:34 -05:00
k8s-merge-robot
17325ef6ef Merge pull request #20501 from piosz/hpa-ga
Auto commit by PR queue bot
2016-02-18 06:52:39 -08:00
Fabiano Franz
5cc943d3bf SPDY roundtripper must respect InsecureSkipVerify 2016-02-18 11:48:02 -02:00
Piotr Szczesniak
c02e966d65 Applied comments from the review 2016-02-18 14:18:39 +01:00
Marcin Wielgus
1d3891284e Handle scenarios when the replica count is outside of HPA replica range 2016-02-18 13:45:03 +01:00
k8s-merge-robot
c0b3fc454e Merge pull request #21462 from gmarek/nodecontroller
Auto commit by PR queue bot
2016-02-18 02:59:01 -08:00
k8s-merge-robot
48109edc56 Merge pull request #21457 from wojtek-t/fix_cacher_test
Auto commit by PR queue bot
2016-02-18 02:59:00 -08:00
k8s-merge-robot
f618cb471f Merge pull request #20696 from janetkuo/deployment-new-rc-replicas
Auto commit by PR queue bot
2016-02-18 02:58:59 -08:00
Michail Kargakis
f4658396eb kubectl: a couple of edit fixes
Fix some edit bugs:
* Reload the file in case of syntax errors
* Fix error format for validation errors
* Avoid hotlooping in case of no changes or empty saves
2016-02-18 11:43:07 +01:00
gmarek
0d7f3bca0a Increase logging verbosity to help debugging #21458 2016-02-18 11:25:38 +01:00
Wojciech Tyczynski
20d704aa06 Fix cacher_test unit test 2016-02-18 10:25:04 +01:00
k8s-merge-robot
f0b56409cc Merge pull request #21197 from yujuhong/deleted_pod
Auto commit by PR queue bot
2016-02-18 01:02:40 -08:00
feihujiang
ac9f890238 Support the subresource of service proxy 2016-02-18 15:16:05 +08:00
k8s-merge-robot
bcabc096f2 Merge pull request #21130 from madhusudancs/daemonset-enable-default
Auto commit by PR queue bot
2016-02-17 22:54:35 -08:00
mqliang
ced5eb7a71 return early if has not synced 2016-02-18 11:56:52 +08:00
Clayton Coleman
c198367958 Add a liveness and readiness describer to pods
Also shorten the Last Termination State label so the page is denser.
2016-02-17 20:07:05 -05:00
Chao Xu
ad46715f51 generate fake client for release_1_2 2016-02-17 16:10:02 -08:00
laushinka
7ef585be22 Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
Janet Kuo
1a5dd9f14f Use IntPtr 2016-02-17 15:08:50 -08:00
Phillip Wittrock
6435d03400 Merge pull request #21346 from janetkuo/delete-deployment-flake
When reaping deployments, retry deployment Update
2016-02-17 15:07:58 -08:00
Madhusudan.C.S
ab1e9c200f Graduate DaemonSet to v1beta1 API, enable it by default. 2016-02-17 15:03:12 -08:00
Phillip Wittrock
1e5175594d Fix volume secret_test.go on darwin by not checking volume usage metrics 2016-02-17 12:56:37 -08:00
Yu-Ju Hong
7061ba20bb Fix finding pid of a process 2016-02-17 12:43:16 -08:00
Tim St. Clair
225f903ccf Move stats summary types to a new kubelet/api package to avoid unnecessary dependencies 2016-02-17 10:53:25 -08:00
deads2k
8c326993d5 only load kubeconfig files one time 2016-02-17 12:55:28 -05:00
k8s-merge-robot
ef505d8fa3 Merge pull request #19771 from derekwaynecarr/field_selector
Auto commit by PR queue bot
2016-02-17 09:20:40 -08:00
k8s-merge-robot
0866c377e9 Merge pull request #18010 from feihujiang/supportSubresourceOfNodeProxy
Auto commit by PR queue bot
2016-02-17 08:15:50 -08:00
k8s-merge-robot
1a2f811a3b Merge pull request #20063 from mqliang/imageGC-config
Auto commit by PR queue bot
2016-02-17 06:16:45 -08:00
k8s-merge-robot
e92f5890aa Merge pull request #21360 from vishh/21252
Auto commit by PR queue bot
2016-02-17 05:00:25 -08:00
Michail Kargakis
55f402c5a6 kubectl: use the factory properly for recording commands 2016-02-17 12:16:19 +01:00
Jordan Liggitt
d575a954fa Tolerate individual NotFound errors in DeleteCollection 2016-02-17 00:06:44 -05:00
Clayton Coleman
778fb1798b Don't print reason or message if they are empty on pods
For running pods they are typically empty and convey no value. Don't
print images twice.
2016-02-16 23:26:59 -05:00
AdoHe
10feb3e6fd change CONTROLLER, ReplicaSet and Job column titles to NAME 2016-02-16 23:14:12 -05:00
Janet Kuo
fe4bf6ff5c When syncRecreateDeployment, don't create a new RS before scaling down 2016-02-16 18:05:44 -08:00
Janet Kuo
e9262df456 Scale up early when deployment creates new Replica set 2016-02-16 18:05:44 -08:00
Vishnu kannan
8d0370ede3 Do not set container runtime health check until on kubelet init.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-16 16:40:48 -08:00
Vishnu kannan
7de6a25383 Identify runtime's cgroups periodically to avoid race with runtime
uptime.
The runtime could also move between cgroups.

Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-16 16:39:48 -08:00
Vishnu kannan
2623fdde17 Improve the naming of fields in ContainerImage struct used in NodeStatus.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-16 15:45:22 -08:00
k8s-merge-robot
3616b4bfec Merge pull request #21044 from mqliang/deployment-util
Auto commit by PR queue bot
2016-02-16 15:33:26 -08:00
Janet Kuo
92eb075a2b When reaping deployments, retry deployment Update 2016-02-16 15:12:38 -08:00
Alex Robinson
58ab75a69a Merge pull request #21292 from gtank/typo-fix
Fix comment typo
2016-02-16 13:58:45 -08:00
derekwaynecarr
76f2cc6a11 Add field selector for pod.spec.restartPolicy 2016-02-16 16:51:42 -05:00
k8s-merge-robot
8081956be3 Merge pull request #21325 from caesarxuchao/coding-conventions
Auto commit by PR queue bot
2016-02-16 13:00:13 -08:00
Paul Weil
6cf26a41c0 include discovery client in adaptor 2016-02-16 15:21:19 -05:00
Chao Xu
97aecd002a remove underscore in imported pkg names 2016-02-16 10:54:51 -08:00
k8s-merge-robot
6c638b5f3f Merge pull request #21100 from madhusudancs/daemonset-validation-change-confusing-varnames
Auto commit by PR queue bot
2016-02-16 09:52:57 -08:00