{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/24843","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/24843/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/24843/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/24843/events","html_url":"https://github.com/kubernetes/kubernetes/pull/24843","id":151291731,"number":24843,"title":"Allow KillPod to take a gracePeriodOverride","user":{"login":"derekwaynecarr","id":6233452,"avatar_url":"https://avatars.githubusercontent.com/u/6233452?v=3","gravatar_id":"","url":"https://api.github.com/users/derekwaynecarr","html_url":"https://github.com/derekwaynecarr","followers_url":"https://api.github.com/users/derekwaynecarr/followers","following_url":"https://api.github.com/users/derekwaynecarr/following{/other_user}","gists_url":"https://api.github.com/users/derekwaynecarr/gists{/gist_id}","starred_url":"https://api.github.com/users/derekwaynecarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekwaynecarr/subscriptions","organizations_url":"https://api.github.com/users/derekwaynecarr/orgs","repos_url":"https://api.github.com/users/derekwaynecarr/repos","events_url":"https://api.github.com/users/derekwaynecarr/events{/privacy}","received_events_url":"https://api.github.com/users/derekwaynecarr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/release-note-label-needed","name":"release-note-label-needed","color":"db5a64"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/M","name":"size/M","color":"eebb00"}],"state":"open","locked":false,"assignee":{"login":"vishh","id":7063592,"avatar_url":"https://avatars.githubusercontent.com/u/7063592?v=3","gravatar_id":"","url":"https://api.github.com/users/vishh","html_url":"https://github.com/vishh","followers_url":"https://api.github.com/users/vishh/followers","following_url":"https://api.github.com/users/vishh/following{/other_user}","gists_url":"https://api.github.com/users/vishh/gists{/gist_id}","starred_url":"https://api.github.com/users/vishh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishh/subscriptions","organizations_url":"https://api.github.com/users/vishh/orgs","repos_url":"https://api.github.com/users/vishh/repos","events_url":"https://api.github.com/users/vishh/events{/privacy}","received_events_url":"https://api.github.com/users/vishh/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-04-27T03:36:05Z","updated_at":"2016-04-28T20:48:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/24843","html_url":"https://github.com/kubernetes/kubernetes/pull/24843","diff_url":"https://github.com/kubernetes/kubernetes/pull/24843.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/24843.patch"},"body":"The proposal for pod eviction (see https://github.com/kubernetes/kubernetes/pull/18724) will need to allow a pod to be killed immediately if a hard eviction threshold has been met.  In that case, we will want to call `KillPod` with a `gracePeriodOverride=0` so we can do `SIGKILL` and reclaim resources quickly.  In the case of a soft eviction threshold having been met, we discussed letting an operator set a maximum soft eviction pod termination grace period, in that case we would call with a `gracePeriodOverride` set to that value.\r\n\r\nThis PR adds the new argument for `gracePeriodOverride` and plumbs its support in the code for `docker`, and a TODO for `rkt`.\r\n\r\n/cc @vishh  - per our slack chat\r\n\r\n/fyi @kubernetes/sig-node @kubernetes/rh-cluster-infra "},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/215557690","html_url":"https://github.com/kubernetes/kubernetes/pull/24843#issuecomment-215557690","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/24843","id":215557690,"user":{"login":"derekwaynecarr","id":6233452,"avatar_url":"https://avatars.githubusercontent.com/u/6233452?v=3","gravatar_id":"","url":"https://api.github.com/users/derekwaynecarr","html_url":"https://github.com/derekwaynecarr","followers_url":"https://api.github.com/users/derekwaynecarr/followers","following_url":"https://api.github.com/users/derekwaynecarr/following{/other_user}","gists_url":"https://api.github.com/users/derekwaynecarr/gists{/gist_id}","starred_url":"https://api.github.com/users/derekwaynecarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekwaynecarr/subscriptions","organizations_url":"https://api.github.com/users/derekwaynecarr/orgs","repos_url":"https://api.github.com/users/derekwaynecarr/repos","events_url":"https://api.github.com/users/derekwaynecarr/events{/privacy}","received_events_url":"https://api.github.com/users/derekwaynecarr/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T20:48:22Z","updated_at":"2016-04-28T20:48:22Z","body":"@vishh - poke ;-)"}}