{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/48120","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/48120/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/48120/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/48120/events","html_url":"https://github.com/kubernetes/kubernetes/pull/48120","id":238728952,"number":48120,"title":"Fix reset threshold for probe judgement after container restart.","user":{"login":"helinbo2015","id":16983666,"avatar_url":"https://avatars1.githubusercontent.com/u/16983666?v=3","gravatar_id":"","url":"https://api.github.com/users/helinbo2015","html_url":"https://github.com/helinbo2015","followers_url":"https://api.github.com/users/helinbo2015/followers","following_url":"https://api.github.com/users/helinbo2015/following{/other_user}","gists_url":"https://api.github.com/users/helinbo2015/gists{/gist_id}","starred_url":"https://api.github.com/users/helinbo2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helinbo2015/subscriptions","organizations_url":"https://api.github.com/users/helinbo2015/orgs","repos_url":"https://api.github.com/users/helinbo2015/repos","events_url":"https://api.github.com/users/helinbo2015/events{/privacy}","received_events_url":"https://api.github.com/users/helinbo2015/received_events","type":"User","site_admin":false},"labels":[{"id":477397085,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cncf-cla:%20no","name":"cncf-cla: no","color":"e11d21","default":false},{"id":573014062,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/needs-ok-to-test","name":"needs-ok-to-test","color":"b60205","default":false},{"id":349530192,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/release-note-label-needed","name":"release-note-label-needed","color":"db5a64","default":false},{"id":253450793,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/XS","name":"size/XS","color":"009900","default":false}],"state":"open","locked":false,"assignee":{"login":"yifan-gu","id":3278588,"avatar_url":"https://avatars3.githubusercontent.com/u/3278588?v=3","gravatar_id":"","url":"https://api.github.com/users/yifan-gu","html_url":"https://github.com/yifan-gu","followers_url":"https://api.github.com/users/yifan-gu/followers","following_url":"https://api.github.com/users/yifan-gu/following{/other_user}","gists_url":"https://api.github.com/users/yifan-gu/gists{/gist_id}","starred_url":"https://api.github.com/users/yifan-gu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yifan-gu/subscriptions","organizations_url":"https://api.github.com/users/yifan-gu/orgs","repos_url":"https://api.github.com/users/yifan-gu/repos","events_url":"https://api.github.com/users/yifan-gu/events{/privacy}","received_events_url":"https://api.github.com/users/yifan-gu/received_events","type":"User","site_admin":false},"assignees":[{"login":"pmorie","id":366488,"avatar_url":"https://avatars1.githubusercontent.com/u/366488?v=3","gravatar_id":"","url":"https://api.github.com/users/pmorie","html_url":"https://github.com/pmorie","followers_url":"https://api.github.com/users/pmorie/followers","following_url":"https://api.github.com/users/pmorie/following{/other_user}","gists_url":"https://api.github.com/users/pmorie/gists{/gist_id}","starred_url":"https://api.github.com/users/pmorie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmorie/subscriptions","organizations_url":"https://api.github.com/users/pmorie/orgs","repos_url":"https://api.github.com/users/pmorie/repos","events_url":"https://api.github.com/users/pmorie/events{/privacy}","received_events_url":"https://api.github.com/users/pmorie/received_events","type":"User","site_admin":false},{"login":"yifan-gu","id":3278588,"avatar_url":"https://avatars3.githubusercontent.com/u/3278588?v=3","gravatar_id":"","url":"https://api.github.com/users/yifan-gu","html_url":"https://github.com/yifan-gu","followers_url":"https://api.github.com/users/yifan-gu/followers","following_url":"https://api.github.com/users/yifan-gu/following{/other_user}","gists_url":"https://api.github.com/users/yifan-gu/gists{/gist_id}","starred_url":"https://api.github.com/users/yifan-gu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yifan-gu/subscriptions","organizations_url":"https://api.github.com/users/yifan-gu/orgs","repos_url":"https://api.github.com/users/yifan-gu/repos","events_url":"https://api.github.com/users/yifan-gu/events{/privacy}","received_events_url":"https://api.github.com/users/yifan-gu/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2017-06-27T03:38:26Z","updated_at":"2017-07-07T04:13:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/48120","html_url":"https://github.com/kubernetes/kubernetes/pull/48120","diff_url":"https://github.com/kubernetes/kubernetes/pull/48120.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/48120.patch"},"body":"**What this PR does / why we need it**:   \r\n- Thiis PR fix the following problem:  \r\n  The minimal time of livenessprobe first time result change(`success` --> `failure`) is unstable.  \r\n\r\n**Special notes for your reviewer**:\r\n- The problem description:  \r\n1. livenessprobe parameter is below:\r\n```\r\n                    \"initialDelaySeconds\": 30,\r\n                    \"periodSeconds\": 15,\r\n                    \"failureThreshold\": 3,\r\n                    \"successThreshold\": 3\r\n```\r\n2. livenessprobe initvalue is: `success`  \r\n3. the minimal time of livenessprobe first time result change(`success` --> `failure`) is:  \r\n```\r\ninitialDelaySeconds + periodSeconds * (failureThreshold - w.resultRun)  \r\n```\r\n4. so the minimal time of probe first time result change is:  \r\n- container first time start:  30 + 15 * (3-0) = 75s \r\n- container restart:  30 + 15 * (3-3) = 30s "},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/313582604","html_url":"https://github.com/kubernetes/kubernetes/pull/48120#issuecomment-313582604","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/48120","id":313582604,"user":{"login":"helinbo2015","id":16983666,"avatar_url":"https://avatars1.githubusercontent.com/u/16983666?v=3","gravatar_id":"","url":"https://api.github.com/users/helinbo2015","html_url":"https://github.com/helinbo2015","followers_url":"https://api.github.com/users/helinbo2015/followers","following_url":"https://api.github.com/users/helinbo2015/following{/other_user}","gists_url":"https://api.github.com/users/helinbo2015/gists{/gist_id}","starred_url":"https://api.github.com/users/helinbo2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helinbo2015/subscriptions","organizations_url":"https://api.github.com/users/helinbo2015/orgs","repos_url":"https://api.github.com/users/helinbo2015/repos","events_url":"https://api.github.com/users/helinbo2015/events{/privacy}","received_events_url":"https://api.github.com/users/helinbo2015/received_events","type":"User","site_admin":false},"created_at":"2017-07-07T04:13:05Z","updated_at":"2017-07-07T04:13:05Z","body":"@thelinuxfoundation "}}
{"actor":{"display_login":"helinbo2015"}}