{"action":"opened","number":28594,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/28594","id":76585574,"html_url":"https://github.com/kubernetes/kubernetes/pull/28594","diff_url":"https://github.com/kubernetes/kubernetes/pull/28594.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/28594.patch","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/28594","number":28594,"state":"open","locked":false,"title":"Scheduler adds NvidiaGPU comparision in getResourceRequest()","user":{"login":"lixiaobing10051267","id":16774510,"avatar_url":"https://avatars.githubusercontent.com/u/16774510?v=3","gravatar_id":"","url":"https://api.github.com/users/lixiaobing10051267","html_url":"https://github.com/lixiaobing10051267","followers_url":"https://api.github.com/users/lixiaobing10051267/followers","following_url":"https://api.github.com/users/lixiaobing10051267/following{/other_user}","gists_url":"https://api.github.com/users/lixiaobing10051267/gists{/gist_id}","starred_url":"https://api.github.com/users/lixiaobing10051267/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lixiaobing10051267/subscriptions","organizations_url":"https://api.github.com/users/lixiaobing10051267/orgs","repos_url":"https://api.github.com/users/lixiaobing10051267/repos","events_url":"https://api.github.com/users/lixiaobing10051267/events{/privacy}","received_events_url":"https://api.github.com/users/lixiaobing10051267/received_events","type":"User","site_admin":false},"body":"In file \"plugin\\pkg\\scheduler\\algorithm\\predicates\\predicates.go\", function getResourceRequest(), line 391, only mem and cpu handled, NvidiaGPU is required to add to compare:\r\n\t\tif gpu := requests.NvidiaGPU().Value(); gpu > result.nvidiaGPU {\r\n\t\t\tresult.nvidiaGPU = gpu\r\n\t\t} ","created_at":"2016-07-07T12:21:04Z","updated_at":"2016-07-07T12:21:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9e9803c3c6c12db29b37a707580be88881d2ff30","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/28594/commits","review_comments_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/28594/comments","review_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/28594/comments","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/fcfed1f35e8832ce5362937cb838ff10d83e9baa","head":{"label":"lixiaobing10051267:masterGPU","ref":"masterGPU","sha":"fcfed1f35e8832ce5362937cb838ff10d83e9baa","user":{"login":"lixiaobing10051267","id":16774510,"avatar_url":"https://avatars.githubusercontent.com/u/16774510?v=3","gravatar_id":"","url":"https://api.github.com/users/lixiaobing10051267","html_url":"https://github.com/lixiaobing10051267","followers_url":"https://api.github.com/users/lixiaobing10051267/followers","following_url":"https://api.github.com/users/lixiaobing10051267/following{/other_user}","gists_url":"https://api.github.com/users/lixiaobing10051267/gists{/gist_id}","starred_url":"https://api.github.com/users/lixiaobing10051267/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lixiaobing10051267/subscriptions","organizations_url":"https://api.github.com/users/lixiaobing10051267/orgs","repos_url":"https://api.github.com/users/lixiaobing10051267/repos","events_url":"https://api.github.com/users/lixiaobing10051267/events{/privacy}","received_events_url":"https://api.github.com/users/lixiaobing10051267/received_events","type":"User","site_admin":false},"repo":{"id":62378520,"name":"kubernetes","full_name":"lixiaobing10051267/kubernetes","owner":{"login":"lixiaobing10051267","id":16774510,"avatar_url":"https://avatars.githubusercontent.com/u/16774510?v=3","gravatar_id":"","url":"https://api.github.com/users/lixiaobing10051267","html_url":"https://github.com/lixiaobing10051267","followers_url":"https://api.github.com/users/lixiaobing10051267/followers","following_url":"https://api.github.com/users/lixiaobing10051267/following{/other_user}","gists_url":"https://api.github.com/users/lixiaobing10051267/gists{/gist_id}","starred_url":"https://api.github.com/users/lixiaobing10051267/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lixiaobing10051267/subscriptions","organizations_url":"https://api.github.com/users/lixiaobing10051267/orgs","repos_url":"https://api.github.com/users/lixiaobing10051267/repos","events_url":"https://api.github.com/users/lixiaobing10051267/events{/privacy}","received_events_url":"https://api.github.com/users/lixiaobing10051267/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lixiaobing10051267/kubernetes","description":"Production-Grade Container Scheduling and Management","fork":true,"url":"https://api.github.com/repos/lixiaobing10051267/kubernetes","forks_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/forks","keys_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/teams","hooks_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/events","assignees_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/tags","blobs_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/languages","stargazers_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/subscription","commits_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/merges","archive_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/downloads","issues_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/releases{/id}","deployments_url":"https://api.github.com/repos/lixiaobing10051267/kubernetes/deployments","created_at":"2016-07-01T08:42:18Z","updated_at":"2016-07-01T08:42:36Z","pushed_at":"2016-07-07T12:16:47Z","git_url":"git://github.com/lixiaobing10051267/kubernetes.git","ssh_url":"git@github.com:lixiaobing10051267/kubernetes.git","clone_url":"https://github.com/lixiaobing10051267/kubernetes.git","svn_url":"https://github.com/lixiaobing10051267/kubernetes","homepage":"http://kubernetes.io","size":279033,"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":"kubernetes:master","ref":"master","sha":"acda24ae256cd9888f84002c135bef37fcc770b7","user":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","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://avatars.githubusercontent.com/u/13629408?v=3","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":"2016-07-07T11:42:02Z","pushed_at":"2016-07-07T12:21:04Z","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":488613,"stargazers_count":15365,"watchers_count":15365,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4803,"mirror_url":null,"open_issues_count":3859,"forks":4803,"open_issues":3859,"watchers":15365,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/28594"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/28594"},"issue":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/28594"},"comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/28594/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/28594/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/28594/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/kubernetes/statuses/fcfed1f35e8832ce5362937cb838ff10d83e9baa"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"lixiaobing10051267"}}