{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments/46077890","id":46077890,"diff_hunk":"@@ -152,6 +152,11 @@ which the client has set a scheduler annotation that does not correspond to a ru\n 2. Dynamic launching scheduler(s) and registering to admission controller (as an external call). This also\n requires some work on authorization and authentication to control what schedulers can write the /binding\n subresource of which pods.\n+3. Optimize the behaviors of priority functions in multi-scheduler scenario. In the case where multiple schedulers have\n+the same predicate and priority functions(for example, when using multiple schedulers for parallelism rather than to\n+customize the scheduling policies), all schedulers would tend to pick the same node as \"best\". To solve this problem,\n+we can pass an optional flag such as`randomize-node-selection = N`to scheduler, setting this flag would cause the scheduler","path":"docs/proposals/multiple-schedulers.md","position":7,"original_position":7,"commit_id":"ba597def5212dc5adf953de1707c3b3480f2be1b","original_commit_id":"ba597def5212dc5adf953de1707c3b3480f2be1b","user":{"login":"davidopp","id":8264113,"avatar_url":"https://avatars.githubusercontent.com/u/8264113?v=3","gravatar_id":"","url":"https://api.github.com/users/davidopp","html_url":"https://github.com/davidopp","followers_url":"https://api.github.com/users/davidopp/followers","following_url":"https://api.github.com/users/davidopp/following{/other_user}","gists_url":"https://api.github.com/users/davidopp/gists{/gist_id}","starred_url":"https://api.github.com/users/davidopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidopp/subscriptions","organizations_url":"https://api.github.com/users/davidopp/orgs","repos_url":"https://api.github.com/users/davidopp/repos","events_url":"https://api.github.com/users/davidopp/events{/privacy}","received_events_url":"https://api.github.com/users/davidopp/received_events","type":"User","site_admin":false},"body":"sorry to nitpick, but probably better to write this as `--randomize-node-selection=N`\r\n","created_at":"2015-11-28T08:59:24Z","updated_at":"2015-11-28T08:59:24Z","html_url":"https://github.com/kubernetes/kubernetes/pull/17878#discussion_r46077890","pull_request_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/17878","_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments/46077890"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/17878#discussion_r46077890"},"pull_request":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/17878"}}},"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/17878","id":52003160,"html_url":"https://github.com/kubernetes/kubernetes/pull/17878","diff_url":"https://github.com/kubernetes/kubernetes/pull/17878.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/17878.patch","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17878","number":17878,"state":"open","locked":false,"title":"add optimization of priority functions section for multi-scheduler proposal","user":{"login":"mqliang","id":12423751,"avatar_url":"https://avatars.githubusercontent.com/u/12423751?v=3","gravatar_id":"","url":"https://api.github.com/users/mqliang","html_url":"https://github.com/mqliang","followers_url":"https://api.github.com/users/mqliang/followers","following_url":"https://api.github.com/users/mqliang/following{/other_user}","gists_url":"https://api.github.com/users/mqliang/gists{/gist_id}","starred_url":"https://api.github.com/users/mqliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mqliang/subscriptions","organizations_url":"https://api.github.com/users/mqliang/orgs","repos_url":"https://api.github.com/users/mqliang/repos","events_url":"https://api.github.com/users/mqliang/events{/privacy}","received_events_url":"https://api.github.com/users/mqliang/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-27T15:02:54Z","updated_at":"2015-11-28T08:59:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"da26ad2e5bce2986f16f75438fede793134d4ae5","assignee":{"login":"davidopp","id":8264113,"avatar_url":"https://avatars.githubusercontent.com/u/8264113?v=3","gravatar_id":"","url":"https://api.github.com/users/davidopp","html_url":"https://github.com/davidopp","followers_url":"https://api.github.com/users/davidopp/followers","following_url":"https://api.github.com/users/davidopp/following{/other_user}","gists_url":"https://api.github.com/users/davidopp/gists{/gist_id}","starred_url":"https://api.github.com/users/davidopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidopp/subscriptions","organizations_url":"https://api.github.com/users/davidopp/orgs","repos_url":"https://api.github.com/users/davidopp/repos","events_url":"https://api.github.com/users/davidopp/events{/privacy}","received_events_url":"https://api.github.com/users/davidopp/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/17878/commits","review_comments_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/17878/comments","review_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17878/comments","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/ba597def5212dc5adf953de1707c3b3480f2be1b","head":{"label":"mqliang:multiSchedulerProposal","ref":"multiSchedulerProposal","sha":"ba597def5212dc5adf953de1707c3b3480f2be1b","user":{"login":"mqliang","id":12423751,"avatar_url":"https://avatars.githubusercontent.com/u/12423751?v=3","gravatar_id":"","url":"https://api.github.com/users/mqliang","html_url":"https://github.com/mqliang","followers_url":"https://api.github.com/users/mqliang/followers","following_url":"https://api.github.com/users/mqliang/following{/other_user}","gists_url":"https://api.github.com/users/mqliang/gists{/gist_id}","starred_url":"https://api.github.com/users/mqliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mqliang/subscriptions","organizations_url":"https://api.github.com/users/mqliang/orgs","repos_url":"https://api.github.com/users/mqliang/repos","events_url":"https://api.github.com/users/mqliang/events{/privacy}","received_events_url":"https://api.github.com/users/mqliang/received_events","type":"User","site_admin":false},"repo":{"id":42916417,"name":"kubernetes","full_name":"mqliang/kubernetes","owner":{"login":"mqliang","id":12423751,"avatar_url":"https://avatars.githubusercontent.com/u/12423751?v=3","gravatar_id":"","url":"https://api.github.com/users/mqliang","html_url":"https://github.com/mqliang","followers_url":"https://api.github.com/users/mqliang/followers","following_url":"https://api.github.com/users/mqliang/following{/other_user}","gists_url":"https://api.github.com/users/mqliang/gists{/gist_id}","starred_url":"https://api.github.com/users/mqliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mqliang/subscriptions","organizations_url":"https://api.github.com/users/mqliang/orgs","repos_url":"https://api.github.com/users/mqliang/repos","events_url":"https://api.github.com/users/mqliang/events{/privacy}","received_events_url":"https://api.github.com/users/mqliang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mqliang/kubernetes","description":"Container Cluster Manager from Google","fork":true,"url":"https://api.github.com/repos/mqliang/kubernetes","forks_url":"https://api.github.com/repos/mqliang/kubernetes/forks","keys_url":"https://api.github.com/repos/mqliang/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mqliang/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mqliang/kubernetes/teams","hooks_url":"https://api.github.com/repos/mqliang/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/mqliang/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/mqliang/kubernetes/events","assignees_url":"https://api.github.com/repos/mqliang/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/mqliang/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/mqliang/kubernetes/tags","blobs_url":"https://api.github.com/repos/mqliang/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mqliang/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mqliang/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/mqliang/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mqliang/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/mqliang/kubernetes/languages","stargazers_url":"https://api.github.com/repos/mqliang/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/mqliang/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/mqliang/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/mqliang/kubernetes/subscription","commits_url":"https://api.github.com/repos/mqliang/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/mqliang/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/mqliang/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/mqliang/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/mqliang/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/mqliang/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mqliang/kubernetes/merges","archive_url":"https://api.github.com/repos/mqliang/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mqliang/kubernetes/downloads","issues_url":"https://api.github.com/repos/mqliang/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/mqliang/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/mqliang/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/mqliang/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mqliang/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/mqliang/kubernetes/releases{/id}","created_at":"2015-09-22T06:44:47Z","updated_at":"2015-09-22T06:45:03Z","pushed_at":"2015-11-28T08:55:37Z","git_url":"git://github.com/mqliang/kubernetes.git","ssh_url":"git@github.com:mqliang/kubernetes.git","clone_url":"https://github.com/mqliang/kubernetes.git","svn_url":"https://github.com/mqliang/kubernetes","homepage":"http://kubernetes.io","size":138578,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"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":"bd7984266af9a895ba89555122b1dd96729bd837","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":"Container Cluster Manager from Google","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}","created_at":"2014-06-06T22:56:04Z","updated_at":"2015-11-28T05:44:25Z","pushed_at":"2015-11-28T08:55:42Z","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":290100,"stargazers_count":11502,"watchers_count":11502,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3083,"mirror_url":null,"open_issues_count":2439,"forks":3083,"open_issues":2439,"watchers":11502,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/17878"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/17878"},"issue":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/17878"},"comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/17878/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/17878/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/17878/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/kubernetes/statuses/ba597def5212dc5adf953de1707c3b3480f2be1b"}}}}