{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/9165","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/9165/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/9165/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/9165/events","html_url":"https://github.com/kubernetes/kubernetes/pull/9165","id":84323261,"number":9165,"title":"Enable graceful deletion using reconciliation loops in the Kubelet without TTL","user":{"login":"smarterclayton","id":1163175,"avatar_url":"https://avatars.githubusercontent.com/u/1163175?v=3","gravatar_id":"","url":"https://api.github.com/users/smarterclayton","html_url":"https://github.com/smarterclayton","followers_url":"https://api.github.com/users/smarterclayton/followers","following_url":"https://api.github.com/users/smarterclayton/following{/other_user}","gists_url":"https://api.github.com/users/smarterclayton/gists{/gist_id}","starred_url":"https://api.github.com/users/smarterclayton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarterclayton/subscriptions","organizations_url":"https://api.github.com/users/smarterclayton/orgs","repos_url":"https://api.github.com/users/smarterclayton/repos","events_url":"https://api.github.com/users/smarterclayton/events{/privacy}","received_events_url":"https://api.github.com/users/smarterclayton/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"yujuhong","id":10524058,"avatar_url":"https://avatars.githubusercontent.com/u/10524058?v=3","gravatar_id":"","url":"https://api.github.com/users/yujuhong","html_url":"https://github.com/yujuhong","followers_url":"https://api.github.com/users/yujuhong/followers","following_url":"https://api.github.com/users/yujuhong/following{/other_user}","gists_url":"https://api.github.com/users/yujuhong/gists{/gist_id}","starred_url":"https://api.github.com/users/yujuhong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yujuhong/subscriptions","organizations_url":"https://api.github.com/users/yujuhong/orgs","repos_url":"https://api.github.com/users/yujuhong/repos","events_url":"https://api.github.com/users/yujuhong/events{/privacy}","received_events_url":"https://api.github.com/users/yujuhong/received_events","type":"User","site_admin":false},"milestone":null,"comments":129,"created_at":"2015-06-03T02:47:53Z","updated_at":"2015-08-12T18:42:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/9165","html_url":"https://github.com/kubernetes/kubernetes/pull/9165","diff_url":"https://github.com/kubernetes/kubernetes/pull/9165.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/9165.patch"},"body":"Restores graceful delete (merged prior to 1.0 and reverted in #8641).  Removes the use of TTL which causes latency issues in the API server - instead, the Kubelet and node controller are responsible for managing the deletion of terminated pods.  \r\n\r\n* A new metadata field is added to ObjectMeta that describes the user's requested grace period provided on delete as `DeletionGracePeriodSeconds` that complements `DeletionTimestamp` (the time the object is expected to be deleted).\r\n* The kubelet, during SyncPods, ensures pods that are terminated and not running on the Kubelet are cleaned up.\r\n* The node controller ensures that pods deleted when a node is evacuated are cleaned up (best effort)\r\n* A future controller (described in #11631) would terminate pods that on nodes that don't exist, as well as guarantee that pods that appear to never have been terminated by a kubelet are also deleted\r\n* The namespace controller waits until all pods are totally gone before removing the namespace.  The default grace period is used."},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/130407784","html_url":"https://github.com/kubernetes/kubernetes/pull/9165#issuecomment-130407784","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/9165","id":130407784,"user":{"login":"yujuhong","id":10524058,"avatar_url":"https://avatars.githubusercontent.com/u/10524058?v=3","gravatar_id":"","url":"https://api.github.com/users/yujuhong","html_url":"https://github.com/yujuhong","followers_url":"https://api.github.com/users/yujuhong/followers","following_url":"https://api.github.com/users/yujuhong/following{/other_user}","gists_url":"https://api.github.com/users/yujuhong/gists{/gist_id}","starred_url":"https://api.github.com/users/yujuhong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yujuhong/subscriptions","organizations_url":"https://api.github.com/users/yujuhong/orgs","repos_url":"https://api.github.com/users/yujuhong/repos","events_url":"https://api.github.com/users/yujuhong/events{/privacy}","received_events_url":"https://api.github.com/users/yujuhong/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T18:42:04Z","updated_at":"2015-08-12T18:42:04Z","body":"Needs another rebase :("}}