Commit Graph

25371 Commits

Author SHA1 Message Date
Yu-Ju Hong
a68f534264 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-23 01:03:04 -08:00
Random-Liu
da99f672fc Fix bug in fake docker client 2016-02-23 00:59:15 -08:00
k8s-merge-robot
b034050f6a Merge pull request #21725 from spxtr/remove-e2e-from-release
Auto commit by PR queue bot
2016-02-23 00:49:32 -08:00
k8s-merge-robot
84e5cabdf7 Merge pull request #21642 from mitake/remove-kube-dump
Auto commit by PR queue bot
2016-02-23 00:49:31 -08:00
k8s-merge-robot
be623ae3fa Merge pull request #18562 from fgimenez/added-missing-juju-dependency-to-doc
Auto commit by PR queue bot
2016-02-23 00:49:29 -08:00
k8s-merge-robot
3a12b03710 Merge pull request #21448 from timstclair/worker-race
Auto commit by PR queue bot
2016-02-23 00:49:28 -08:00
k8s-merge-robot
599af17e0d Merge pull request #21685 from gmarek/resource-usage
Auto commit by PR queue bot
2016-02-23 00:16:21 -08:00
k8s-merge-robot
2acae62709 Merge pull request #21683 from justinsb/fix_20912
Auto commit by PR queue bot
2016-02-22 23:45:45 -08:00
k8s-merge-robot
5d4007f2fa Merge pull request #21644 from thibserot/dns2
Auto commit by PR queue bot
2016-02-22 23:45:44 -08:00
k8s-merge-robot
0afbc71f31 Merge pull request #21030 from janetkuo/deployment-label-adopted
Auto commit by PR queue bot
2016-02-22 23:45:42 -08:00
Brian Grant
7662a5ee54 Merge pull request #21734 from janetkuo/rollover-flake
Wait for pods to become available before rolling over in deployment e2e test
2016-02-22 20:15:33 -08:00
Phillip Wittrock
a3623c0c14 Refactor node e2e tests
- Add Makefile targets
- Start services in the test harness and connect locally
- Build test into binary and copy to remote host to start services
- Use tar to copy binaries to remote hosts to simplify design
2016-02-22 20:06:15 -08:00
Janet Kuo
ecce9492cc Wait for pods to become available before rolling over in deployment e2e test 2016-02-22 18:36:39 -08:00
Minhan Xia
973b01ee29 fix cascading backoff 2016-02-22 18:25:42 -08:00
Brian Grant
f4de3ea676 Merge pull request #21710 from janetkuo/flake-event-order
Don't rely on events in deployment rollback e2e test
2016-02-22 17:54:07 -08:00
Prashanth B
c833a14898 Merge pull request #21727 from dchen1107/test
Remove potential corrupted docker network checkpoint file before star…
2016-02-22 17:52:16 -08:00
Janet Kuo
4369a21969 Log deployment, RSes and pods on waitForDeploymentStatus timeout / condition mismatch 2016-02-22 17:29:44 -08:00
Dawn Chen
d922ddef8c Remove potential corrupted docker network checkpoint file before start docker
again.
2016-02-22 17:08:31 -08:00
Joe Finney
454cec71e8 Remove hack/e2e-from-release.sh. 2016-02-22 16:45:29 -08:00
Brian Grant
6cecf2b357 Merge pull request #21715 from janetkuo/remove-racy-check
Remove racy check in waitForDeploymentStatus; wait for underlying resources to reach the desired state instead
2016-02-22 16:22:14 -08:00
k8s-merge-robot
be68276db0 Merge pull request #21708 from spxtr/fix-trusty
Auto commit by PR queue bot
2016-02-22 16:16:54 -08:00
k8s-merge-robot
789fd731d2 Merge pull request #21686 from justinsb/aws_kubeup_build_config_early
Auto commit by PR queue bot
2016-02-22 16:16:53 -08:00
k8s-merge-robot
8afccef608 Merge pull request #21632 from justinsb/docker_191
Auto commit by PR queue bot
2016-02-22 16:16:51 -08:00
Dawn Chen
84e5ea9940 Merge pull request #21518 from jlowdermilk/node-labels
Plumb node labels through salt
2016-02-22 16:11:01 -08:00
Jeff Lowdermilk
c406665b2b Plumb node labels through salt
Expose node-labels flag on kubelet for gce via a startup script
env var.
2016-02-22 15:31:34 -08:00
Joe Finney
892c8e5153 Comment upgrade YAML. 2016-02-22 15:16:56 -08:00
Dawn Chen
699c80b752 Merge pull request #21641 from bprashanth/promisc
Teach the kubelet about promiscuous mode, take 2
2016-02-22 15:08:18 -08:00
Dawn Chen
201d60b426 Merge pull request #21440 from bprashanth/glbc_name
Add image version to glbc name.
2016-02-22 14:48:48 -08:00
Janet Kuo
d2c9d51999 Remove racy check in waitForDeploymentStatus; wait for underlying resources to reach the desired state instead 2016-02-22 14:47:38 -08:00
Janet Kuo
3901423272 Report actual replicas in deployment status 2016-02-22 14:28:28 -08:00
Dawn Chen
1e680c9d94 Merge pull request #21158 from kubernetes/milestone-doc
Add milestone tag clarifications
2016-02-22 14:11:45 -08:00
k8s-merge-robot
fb2a209ed7 Merge pull request #21221 from yifan-gu/rkt_doc
Auto commit by PR queue bot
2016-02-22 14:02:54 -08:00
Janet Kuo
eaa4eb10aa Don't rely on events in deployment rollback e2e test 2016-02-22 13:51:51 -08:00
Dawn Chen
b58826292a Merge pull request #21703 from dchen1107/test
Make sure docker is properly shutdown before startup.
2016-02-22 13:35:24 -08:00
Joe Finney
1dea4052b9 Properly set runner for trusty gce jobs. 2016-02-22 13:30:49 -08:00
Jordan Liggitt
92bf353496 Ensure created service account tokens are available to the token controller 2016-02-22 16:22:51 -05:00
Dawn Chen
6c5f07d58e Make sure docker is properly shutdown before startup. 2016-02-22 12:57:42 -08:00
Joe Finney
cb55119723 Move upgrade environment variables to YAML. 2016-02-22 11:48:04 -08:00
Yifan Gu
b3ed1b633f docs/rkt: Document the different UX. 2016-02-22 11:46:02 -08:00
Andy Goldstein
03d926c2a7 Fix kubectl timeout test flake in e2e/portforward
Instead of using `kubectl logs -f` and waiting for it to terminate when the container/pod stopped,
switch to explicitly waiting for the pod to stop and then get the pod logs without -f to avoid
hanging.
2016-02-22 14:39:20 -05:00
Prashanth Balasubramanian
804903f320 Move ingress tests to a different project. 2016-02-22 11:35:01 -08:00
k8s-merge-robot
6a199706cb Merge pull request #21423 from ihmccreery/version-guard-deployments
Auto commit by PR queue bot
2016-02-22 11:04:51 -08:00
k8s-merge-robot
347a509744 Merge pull request #21226 from justinsb/aws_jessie_image
Auto commit by PR queue bot
2016-02-22 11:04:49 -08:00
k8s-merge-robot
818aaaa5c1 Merge pull request #21201 from erictune/mac-unit-test
Auto commit by PR queue bot
2016-02-22 11:04:47 -08:00
Janet Kuo
4699a6d8a2 Address comments; fix test failure 2016-02-22 10:58:54 -08:00
Janet Kuo
dc78af948e Address comments; fix incorrect hash 2016-02-22 10:58:54 -08:00
Janet Kuo
0e5da8460d Address comments 2016-02-22 10:58:54 -08:00
Janet Kuo
14bab2bb3a Address comments 2016-02-22 10:58:54 -08:00
Janet Kuo
11fdbff97f Address comments; fix test failures; add e2e tests; update RS's label too 2016-02-22 10:58:54 -08:00
Janet Kuo
da58172283 Ensure Deployment labels adopted ReplicaSets and pods 2016-02-22 10:58:54 -08:00