{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments/207660428","pull_request_review_id":143326128,"id":207660428,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNzY2MDQyOA==","diff_hunk":"@@ -1306,3 +1312,106 @@ func (vs *VSphere) NodeManager() (nodeManager *NodeManager) {\n \t}\n \treturn vs.nodeManager\n }\n+\n+// GetZone implements Zones.GetZone\n+func (vs *VSphere) GetZone(ctx context.Context) (cloudprovider.Zone, error) {\n+\tnodeName, err := vs.CurrentNodeName(ctx, vs.hostName)\n+\tif err != nil {\n+\t\tglog.Errorf(\"Cannot get node name.\")\n+\t\treturn cloudprovider.Zone{}, err\n+\t}\n+\n+\tzone := cloudprovider.Zone{}\n+\tvsi, err := vs.getVSphereInstanceForServer(vs.cfg.Workspace.VCenterIP, ctx)\n+\n+\tif err != nil {\n+\t\tglog.Errorf(\"Cannot connent to vsphere. Get zone for node %s error\", nodeName)\n+\t\treturn cloudprovider.Zone{}, err\n+\t}\n+\n+\tdc, err := vclib.GetDatacenter(ctx, vsi.conn, vs.cfg.Workspace.Datacenter)\n+\tif err != nil {\n+\t\tglog.Errorf(\"Cannot connent to datacenter. Get zone for node %s error\", nodeName)\n+\t\treturn cloudprovider.Zone{}, err\n+\t}\n+\n+\tvmHost, err := dc.GetHostByVMUUID(ctx, vs.vmUUID)\n+\tif err != nil {\n+\t\tglog.Errorf(\"Cannot find VM runtime host. Get zone for node %s error\", nodeName)\n+\t\treturn cloudprovider.Zone{}, err\n+\t}\n+\n+\tclient := vsi.conn\n+\tzoneManagers := tagmanagers.NewTagManagers(client)\n+\terr = zoneManagers.WithClient(ctx, func(client *tags.RestClient) error {\n+\n+\t\ttags, err := client.ListAttachedTags(\n+\t\t\tctx,\n+\t\t\tvmHost,\n+\t\t)\n+\n+\t\tif err != nil {\n+\t\t\tglog.Errorf(\"Cannot list attached tags. Get zone for node %s error\", nodeName)\n+\t\t\treturn err\n+\t\t}\n+\n+\t\tfor _, value := range tags {\n+\t\t\ttag, err := client.GetTag(ctx, value)\n+\t\t\tif err != nil {\n+\t\t\t\tglog.Errorf(\"Get tag %s error\", value)\n+\t\t\t\treturn err\n+\t\t\t}\n+\t\t\tcategory, err := client.GetCategory(ctx, tag.CategoryID)\n+\t\t\tif err != nil {\n+\t\t\t\tglog.Errorf(\"Get category %s error\", value)\n+\t\t\t\treturn err\n+\t\t\t}\n+\n+\t\t\tswitch {\n+\n+\t\t\tcase category.Name == vs.cfg.Labels.Zone:\n+\t\t\t\tzone.FailureDomain = tag.Name\n+\n+\t\t\tcase category.Name == vs.cfg.Labels.Region:\n+\t\t\t\tzone.Region = tag.Name\n+\n+\t\t\tdefault:\n+\t\t\t\tzone.FailureDomain = \"\"\n+\t\t\t\tzone.Region = \"\"\n+\t\t\t}\n+\t\t}\n+\n+\t\tswitch {\n+\t\tcase zone.Region == \"\":\n+\t\t\tif vs.cfg.Labels.Zone != \"\" {\n+\t\t\t\treturn fmt.Errorf(\"The zone in vSphere configuration file not match for node %s \", nodeName)\n+\t\t\t}\n+\t\t\tglog.Infof(\"No zones support for node %s error\", nodeName)\n+\t\t\treturn nil\n+\n+\t\tcase zone.FailureDomain == \"\":\n+\t\t\tif vs.cfg.Labels.Region != \"\" {\n+\t\t\t\treturn fmt.Errorf(\"The zone in vSphere configuration file not match for node %s \", nodeName)\n+\t\t\t}\n+\t\t\tglog.Infof(\"No zones support for node %s error\", nodeName)\n+\t\t\treturn nil\n+\t\t}\n+\t\treturn nil\n+\t})\n+\tif err != nil {\n+\t\tglog.Errorf(\"Get zone for node %s error\", nodeName)\n+\t\treturn cloudprovider.Zone{}, err\n+\t}\n+\treturn zone, nil\n+}\n+\n+func (vs *VSphere) GetZoneByNodeName(ctx context.Context, nodeName k8stypes.NodeName) (cloudprovider.Zone, error) {\n+\n+\treturn cloudprovider.Zone{}, nil\n+\n+}\n+\n+func (vs *VSphere) GetZoneByProviderID(ctx context.Context, providerID string) (cloudprovider.Zone, error) {\n+\n+\treturn cloudprovider.Zone{}, nil\n+}","path":"pkg/cloudprovider/providers/vsphere/vsphere.go","position":null,"original_position":144,"commit_id":"d9d412e76baa7ae8171b02d739eafe2d72416bc7","original_commit_id":"87ab77d7f018f41fe063f89e2bb5b5cfcd2ecc7f","user":{"login":"jiatongw","id":14267454,"node_id":"MDQ6VXNlcjE0MjY3NDU0","avatar_url":"https://avatars3.githubusercontent.com/u/14267454?v=4","gravatar_id":"","url":"https://api.github.com/users/jiatongw","html_url":"https://github.com/jiatongw","followers_url":"https://api.github.com/users/jiatongw/followers","following_url":"https://api.github.com/users/jiatongw/following{/other_user}","gists_url":"https://api.github.com/users/jiatongw/gists{/gist_id}","starred_url":"https://api.github.com/users/jiatongw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiatongw/subscriptions","organizations_url":"https://api.github.com/users/jiatongw/orgs","repos_url":"https://api.github.com/users/jiatongw/repos","events_url":"https://api.github.com/users/jiatongw/events{/privacy}","received_events_url":"https://api.github.com/users/jiatongw/received_events","type":"User","site_admin":false},"body":"Changed to `cloudprovider.NotImplemented` here.","created_at":"2018-08-03T20:34:54Z","updated_at":"2018-08-03T20:42:25Z","html_url":"https://github.com/kubernetes/kubernetes/pull/66795#discussion_r207660428","pull_request_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/66795","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments/207660428"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/66795#discussion_r207660428"},"pull_request":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/66795"}},"in_reply_to_id":206297335},"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/66795","id":204905524,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0OTA1NTI0","html_url":"https://github.com/kubernetes/kubernetes/pull/66795","diff_url":"https://github.com/kubernetes/kubernetes/pull/66795.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/66795.patch","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/66795","number":66795,"state":"open","locked":false,"title":"Add zones support for vSphere cloud provider(in-tree)","user":{"login":"jiatongw","id":14267454,"node_id":"MDQ6VXNlcjE0MjY3NDU0","avatar_url":"https://avatars3.githubusercontent.com/u/14267454?v=4","gravatar_id":"","url":"https://api.github.com/users/jiatongw","html_url":"https://github.com/jiatongw","followers_url":"https://api.github.com/users/jiatongw/followers","following_url":"https://api.github.com/users/jiatongw/following{/other_user}","gists_url":"https://api.github.com/users/jiatongw/gists{/gist_id}","starred_url":"https://api.github.com/users/jiatongw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiatongw/subscriptions","organizations_url":"https://api.github.com/users/jiatongw/orgs","repos_url":"https://api.github.com/users/jiatongw/repos","events_url":"https://api.github.com/users/jiatongw/events{/privacy}","received_events_url":"https://api.github.com/users/jiatongw/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/guide#your-first-contribution 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/guide/pull-requests.md#best-practices-for-faster-reviews\r\n3. Follow the instructions for writing a release note: https://git.k8s.io/community/contributors/guide/release-notes.md\r\n4. If the PR is unfinished, see how to mark it: https://git.k8s.io/community/contributors/guide/pull-requests.md#marking-unfinished-pull-requests\r\n-->\r\n\r\n**What this PR does / why we need it**:\r\nThis PR added zones(built-in node labels) support for vSphere cloud provider(in-tree).  More details can be found in the issue as below.\r\n\r\n**Which issue(s) this PR fixes** :\r\nPartially fixes phase 1 of issue #64021 \r\n\r\n**Special notes for your reviewer**:\r\n\r\n**Release note**:\r\n<!--  Write your release note:\r\n1. Enter your extended release note in the below block. If the PR requires additional action from users switching to the new release, include the string \"action required\".\r\n2. If no release note is required, just write \"NONE\".\r\n-->\r\n```release-note\r\nNONE\r\n```\r\n","created_at":"2018-07-30T19:27:03Z","updated_at":"2018-08-03T20:42:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f6f05f46ccf86ec0172bf9e79d12ea627064fec","assignee":{"login":"dougm","id":30171,"node_id":"MDQ6VXNlcjMwMTcx","avatar_url":"https://avatars3.githubusercontent.com/u/30171?v=4","gravatar_id":"","url":"https://api.github.com/users/dougm","html_url":"https://github.com/dougm","followers_url":"https://api.github.com/users/dougm/followers","following_url":"https://api.github.com/users/dougm/following{/other_user}","gists_url":"https://api.github.com/users/dougm/gists{/gist_id}","starred_url":"https://api.github.com/users/dougm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougm/subscriptions","organizations_url":"https://api.github.com/users/dougm/orgs","repos_url":"https://api.github.com/users/dougm/repos","events_url":"https://api.github.com/users/dougm/events{/privacy}","received_events_url":"https://api.github.com/users/dougm/received_events","type":"User","site_admin":false},"assignees":[{"login":"dougm","id":30171,"node_id":"MDQ6VXNlcjMwMTcx","avatar_url":"https://avatars3.githubusercontent.com/u/30171?v=4","gravatar_id":"","url":"https://api.github.com/users/dougm","html_url":"https://github.com/dougm","followers_url":"https://api.github.com/users/dougm/followers","following_url":"https://api.github.com/users/dougm/following{/other_user}","gists_url":"https://api.github.com/users/dougm/gists{/gist_id}","starred_url":"https://api.github.com/users/dougm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougm/subscriptions","organizations_url":"https://api.github.com/users/dougm/orgs","repos_url":"https://api.github.com/users/dougm/repos","events_url":"https://api.github.com/users/dougm/events{/privacy}","received_events_url":"https://api.github.com/users/dougm/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"lavalamp","id":647318,"node_id":"MDQ6VXNlcjY0NzMxOA==","avatar_url":"https://avatars0.githubusercontent.com/u/647318?v=4","gravatar_id":"","url":"https://api.github.com/users/lavalamp","html_url":"https://github.com/lavalamp","followers_url":"https://api.github.com/users/lavalamp/followers","following_url":"https://api.github.com/users/lavalamp/following{/other_user}","gists_url":"https://api.github.com/users/lavalamp/gists{/gist_id}","starred_url":"https://api.github.com/users/lavalamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lavalamp/subscriptions","organizations_url":"https://api.github.com/users/lavalamp/orgs","repos_url":"https://api.github.com/users/lavalamp/repos","events_url":"https://api.github.com/users/lavalamp/events{/privacy}","received_events_url":"https://api.github.com/users/lavalamp/received_events","type":"User","site_admin":false},{"login":"freehan","id":1332699,"node_id":"MDQ6VXNlcjEzMzI2OTk=","avatar_url":"https://avatars3.githubusercontent.com/u/1332699?v=4","gravatar_id":"","url":"https://api.github.com/users/freehan","html_url":"https://github.com/freehan","followers_url":"https://api.github.com/users/freehan/followers","following_url":"https://api.github.com/users/freehan/following{/other_user}","gists_url":"https://api.github.com/users/freehan/gists{/gist_id}","starred_url":"https://api.github.com/users/freehan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freehan/subscriptions","organizations_url":"https://api.github.com/users/freehan/orgs","repos_url":"https://api.github.com/users/freehan/repos","events_url":"https://api.github.com/users/freehan/events{/privacy}","received_events_url":"https://api.github.com/users/freehan/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":477397086,"node_id":"MDU6TGFiZWw0NzczOTcwODY=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cncf-cla:%20yes","name":"cncf-cla: yes","color":"bfe5bf","default":false},{"id":573014062,"node_id":"MDU6TGFiZWw1NzMwMTQwNjI=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/needs-ok-to-test","name":"needs-ok-to-test","color":"b60205","default":false},{"id":349530249,"node_id":"MDU6TGFiZWwzNDk1MzAyNDk=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/release-note-none","name":"release-note-none","color":"c2e0c6","default":false},{"id":958178286,"node_id":"MDU6TGFiZWw5NTgxNzgyODY=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/cloud-provider","name":"sig/cloud-provider","color":"d2b48c","default":false},{"id":253450978,"node_id":"MDU6TGFiZWwyNTM0NTA5Nzg=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/L","name":"size/L","color":"ee9900","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/66795/commits","review_comments_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/66795/comments","review_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/66795/comments","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/d9d412e76baa7ae8171b02d739eafe2d72416bc7","head":{"label":"jiatongw:zones_vendor","ref":"zones_vendor","sha":"d9d412e76baa7ae8171b02d739eafe2d72416bc7","user":{"login":"jiatongw","id":14267454,"node_id":"MDQ6VXNlcjE0MjY3NDU0","avatar_url":"https://avatars3.githubusercontent.com/u/14267454?v=4","gravatar_id":"","url":"https://api.github.com/users/jiatongw","html_url":"https://github.com/jiatongw","followers_url":"https://api.github.com/users/jiatongw/followers","following_url":"https://api.github.com/users/jiatongw/following{/other_user}","gists_url":"https://api.github.com/users/jiatongw/gists{/gist_id}","starred_url":"https://api.github.com/users/jiatongw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiatongw/subscriptions","organizations_url":"https://api.github.com/users/jiatongw/orgs","repos_url":"https://api.github.com/users/jiatongw/repos","events_url":"https://api.github.com/users/jiatongw/events{/privacy}","received_events_url":"https://api.github.com/users/jiatongw/received_events","type":"User","site_admin":false},"repo":{"id":139526016,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk1MjYwMTY=","name":"kubernetes","full_name":"jiatongw/kubernetes","owner":{"login":"jiatongw","id":14267454,"node_id":"MDQ6VXNlcjE0MjY3NDU0","avatar_url":"https://avatars3.githubusercontent.com/u/14267454?v=4","gravatar_id":"","url":"https://api.github.com/users/jiatongw","html_url":"https://github.com/jiatongw","followers_url":"https://api.github.com/users/jiatongw/followers","following_url":"https://api.github.com/users/jiatongw/following{/other_user}","gists_url":"https://api.github.com/users/jiatongw/gists{/gist_id}","starred_url":"https://api.github.com/users/jiatongw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiatongw/subscriptions","organizations_url":"https://api.github.com/users/jiatongw/orgs","repos_url":"https://api.github.com/users/jiatongw/repos","events_url":"https://api.github.com/users/jiatongw/events{/privacy}","received_events_url":"https://api.github.com/users/jiatongw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jiatongw/kubernetes","description":"Production-Grade Container Scheduling and Management","fork":true,"url":"https://api.github.com/repos/jiatongw/kubernetes","forks_url":"https://api.github.com/repos/jiatongw/kubernetes/forks","keys_url":"https://api.github.com/repos/jiatongw/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jiatongw/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jiatongw/kubernetes/teams","hooks_url":"https://api.github.com/repos/jiatongw/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/jiatongw/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/jiatongw/kubernetes/events","assignees_url":"https://api.github.com/repos/jiatongw/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/jiatongw/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/jiatongw/kubernetes/tags","blobs_url":"https://api.github.com/repos/jiatongw/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jiatongw/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jiatongw/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/jiatongw/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jiatongw/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/jiatongw/kubernetes/languages","stargazers_url":"https://api.github.com/repos/jiatongw/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/jiatongw/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/jiatongw/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/jiatongw/kubernetes/subscription","commits_url":"https://api.github.com/repos/jiatongw/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/jiatongw/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/jiatongw/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/jiatongw/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/jiatongw/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/jiatongw/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jiatongw/kubernetes/merges","archive_url":"https://api.github.com/repos/jiatongw/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jiatongw/kubernetes/downloads","issues_url":"https://api.github.com/repos/jiatongw/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/jiatongw/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/jiatongw/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/jiatongw/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jiatongw/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/jiatongw/kubernetes/releases{/id}","deployments_url":"https://api.github.com/repos/jiatongw/kubernetes/deployments","created_at":"2018-07-03T03:52:15Z","updated_at":"2018-07-17T16:49:50Z","pushed_at":"2018-08-03T20:28:12Z","git_url":"git://github.com/jiatongw/kubernetes.git","ssh_url":"git@github.com:jiatongw/kubernetes.git","clone_url":"https://github.com/jiatongw/kubernetes.git","svn_url":"https://github.com/jiatongw/kubernetes","homepage":"http://kubernetes.io","size":577212,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kubernetes:master","ref":"master","sha":"0c8fe56ea41d59b9f795949fbced9fde6ab422eb","user":{"login":"kubernetes","id":13629408,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNjI5NDA4","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,"node_id":"MDEwOlJlcG9zaXRvcnkyMDU4MDQ5OA==","name":"kubernetes","full_name":"kubernetes/kubernetes","owner":{"login":"kubernetes","id":13629408,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNjI5NDA4","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":"2018-08-03T19:43:58Z","pushed_at":"2018-08-03T20:41:23Z","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":796181,"stargazers_count":39584,"watchers_count":39584,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":13794,"mirror_url":null,"archived":false,"open_issues_count":3146,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":13794,"open_issues":3146,"watchers":39584,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/66795"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/66795"},"issue":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/66795"},"comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/66795/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/66795/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/66795/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/kubernetes/statuses/d9d412e76baa7ae8171b02d739eafe2d72416bc7"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jiatongw"}}