{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments/137907852","pull_request_review_id":61643487,"id":137907852,"diff_hunk":"@@ -17,16 +17,112 @@ limitations under the License.\n package dockershim\n \n import (\n-\t\"fmt\"\n-\n+\tdockertypes \"github.com/docker/docker/api/types\"\n \truntimeapi \"k8s.io/kubernetes/pkg/kubelet/apis/cri/v1alpha1/runtime\"\n+\t\"runtime\"\n+\t\"time\"\n )\n \n-// DockerService does not implement container stats.\n-func (ds *dockerService) ContainerStats(*runtimeapi.ContainerStatsRequest) (*runtimeapi.ContainerStatsResponse, error) {\n-\treturn nil, fmt.Errorf(\"Not implemented\")\n+// ContainerStats returns stats for a container stats request based on container id.\n+func (ds *dockerService) ContainerStats(containerStatsRequest *runtimeapi.ContainerStatsRequest) (*runtimeapi.ContainerStatsResponse, error) {\n+\tcontainerStats, err := ds.createContainerStats(containerStatsRequest.ContainerId)\n+\n+\tif err != nil {\n+\t\treturn nil, err\n+\t}\n+\n+\treturn &runtimeapi.ContainerStatsResponse{\n+\t\tStats: containerStats,\n+\t}, nil\n }\n \n-func (ds *dockerService) ListContainerStats(*runtimeapi.ListContainerStatsRequest) (*runtimeapi.ListContainerStatsResponse, error) {\n-\treturn nil, fmt.Errorf(\"Not implemented\")\n+// ListContainerStats returns stats for a list container stats request based on a filter.\n+func (ds *dockerService) ListContainerStats(containerStatsRequest *runtimeapi.ListContainerStatsRequest) (*runtimeapi.ListContainerStatsResponse, error) {\n+\tfilter := &runtimeapi.ContainerFilter{}\n+\n+\tif containerStatsRequest.Filter != nil {\n+\t\tfilter.Id = containerStatsRequest.Filter.Id\n+\t\tfilter.PodSandboxId = containerStatsRequest.Filter.PodSandboxId\n+\t\tfilter.LabelSelector = containerStatsRequest.Filter.LabelSelector\n+\t}\n+\n+\tcontainers, err := ds.ListContainers(filter)\n+\n+\tif err != nil {\n+\t\treturn nil, err\n+\t}\n+\n+\tvar stats []*runtimeapi.ContainerStats\n+\tfor _, container := range containers {\n+\t\tcontainerStats, err := ds.createContainerStats(container.Id)\n+\n+\t\tif err != nil {\n+\t\t\treturn nil, err\n+\t\t}\n+\n+\t\tstats = append(stats, containerStats)\n+\t}\n+\n+\treturn &runtimeapi.ListContainerStatsResponse{\n+\t\tStats: stats,\n+\t}, nil\n+}\n+\n+func (ds *dockerService) createContainerStats(containerID string) (*runtimeapi.ContainerStats, error) {\n+\tstatsJSON, err := ds.client.GetContainerStats(containerID)\n+\n+\tif err != nil {\n+\t\treturn nil, err\n+\t}\n+\n+\tcontainerJSON, err := ds.client.InspectContainerWithSize(containerID)\n+\n+\tif err != nil {\n+\t\treturn nil, err\n+\t}\n+\n+\tstatus, err := ds.ContainerStatus(containerID)\n+\n+\tif err != nil {\n+\t\treturn nil, err\n+\t}\n+\n+\tdockerStats := statsJSON.Stats\n+\tcontainerStats := &runtimeapi.ContainerStats{\n+\t\tAttributes: &runtimeapi.ContainerAttributes{\n+\t\t\tId:          containerID,\n+\t\t\tMetadata:    status.Metadata,\n+\t\t\tLabels:      status.Labels,\n+\t\t\tAnnotations: status.Annotations,\n+\t\t},\n+\t\tCpu: &runtimeapi.CpuUsage{\n+\t\t\tTimestamp:            time.Now().UnixNano(),\n+\t\t\tUsageCoreNanoSeconds: &runtimeapi.UInt64Value{Value: ds.getCpu(&dockerStats)},\n+\t\t},\n+\t\tMemory: &runtimeapi.MemoryUsage{\n+\t\t\tTimestamp:       time.Now().UnixNano(),\n+\t\t\tWorkingSetBytes: &runtimeapi.UInt64Value{Value: ds.getMemory(&dockerStats)},\n+\t\t},\n+\t\tWritableLayer: &runtimeapi.FilesystemUsage{\n+\t\t\tTimestamp: time.Now().UnixNano(),\n+\t\t\tStorageId: &runtimeapi.StorageIdentifier{Uuid: containerJSON.Driver},","path":"pkg/kubelet/dockershim/docker_stats.go","position":99,"original_position":99,"commit_id":"56d0cd1839893b23299c93c849d178d9840f45bf","original_commit_id":"56d0cd1839893b23299c93c849d178d9840f45bf","user":{"login":"feiskyer","id":676637,"avatar_url":"https://avatars2.githubusercontent.com/u/676637?v=4","gravatar_id":"","url":"https://api.github.com/users/feiskyer","html_url":"https://github.com/feiskyer","followers_url":"https://api.github.com/users/feiskyer/followers","following_url":"https://api.github.com/users/feiskyer/following{/other_user}","gists_url":"https://api.github.com/users/feiskyer/gists{/gist_id}","starred_url":"https://api.github.com/users/feiskyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feiskyer/subscriptions","organizations_url":"https://api.github.com/users/feiskyer/orgs","repos_url":"https://api.github.com/users/feiskyer/repos","events_url":"https://api.github.com/users/feiskyer/events{/privacy}","received_events_url":"https://api.github.com/users/feiskyer/received_events","type":"User","site_admin":false},"body":"> This is the UUID of the filesystem, which is used by kubelet to get the filesystem stats from cadvisor. It's not supported on Windows. \r\n\r\nSame questions here: does windows support filesystem UUID? or does all fields (e.g. InodesUsed) in stats API make sense to windows? ","created_at":"2017-09-08T23:18:45Z","updated_at":"2017-09-08T23:18:45Z","html_url":"https://github.com/kubernetes/kubernetes/pull/51152#discussion_r137907852","pull_request_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/51152","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments/137907852"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/51152#discussion_r137907852"},"pull_request":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/51152"}},"in_reply_to_id":137873820},"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/51152","id":137092682,"html_url":"https://github.com/kubernetes/kubernetes/pull/51152","diff_url":"https://github.com/kubernetes/kubernetes/pull/51152.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/51152.patch","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/51152","number":51152,"state":"open","locked":false,"title":"Implement CRI stats in Docker Shim","user":{"login":"bobbypage","id":486583,"avatar_url":"https://avatars0.githubusercontent.com/u/486583?v=4","gravatar_id":"","url":"https://api.github.com/users/bobbypage","html_url":"https://github.com/bobbypage","followers_url":"https://api.github.com/users/bobbypage/followers","following_url":"https://api.github.com/users/bobbypage/following{/other_user}","gists_url":"https://api.github.com/users/bobbypage/gists{/gist_id}","starred_url":"https://api.github.com/users/bobbypage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobbypage/subscriptions","organizations_url":"https://api.github.com/users/bobbypage/orgs","repos_url":"https://api.github.com/users/bobbypage/repos","events_url":"https://api.github.com/users/bobbypage/events{/privacy}","received_events_url":"https://api.github.com/users/bobbypage/received_events","type":"User","site_admin":false},"body":"<!--  Thanks for sending a pull request!  Here are some tips for you:\r\n1. If this is your first time, read our contributor guidelines https://git.k8s.io/community/contributors/devel/pull-requests.md#the-pr-submit-process and developer guide https://git.k8s.io/community/contributors/devel/development.md#development-guide\r\n2. If you want *faster* PR reviews, read how: https://git.k8s.io/community/contributors/devel/pull-requests.md#best-practices-for-faster-reviews\r\n3. Follow the instructions for writing a release note: https://git.k8s.io/community/contributors/devel/pull-requests.md#write-release-notes-if-needed\r\n-->\r\n\r\n**What this PR does / why we need it**:\r\nThis PR implements CRI Stats in the Docker Shim. It is needed to enable CRI stats for Docker and ongoing /stats/summary API changes in moving to use CRI.\r\n\r\nRelated issues:\r\n#46984 (CRI: instruct kubelet to (optionally) consume container stats from CRI)\r\n#45614 (CRI: add methods for container stats) \r\n\r\nThis PR is also a followup to my original PR (https://github.com/kubernetes/kubernetes/pull/50396) to implement Windows Container Stats. The plan is that Windows Stats will use a hybrid model: pod and container level stats will come from CRI (via dockershim) and that node level stats will come from a \"winstats\" package that exports cadvisor like datastructures using windows specific perf counters from the node. I will update that PR to only export node level stats. \r\n\r\n@yujuhong @yguo0905 @dchen1107 @jdumars @anhowe @michmike\r\n\r\n**Special notes for your reviewer**:\r\n\r\n**Release note**:\r\n<!--  Steps to write your release note:\r\n1. Use the release-note-* labels to set the release note state (if you have access)\r\n2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`.\r\n-->\r\n```release-note\r\n```","created_at":"2017-08-22T22:21:31Z","updated_at":"2017-09-08T23:18:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb60a86e399726bbd420ffe6b9c78c11ebe4d0ef","assignee":{"login":"feiskyer","id":676637,"avatar_url":"https://avatars2.githubusercontent.com/u/676637?v=4","gravatar_id":"","url":"https://api.github.com/users/feiskyer","html_url":"https://github.com/feiskyer","followers_url":"https://api.github.com/users/feiskyer/followers","following_url":"https://api.github.com/users/feiskyer/following{/other_user}","gists_url":"https://api.github.com/users/feiskyer/gists{/gist_id}","starred_url":"https://api.github.com/users/feiskyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feiskyer/subscriptions","organizations_url":"https://api.github.com/users/feiskyer/orgs","repos_url":"https://api.github.com/users/feiskyer/repos","events_url":"https://api.github.com/users/feiskyer/events{/privacy}","received_events_url":"https://api.github.com/users/feiskyer/received_events","type":"User","site_admin":false},"assignees":[{"login":"feiskyer","id":676637,"avatar_url":"https://avatars2.githubusercontent.com/u/676637?v=4","gravatar_id":"","url":"https://api.github.com/users/feiskyer","html_url":"https://github.com/feiskyer","followers_url":"https://api.github.com/users/feiskyer/followers","following_url":"https://api.github.com/users/feiskyer/following{/other_user}","gists_url":"https://api.github.com/users/feiskyer/gists{/gist_id}","starred_url":"https://api.github.com/users/feiskyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feiskyer/subscriptions","organizations_url":"https://api.github.com/users/feiskyer/orgs","repos_url":"https://api.github.com/users/feiskyer/repos","events_url":"https://api.github.com/users/feiskyer/events{/privacy}","received_events_url":"https://api.github.com/users/feiskyer/received_events","type":"User","site_admin":false},{"login":"yujuhong","id":10524058,"avatar_url":"https://avatars1.githubusercontent.com/u/10524058?v=4","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},{"login":"yguo0905","id":26879063,"avatar_url":"https://avatars3.githubusercontent.com/u/26879063?v=4","gravatar_id":"","url":"https://api.github.com/users/yguo0905","html_url":"https://github.com/yguo0905","followers_url":"https://api.github.com/users/yguo0905/followers","following_url":"https://api.github.com/users/yguo0905/following{/other_user}","gists_url":"https://api.github.com/users/yguo0905/gists{/gist_id}","starred_url":"https://api.github.com/users/yguo0905/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yguo0905/subscriptions","organizations_url":"https://api.github.com/users/yguo0905/orgs","repos_url":"https://api.github.com/users/yguo0905/repos","events_url":"https://api.github.com/users/yguo0905/events{/privacy}","received_events_url":"https://api.github.com/users/yguo0905/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"yujuhong","id":10524058,"avatar_url":"https://avatars1.githubusercontent.com/u/10524058?v=4","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,"commits_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/51152/commits","review_comments_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/51152/comments","review_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/51152/comments","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/56d0cd1839893b23299c93c849d178d9840f45bf","head":{"label":"bobbypage:cri","ref":"cri","sha":"56d0cd1839893b23299c93c849d178d9840f45bf","user":{"login":"bobbypage","id":486583,"avatar_url":"https://avatars0.githubusercontent.com/u/486583?v=4","gravatar_id":"","url":"https://api.github.com/users/bobbypage","html_url":"https://github.com/bobbypage","followers_url":"https://api.github.com/users/bobbypage/followers","following_url":"https://api.github.com/users/bobbypage/following{/other_user}","gists_url":"https://api.github.com/users/bobbypage/gists{/gist_id}","starred_url":"https://api.github.com/users/bobbypage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobbypage/subscriptions","organizations_url":"https://api.github.com/users/bobbypage/orgs","repos_url":"https://api.github.com/users/bobbypage/repos","events_url":"https://api.github.com/users/bobbypage/events{/privacy}","received_events_url":"https://api.github.com/users/bobbypage/received_events","type":"User","site_admin":false},"repo":{"id":96155658,"name":"kubernetes","full_name":"bobbypage/kubernetes","owner":{"login":"bobbypage","id":486583,"avatar_url":"https://avatars0.githubusercontent.com/u/486583?v=4","gravatar_id":"","url":"https://api.github.com/users/bobbypage","html_url":"https://github.com/bobbypage","followers_url":"https://api.github.com/users/bobbypage/followers","following_url":"https://api.github.com/users/bobbypage/following{/other_user}","gists_url":"https://api.github.com/users/bobbypage/gists{/gist_id}","starred_url":"https://api.github.com/users/bobbypage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobbypage/subscriptions","organizations_url":"https://api.github.com/users/bobbypage/orgs","repos_url":"https://api.github.com/users/bobbypage/repos","events_url":"https://api.github.com/users/bobbypage/events{/privacy}","received_events_url":"https://api.github.com/users/bobbypage/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bobbypage/kubernetes","description":"Production-Grade Container Scheduling and Management","fork":true,"url":"https://api.github.com/repos/bobbypage/kubernetes","forks_url":"https://api.github.com/repos/bobbypage/kubernetes/forks","keys_url":"https://api.github.com/repos/bobbypage/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bobbypage/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bobbypage/kubernetes/teams","hooks_url":"https://api.github.com/repos/bobbypage/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/bobbypage/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/bobbypage/kubernetes/events","assignees_url":"https://api.github.com/repos/bobbypage/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/bobbypage/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/bobbypage/kubernetes/tags","blobs_url":"https://api.github.com/repos/bobbypage/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bobbypage/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bobbypage/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/bobbypage/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bobbypage/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/bobbypage/kubernetes/languages","stargazers_url":"https://api.github.com/repos/bobbypage/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/bobbypage/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/bobbypage/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/bobbypage/kubernetes/subscription","commits_url":"https://api.github.com/repos/bobbypage/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/bobbypage/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/bobbypage/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/bobbypage/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/bobbypage/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/bobbypage/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bobbypage/kubernetes/merges","archive_url":"https://api.github.com/repos/bobbypage/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bobbypage/kubernetes/downloads","issues_url":"https://api.github.com/repos/bobbypage/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/bobbypage/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/bobbypage/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/bobbypage/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bobbypage/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/bobbypage/kubernetes/releases{/id}","deployments_url":"https://api.github.com/repos/bobbypage/kubernetes/deployments","created_at":"2017-07-03T22:42:39Z","updated_at":"2017-07-03T22:43:20Z","pushed_at":"2017-09-08T22:08:24Z","git_url":"git://github.com/bobbypage/kubernetes.git","ssh_url":"git@github.com:bobbypage/kubernetes.git","clone_url":"https://github.com/bobbypage/kubernetes.git","svn_url":"https://github.com/bobbypage/kubernetes","homepage":"http://kubernetes.io","size":474562,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kubernetes:master","ref":"master","sha":"f4f21b3f06b6463a3d1ce618c24a6006da880954","user":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars2.githubusercontent.com/u/13629408?v=4","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"repo":{"id":20580498,"name":"kubernetes","full_name":"kubernetes/kubernetes","owner":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars2.githubusercontent.com/u/13629408?v=4","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubernetes/kubernetes","description":"Production-Grade Container Scheduling and Management","fork":false,"url":"https://api.github.com/repos/kubernetes/kubernetes","forks_url":"https://api.github.com/repos/kubernetes/kubernetes/forks","keys_url":"https://api.github.com/repos/kubernetes/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/kubernetes/teams","hooks_url":"https://api.github.com/repos/kubernetes/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/kubernetes/events","assignees_url":"https://api.github.com/repos/kubernetes/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/kubernetes/tags","blobs_url":"https://api.github.com/repos/kubernetes/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/kubernetes/languages","stargazers_url":"https://api.github.com/repos/kubernetes/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/kubernetes/subscription","commits_url":"https://api.github.com/repos/kubernetes/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/kubernetes/merges","archive_url":"https://api.github.com/repos/kubernetes/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/kubernetes/downloads","issues_url":"https://api.github.com/repos/kubernetes/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/kubernetes/releases{/id}","deployments_url":"https://api.github.com/repos/kubernetes/kubernetes/deployments","created_at":"2014-06-06T22:56:04Z","updated_at":"2017-09-08T20:19:09Z","pushed_at":"2017-09-08T23:17:51Z","git_url":"git://github.com/kubernetes/kubernetes.git","ssh_url":"git@github.com:kubernetes/kubernetes.git","clone_url":"https://github.com/kubernetes/kubernetes.git","svn_url":"https://github.com/kubernetes/kubernetes","homepage":"http://kubernetes.io","size":693048,"stargazers_count":26678,"watchers_count":26678,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9523,"mirror_url":null,"open_issues_count":5351,"forks":9523,"open_issues":5351,"watchers":26678,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/51152"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/51152"},"issue":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/51152"},"comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/51152/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/51152/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/51152/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/kubernetes/statuses/56d0cd1839893b23299c93c849d178d9840f45bf"}},"author_association":"NONE"}}
{"actor":{"display_login":"feiskyer"}}