{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/comments/25198739","id":25198739,"diff_hunk":"@@ -0,0 +1,217 @@\n+/*\n+Copyright 2015 Google Inc. All rights reserved.\n+\n+Licensed under the Apache License, Version 2.0 (the \"License\");\n+you may not use this file except in compliance with the License.\n+You may obtain a copy of the License at\n+\n+    http://www.apache.org/licenses/LICENSE-2.0\n+\n+Unless required by applicable law or agreed to in writing, software\n+distributed under the License is distributed on an \"AS IS\" BASIS,\n+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+See the License for the specific language governing permissions and\n+limitations under the License.\n+*/\n+\n+package e2e\n+\n+import (\n+\t\"fmt\"\n+\t\"os/exec\"\n+\t\"strings\"\n+\t\"time\"\n+\n+\t\"github.com/GoogleCloudPlatform/kubernetes/pkg/api\"\n+\t\"github.com/GoogleCloudPlatform/kubernetes/pkg/client\"\n+\t\"github.com/GoogleCloudPlatform/kubernetes/pkg/util\"\n+\t. \"github.com/onsi/ginkgo\"\n+\t. \"github.com/onsi/gomega\"\n+)\n+\n+var _ = Describe(\"PD\", func() {\n+\tvar (\n+\t\tc         *client.Client\n+\t\thost0Name string\n+\t\thost1Name string\n+\t)\n+\n+\tBeforeEach(func() {\n+\t\tvar err error\n+\t\tc, err = loadClient()\n+\t\tExpect(err).NotTo(HaveOccurred())\n+\n+\t\tnodes, err := c.Nodes().List()\n+\t\texpectNoError(err, \"Failed to list nodes for e2e cluster.\")\n+\t\tExpect(len(nodes.Items) >= 2)\n+\n+\t\thost0Name = nodes.Items[0].ObjectMeta.Name\n+\t\thost1Name = nodes.Items[1].ObjectMeta.Name\n+\t})\n+\n+\tIt(\"should schedule a pod w/ a RW PD, remove it, then schedule it on another host\", func() {\n+\t\tpodClient := c.Pods(api.NamespaceDefault)\n+\t\tdiskName := fmt.Sprintf(\"e2e-%d\", time.Now().Unix())\n+\n+\t\thost0Pod := testPDPod(diskName, host0Name, false)\n+\t\thost1Pod := testPDPod(diskName, host1Name, false)\n+\n+\t\tBy(\"creating PD\")\n+\t\terr := createPD(diskName, testContext.gceConfig.Zone)\n+\t\texpectNoError(err, fmt.Sprintf(\"Error creating PD: %v\", err))\n+\n+\t\tdefer func() {\n+\t\t\tBy(\"cleaning up PD-RW test environment\")\n+\t\t\tdefer GinkgoRecover()\n+\t\t\t// Teardown pods, PD. Ignore errors. Teardown should do nothing\n+\t\t\t// unless test failed.\n+\t\t\tpodClient.Delete(host0Pod.Name)\n+\t\t\tpodClient.Delete(host1Pod.Name)\n+\t\t\tdetachPD(host0Name, diskName, testContext.gceConfig.Zone)\n+\t\t\tdetachPD(host1Name, diskName, testContext.gceConfig.Zone)\n+\t\t\tdeletePD(diskName, testContext.gceConfig.Zone)\n+\t\t}()\n+\n+\t\tBy(\"submitting host0Pod to kubernetes\")\n+\t\t_, err = podClient.Create(host0Pod)\n+\t\texpectNoError(err, fmt.Sprintf(\"Failed to create host0Pod: %v\", host0Pod.Name, err))\n+\n+\t\tBy(\"waiting up to 60 seconds for host0Pod to start running\")\n+\t\terr = waitForPodRunning(c, host0Pod.Name, 60*time.Second)\n+\t\texpectNoError(err, fmt.Sprintf(\"host0Pod not running after 60 seconds: %v\", err))\n+\n+\t\tBy(\"deleting host0Pod\")\n+\t\terr = podClient.Delete(host0Pod.Name)\n+\t\texpectNoError(err, fmt.Sprintf(\"Failed to delete host0Pod: %v\", host0Pod.Name, err))\n+\n+\t\tBy(\"submitting host1Pod to kubernetes\")\n+\t\t_, err = podClient.Create(host1Pod)\n+\t\texpectNoError(err, fmt.Sprintf(\"Failed to create host1Pod: %v\", host1Pod.Name, err))\n+\n+\t\tBy(\"waiting up to 60 seconds for host1Pod to start running\")\n+\t\terr = waitForPodRunning(c, host1Pod.Name, 60*time.Second)\n+\t\texpectNoError(err, fmt.Sprintf(\"host1Pod not running after 60 seconds: %v\", err))\n+\n+\t\tBy(\"deleting host1Pod\")\n+\t\terr = podClient.Delete(host1Pod.Name)\n+\t\texpectNoError(err, fmt.Sprintf(\"Failed to delete host1Pod: %v\", host1Pod.Name, err))\n+\n+\t\treturn\n+\t})\n+\n+\tIt(\"should schedule a pod w/ a readonly PD on two hosts, then remove both.\", func() {\n+\t\tpodClient := c.Pods(api.NamespaceDefault)\n+\t\tdiskName := fmt.Sprintf(\"e2e-%d\", time.Now().Unix())\n+\n+\t\trwPod := testPDPod(diskName, host0Name, false)\n+\t\thost0ROPod := testPDPod(diskName, host0Name, true)\n+\t\thost1ROPod := testPDPod(diskName, host1Name, true)\n+\n+\t\tdefer func() {\n+\t\t\tBy(\"cleaning up PD-RO test environment\")\n+\t\t\tdefer GinkgoRecover()\n+\t\t\t// Teardown pods, PD. Ignore errors. Teardown should do nothing\n+\t\t\t// unless test failed.\n+\t\t\tpodClient.Delete(rwPod.Name)\n+\t\t\tpodClient.Delete(host0ROPod.Name)\n+\t\t\tpodClient.Delete(host1ROPod.Name)\n+\t\t\tdetachPD(host0Name, diskName, testContext.gceConfig.Zone)\n+\t\t\tdetachPD(host1Name, diskName, testContext.gceConfig.Zone)\n+\t\t\tdeletePD(diskName, testContext.gceConfig.Zone)\n+\t\t}()\n+\n+\t\tBy(\"creating PD\")\n+\t\terr := createPD(diskName, testContext.gceConfig.Zone)\n+\t\texpectNoError(err, fmt.Sprintf(\"Error creating PD: %v\", err))\n+\n+\t\tBy(\"submitting rwPod to ensure PD is formatted\")\n+\t\t_, err = podClient.Create(rwPod)\n+\t\texpectNoError(err, fmt.Sprintf(\"Failed to create rwPod: %v\", rwPod.Name, err))\n+\t\terr = waitForPodRunning(c, rwPod.Name, 60*time.Second)","path":"test/e2e/pd.go","position":null,"original_position":130,"commit_id":"54e8240916a5b3c98c554a5fc9622d8ef854e973","original_commit_id":"2c9f0458815dcae0efbee24b46255e86fa2cfff3","user":{"login":"cjcullen","id":7154008,"avatar_url":"https://avatars.githubusercontent.com/u/7154008?v=3","gravatar_id":"","url":"https://api.github.com/users/cjcullen","html_url":"https://github.com/cjcullen","followers_url":"https://api.github.com/users/cjcullen/followers","following_url":"https://api.github.com/users/cjcullen/following{/other_user}","gists_url":"https://api.github.com/users/cjcullen/gists{/gist_id}","starred_url":"https://api.github.com/users/cjcullen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjcullen/subscriptions","organizations_url":"https://api.github.com/users/cjcullen/orgs","repos_url":"https://api.github.com/users/cjcullen/repos","events_url":"https://api.github.com/users/cjcullen/events{/privacy}","received_events_url":"https://api.github.com/users/cjcullen/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2015-02-23T20:29:37Z","updated_at":"2015-02-23T20:29:37Z","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/4718#discussion_r25198739","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/4718","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/comments/25198739"},"html":{"href":"https://github.com/GoogleCloudPlatform/kubernetes/pull/4718#discussion_r25198739"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/4718"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/4718","id":29788392,"html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/4718","diff_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/4718.diff","patch_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/4718.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/4718","number":4718,"state":"open","locked":false,"title":"Fix PD detach (fix the mount path/device name calculation).","user":{"login":"cjcullen","id":7154008,"avatar_url":"https://avatars.githubusercontent.com/u/7154008?v=3","gravatar_id":"","url":"https://api.github.com/users/cjcullen","html_url":"https://github.com/cjcullen","followers_url":"https://api.github.com/users/cjcullen/followers","following_url":"https://api.github.com/users/cjcullen/following{/other_user}","gists_url":"https://api.github.com/users/cjcullen/gists{/gist_id}","starred_url":"https://api.github.com/users/cjcullen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjcullen/subscriptions","organizations_url":"https://api.github.com/users/cjcullen/orgs","repos_url":"https://api.github.com/users/cjcullen/repos","events_url":"https://api.github.com/users/cjcullen/events{/privacy}","received_events_url":"https://api.github.com/users/cjcullen/received_events","type":"User","site_admin":false},"body":"Fix readonly PD attach (don't try to format).\r\nAdd an e2e test to verify that PDs are attached and detached correctly.\r\nAdd an e2e test to verify that readonly PDs can be attached to >1 pods.","created_at":"2015-02-23T06:23:08Z","updated_at":"2015-02-23T20:29:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7b4e1bc49094eb10c0c398e418976bc45dc77041","assignee":{"login":"zmerlynn","id":4942464,"avatar_url":"https://avatars.githubusercontent.com/u/4942464?v=3","gravatar_id":"","url":"https://api.github.com/users/zmerlynn","html_url":"https://github.com/zmerlynn","followers_url":"https://api.github.com/users/zmerlynn/followers","following_url":"https://api.github.com/users/zmerlynn/following{/other_user}","gists_url":"https://api.github.com/users/zmerlynn/gists{/gist_id}","starred_url":"https://api.github.com/users/zmerlynn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zmerlynn/subscriptions","organizations_url":"https://api.github.com/users/zmerlynn/orgs","repos_url":"https://api.github.com/users/zmerlynn/repos","events_url":"https://api.github.com/users/zmerlynn/events{/privacy}","received_events_url":"https://api.github.com/users/zmerlynn/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/4718/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/4718/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/4718/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/statuses/54e8240916a5b3c98c554a5fc9622d8ef854e973","head":{"label":"cjcullen:pdtest","ref":"pdtest","sha":"54e8240916a5b3c98c554a5fc9622d8ef854e973","user":{"login":"cjcullen","id":7154008,"avatar_url":"https://avatars.githubusercontent.com/u/7154008?v=3","gravatar_id":"","url":"https://api.github.com/users/cjcullen","html_url":"https://github.com/cjcullen","followers_url":"https://api.github.com/users/cjcullen/followers","following_url":"https://api.github.com/users/cjcullen/following{/other_user}","gists_url":"https://api.github.com/users/cjcullen/gists{/gist_id}","starred_url":"https://api.github.com/users/cjcullen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjcullen/subscriptions","organizations_url":"https://api.github.com/users/cjcullen/orgs","repos_url":"https://api.github.com/users/cjcullen/repos","events_url":"https://api.github.com/users/cjcullen/events{/privacy}","received_events_url":"https://api.github.com/users/cjcullen/received_events","type":"User","site_admin":false},"repo":{"id":22969428,"name":"kubernetes","full_name":"cjcullen/kubernetes","owner":{"login":"cjcullen","id":7154008,"avatar_url":"https://avatars.githubusercontent.com/u/7154008?v=3","gravatar_id":"","url":"https://api.github.com/users/cjcullen","html_url":"https://github.com/cjcullen","followers_url":"https://api.github.com/users/cjcullen/followers","following_url":"https://api.github.com/users/cjcullen/following{/other_user}","gists_url":"https://api.github.com/users/cjcullen/gists{/gist_id}","starred_url":"https://api.github.com/users/cjcullen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjcullen/subscriptions","organizations_url":"https://api.github.com/users/cjcullen/orgs","repos_url":"https://api.github.com/users/cjcullen/repos","events_url":"https://api.github.com/users/cjcullen/events{/privacy}","received_events_url":"https://api.github.com/users/cjcullen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cjcullen/kubernetes","description":"Container Cluster Manager","fork":true,"url":"https://api.github.com/repos/cjcullen/kubernetes","forks_url":"https://api.github.com/repos/cjcullen/kubernetes/forks","keys_url":"https://api.github.com/repos/cjcullen/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cjcullen/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cjcullen/kubernetes/teams","hooks_url":"https://api.github.com/repos/cjcullen/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/cjcullen/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/cjcullen/kubernetes/events","assignees_url":"https://api.github.com/repos/cjcullen/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/cjcullen/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/cjcullen/kubernetes/tags","blobs_url":"https://api.github.com/repos/cjcullen/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cjcullen/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cjcullen/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/cjcullen/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cjcullen/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/cjcullen/kubernetes/languages","stargazers_url":"https://api.github.com/repos/cjcullen/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/cjcullen/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/cjcullen/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/cjcullen/kubernetes/subscription","commits_url":"https://api.github.com/repos/cjcullen/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/cjcullen/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/cjcullen/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/cjcullen/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/cjcullen/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/cjcullen/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cjcullen/kubernetes/merges","archive_url":"https://api.github.com/repos/cjcullen/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cjcullen/kubernetes/downloads","issues_url":"https://api.github.com/repos/cjcullen/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/cjcullen/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/cjcullen/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/cjcullen/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cjcullen/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/cjcullen/kubernetes/releases{/id}","created_at":"2014-08-14T21:36:31Z","updated_at":"2015-02-23T06:10:33Z","pushed_at":"2015-02-23T20:19:30Z","git_url":"git://github.com/cjcullen/kubernetes.git","ssh_url":"git@github.com:cjcullen/kubernetes.git","clone_url":"https://github.com/cjcullen/kubernetes.git","svn_url":"https://github.com/cjcullen/kubernetes","homepage":null,"size":30111,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"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":"GoogleCloudPlatform:master","ref":"master","sha":"e1865822727f39e28ce3a9a0d43a38e120b31c12","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":20580498,"name":"kubernetes","full_name":"GoogleCloudPlatform/kubernetes","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/kubernetes","description":"Container Cluster Manager","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/releases{/id}","created_at":"2014-06-06T22:56:04Z","updated_at":"2015-02-23T19:52:32Z","pushed_at":"2015-02-23T19:52:32Z","git_url":"git://github.com/GoogleCloudPlatform/kubernetes.git","ssh_url":"git@github.com:GoogleCloudPlatform/kubernetes.git","clone_url":"https://github.com/GoogleCloudPlatform/kubernetes.git","svn_url":"https://github.com/GoogleCloudPlatform/kubernetes","homepage":"http://kubernetes.io","size":84959,"stargazers_count":6297,"watchers_count":6297,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1105,"mirror_url":null,"open_issues_count":738,"forks":1105,"open_issues":738,"watchers":6297,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/4718"},"html":{"href":"https://github.com/GoogleCloudPlatform/kubernetes/pull/4718"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/4718"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/4718/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/4718/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/4718/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/statuses/54e8240916a5b3c98c554a5fc9622d8ef854e973"}}}}