kubernetes/pkg
k8s-merge-robot ac17b239b6 Merge pull request #29145 from yifan-gu/no_chtime
Automatic merge from submit-queue

rkt: Don't return if the service file doesn't exist when killing the pod

Remove an unused logic. Also this prevents the KillPod() from failing
when the service file doesn't exist. E.g., it can be removed by garbage
collection in a rare case:

1, There are already more than `gcPolicy.MaxContainers` containers running
   on the host.
2, The new pod(A) starts to run but doesn't enter 'RUNNING' state yet.
3, GC is triggered, and it sees the pod(A) is in an inactive state (not running),
   and the it needs to remove the pod to force the `gcPolicy.MaxContainers`.
4, GC fails to remove the pod because `rkt rm` fails when the pod is running,
   but it removes the service file anyway.
5, Follow up KillPod() call will fail because it cannot find the service file
   on disk.

Also this is possible only when the pod has been in prepared state for longer
than 1 min, which sounds like another issue.

cc @kubernetes/sig-rktnetes
2016-07-21 05:20:15 -07:00
..
admission Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
api Revert "add tokenreviews endpoint to implement webhook" 2016-07-21 09:40:35 +02:00
apimachinery Use Go canonical import paths 2016-07-16 13:48:21 -04:00
apis Revert "add tokenreviews endpoint to implement webhook" 2016-07-21 09:40:35 +02:00
apiserver Fix update validation for pods w/init containers. 2016-07-20 00:30:12 +03:00
auth Merge pull request #28281 from nhlfr/authorize-return-bool 2016-07-18 21:40:26 -07:00
capabilities Use Go canonical import paths 2016-07-16 13:48:21 -04:00
client Revert "add tokenreviews endpoint to implement webhook" 2016-07-21 09:40:35 +02:00
cloudprovider Merge pull request #29268 from lixiaobing10051267/masterExpected2 2016-07-20 11:11:51 -07:00
controller Merge pull request #29133 from deads2k/priority-queue 2016-07-21 04:46:59 -07:00
conversion Use Go canonical import paths 2016-07-16 13:48:21 -04:00
credentialprovider Merge pull request #28871 from vishh/gce-cp 2016-07-18 14:32:04 -07:00
dns Use Infof/Warningf when appropriate 2016-07-19 12:10:53 -04:00
fieldpath Use Go canonical import paths 2016-07-16 13:48:21 -04:00
fields Use Go canonical import paths 2016-07-16 13:48:21 -04:00
genericapiserver Merge pull request #29102 from ping035627/ping035627-patch-0719 2016-07-20 23:31:17 -07:00
healthz Use Go canonical import paths 2016-07-16 13:48:21 -04:00
httplog Use Go canonical import paths 2016-07-16 13:48:21 -04:00
hyperkube Use Go canonical import paths 2016-07-16 13:48:21 -04:00
kubectl Revert "add tokenreviews endpoint to implement webhook" 2016-07-21 09:40:35 +02:00
kubelet Merge pull request #29145 from yifan-gu/no_chtime 2016-07-21 05:20:15 -07:00
kubemark Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
labels Use Go canonical import paths 2016-07-16 13:48:21 -04:00
master Revert "add tokenreviews endpoint to implement webhook" 2016-07-21 09:40:35 +02:00
metrics Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
probe pkg/probe/http: don't compare error strings in tests 2016-07-19 11:13:36 -07:00
proxy Use Go canonical import paths 2016-07-16 13:48:21 -04:00
quota Use Go canonical import paths 2016-07-16 13:48:21 -04:00
registry Revert "add tokenreviews endpoint to implement webhook" 2016-07-21 09:40:35 +02:00
runtime Merge pull request #29042 from dims/fixup-imports 2016-07-18 07:23:38 -07:00
security Use Go canonical import paths 2016-07-16 13:48:21 -04:00
securitycontext Use Go canonical import paths 2016-07-16 13:48:21 -04:00
serviceaccount Check for valid serviceaccount JWT token before inspecting claims 2016-07-06 14:25:15 -04:00
ssh Revert "Add a customized ssh dialer that will timeout" 2016-07-14 08:48:24 +02:00
storage Use Go canonical import paths 2016-07-16 13:48:21 -04:00
types Use Go canonical import paths 2016-07-16 13:48:21 -04:00
ui Use Go canonical import paths 2016-07-16 13:48:21 -04:00
util Merge pull request #28939 from saad-ali/fixIssue28616ParallelMount 2016-07-20 14:56:58 -07:00
version Use Go canonical import paths 2016-07-16 13:48:21 -04:00
volume Allow mounts to run in parallel for non-attachable 2016-07-19 21:54:26 -07:00
watch Use Go canonical import paths 2016-07-16 13:48:21 -04:00
OWNERS Remove bgrant from pkg/OWNERS and pkg/kubectl/OWNERS since he has plenty to do. 2016-06-16 08:21:27 -07:00