{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/5685","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/5685/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/5685/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/5685/events","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/5685","id":63121123,"number":5685,"title":"Kubelet: per-pod workers should avoid grabbing the pod array lock","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},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"ECF7EC"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-20T00:10:02Z","updated_at":"2015-03-20T00:22:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/5685","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/5685","diff_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/5685.diff","patch_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/5685.patch"},"body":"Per-pod worker syncs the pod and container status, and write the pod status in\r\nthe pod status cache. Given that it already owns a copy of the pod, it can\r\nbypass the additional pod lookup step completely. This change adds a new\r\ngeneratePodStatusByPod() method to achieve this. In general, per-pod worker\r\nshould avoid accessing the internal pod array completely, as this would may\r\nlead to high contention.\r\n\r\nThis change also changes the return type of GetPodByFullName to reflect the\r\nname, and consolidates GetPodByFullName() and GetPodByName()."},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments/83820999","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/5685#issuecomment-83820999","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/5685","id":83820999,"user":{"login":"bradfitz","id":2621,"avatar_url":"https://avatars.githubusercontent.com/u/2621?v=3","gravatar_id":"","url":"https://api.github.com/users/bradfitz","html_url":"https://github.com/bradfitz","followers_url":"https://api.github.com/users/bradfitz/followers","following_url":"https://api.github.com/users/bradfitz/following{/other_user}","gists_url":"https://api.github.com/users/bradfitz/gists{/gist_id}","starred_url":"https://api.github.com/users/bradfitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradfitz/subscriptions","organizations_url":"https://api.github.com/users/bradfitz/orgs","repos_url":"https://api.github.com/users/bradfitz/repos","events_url":"https://api.github.com/users/bradfitz/events{/privacy}","received_events_url":"https://api.github.com/users/bradfitz/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T00:22:28Z","updated_at":"2015-03-20T00:22:28Z","body":"I assume I was summoned by accident.\r\n"}}