Commit Graph

26292 Commits

Author SHA1 Message Date
Yu-Ju Hong
866c52c8a9 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-28 13:20:40 -08:00
Random-Liu
98283d894c dockertools: fix error exited container list in fake docker client 2016-02-28 13:19:57 -08:00
Random-Liu
96eeb812ff kubelet: clear current pod records before relist 2016-02-28 13:19:47 -08:00
Yu-Ju Hong
388689238b pleg: ensure the cache is updated whenever container are removed
Even though we don't rely on the cache for garbage collection yet, we should
keep it up-to-date.
2016-02-28 13:16:34 -08:00
k8s-merge-robot
13f6daf980 Merge pull request #22141 from AdoHe/kubectl_add_age_column
Auto commit by PR queue bot
2016-02-28 13:09:59 -08:00
k8s-merge-robot
8b19638bd0 Merge pull request #22078 from janetkuo/kill-pods-better
Auto commit by PR queue bot
2016-02-28 10:39:15 -08:00
Brian Grant
a56bbbf8bc Merge pull request #22143 from bprashanth/graceful_del
Don't double count graceful deletion
2016-02-28 08:46:52 -08:00
k8s-merge-robot
cdf456af0e Merge pull request #21520 from mikedanese/fastbuild
Auto commit by PR queue bot
2016-02-28 07:23:22 -08:00
k8s-merge-robot
1d4a9e88e0 Merge pull request #20628 from sttts/sttts-old-mergo-lib
Auto commit by PR queue bot
2016-02-28 04:24:09 -08:00
k8s-merge-robot
a0b04a6df8 Merge pull request #20281 from cilium-team/fixing-docker-d
Auto commit by PR queue bot
2016-02-28 03:51:31 -08:00
k8s-merge-robot
5ecbf4ff4a Merge pull request #22138 from bgrant0607/bugfix1
Auto commit by PR queue bot
2016-02-28 02:00:40 -08:00
Prashanth Balasubramanian
859f6b13fa Don't double count graceful deletion. 2016-02-28 00:30:57 -08:00
k8s-merge-robot
ff758bec58 Merge pull request #21750 from piosz/hpa-status-current-utilization
Auto commit by PR queue bot
2016-02-28 00:22:26 -08:00
Brian Grant
d0dd4f8a93 Restore expectation timeout to 5 minutes. Fix enqueueDeployment. Pass by reference.
Make names of ReplicaSets created by Deployment deterministic for idempotence.
Eliminate use of expectations in Deployment controller.
2016-02-28 07:33:07 +00:00
AdoHe
c56c4c87f7 kubectl add AGE column to job, ingress and daemonset 2016-02-28 00:59:01 -05:00
k8s-merge-robot
6f8a951f87 Merge pull request #20446 from derekwaynecarr/quota_scopes
Auto commit by PR queue bot
2016-02-27 19:46:42 -08:00
Mike Spreitzer
c33ceff623 Updated default k8s release to 1.1.8 in cluster/ubuntu/download-release.sh
Resolves issue #22139
2016-02-27 22:32:58 -05:00
Justin Santa Barbara
8b122b102f kube-up: Only upgrade if AUTO_UPGRADE set, but set it on AWS
Installing upgrades is kind of dangerous, so make it not the default.
But also set AUTO_UPGRADE=true on AWS.
2016-02-27 20:55:33 -05:00
Brian Grant
c768d477c3 Merge pull request #22133 from bgrant0607/bugfix1
Eliminate racy scale command from resource-alias test.
2016-02-27 17:48:35 -08:00
k8s-merge-robot
527d3e6739 Merge pull request #21728 from yifan-gu/rkt_fix_kill
Auto commit by PR queue bot
2016-02-27 17:45:44 -08:00
Justin Santa Barbara
ee58dc22d7 Merge pull request #21673 from gmarek/kube-down
Auto commit by PR queue bot
2016-02-27 19:21:18 -05:00
k8s-merge-robot
e089e841b1 Merge pull request #21593 from fabianofranz/split_bind_flags
Auto commit by PR queue bot
2016-02-27 16:10:19 -08:00
Justin Santa Barbara
2f058fc681 Merge pull request #21499 from swagiaal/count-refs-in-kubelet
Auto commit by PR queue bot
2016-02-27 18:49:08 -05:00
Brian Grant
aa04237789 Eliminate racy scale command from resource-alias test.
Fixes #22128.
2016-02-27 22:43:08 +00:00
Paul Morie
26471d5723 Remove sentinel file from atomic writer 2016-02-27 16:09:06 -05:00
Paul Morie
7a6a4fab97 Add kubectl describe output for downward API volume 2016-02-27 15:40:13 -05:00
k8s-merge-robot
8a10699942 Merge pull request #22125 from mikedanese/revert-revert-revert
Auto commit by PR queue bot
2016-02-27 11:52:24 -08:00
k8s-merge-robot
59745a4624 Merge pull request #22115 from ghodss/improve-deployment-doc
Auto commit by PR queue bot
2016-02-27 09:50:27 -08:00
k8s-merge-robot
6b8e0d45f0 Merge pull request #21349 from Random-Liu/cleanup-should-container-be-restarted
Auto commit by PR queue bot
2016-02-27 09:50:26 -08:00
k8s-merge-robot
5703945a29 Merge pull request #21361 from yujuhong/maxpods
Auto commit by PR queue bot
2016-02-27 09:18:48 -08:00
Mike Danese
a50bc3da10 revert deletePods changes in #22100 2016-02-27 08:40:50 -08:00
k8s-merge-robot
7c801f217c Merge pull request #21497 from deads2k/fix-max-in-flight
Auto commit by PR queue bot
2016-02-27 07:59:26 -08:00
k8s-merge-robot
43792754d8 Merge pull request #21469 from wojtek-t/parallel_namespace_deletion
Auto commit by PR queue bot
2016-02-27 07:26:49 -08:00
k8s-merge-robot
83b15a62e2 Merge pull request #22075 from aveshagarwal/master-hpa-example-issue
Auto commit by PR queue bot
2016-02-27 06:53:43 -08:00
k8s-merge-robot
99eaf73f0c Merge pull request #22019 from sky-uk/aws-handle-implicit-routing-tables
Auto commit by PR queue bot
2016-02-27 06:53:41 -08:00
Brian Grant
2c9e2745b6 Merge pull request #22084 from jayunit100/e2epanicreplica
Prevent panic in replica_set e2e
2016-02-27 05:12:49 -08:00
k8s-merge-robot
6b676edab8 Merge pull request #21409 from fabianofranz/fix_spdy_roundtripper_with_proxy_auth
Auto commit by PR queue bot
2016-02-27 04:37:24 -08:00
k8s-merge-robot
c4ffcbdbaa Merge pull request #21398 from liggitt/time-param
Auto commit by PR queue bot
2016-02-27 03:37:07 -08:00
k8s-merge-robot
394d5da23c Merge pull request #21319 from Clarifai/ensure-lb-servicename
Auto commit by PR queue bot
2016-02-27 02:03:14 -08:00
k8s-merge-robot
03f356edb9 Merge pull request #20669 from hongchaodeng/sched
Auto commit by PR queue bot
2016-02-27 00:58:55 -08:00
k8s-merge-robot
f0c0af2561 Merge pull request #20528 from mikedanese/varz
Auto commit by PR queue bot
2016-02-27 00:27:18 -08:00
Brian Grant
10e9bca7fb Merge pull request #21929 from janetkuo/remove-rollback-from-flaky
Remove all deployment e2e tests from flaky list
2016-02-26 23:23:13 -08:00
k8s-merge-robot
18130824b2 Merge pull request #21758 from childsb/1308588
Auto commit by PR queue bot
2016-02-26 22:33:20 -08:00
k8s-merge-robot
609e57685f Merge pull request #22099 from vishh/b-27300093
Auto commit by PR queue bot
2016-02-26 22:33:18 -08:00
k8s-merge-robot
00d99ac261 Merge pull request #20347 from ericchiang/authz_grpc
Auto commit by PR queue bot
2016-02-26 22:00:42 -08:00
k8s-merge-robot
1f9a7e2167 Merge pull request #22100 from mikedanese/grace-fix
Auto commit by PR queue bot
2016-02-26 21:29:36 -08:00
Fabio Yeon
d8070d9cc0 Merge pull request #22119 from kubernetes/revert-21175-revert-20202
Revert "Revert 20202. Use other measures to prevent race in test-cmd.sh"
2016-02-26 19:25:45 -08:00
Fabio Yeon
375b4ca8d6 Revert "Revert 20202. Use other measures to prevent race in test-cmd.sh" 2016-02-26 19:25:08 -08:00
Fabio Yeon
440c3ff31b Merge pull request #22095 from goltermann/downward
Fixes to Downward and Secrets E2E examples
2016-02-26 19:07:04 -08:00
k8s-merge-robot
6bf00949df Merge pull request #22101 from timstclair/heapster
Auto commit by PR queue bot
2016-02-26 19:04:19 -08:00