{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments/51666588","id":51666588,"diff_hunk":"@@ -0,0 +1,74 @@\n+/*\n+Copyright 2014 The Kubernetes Authors 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+//use for --watch-cache-sizes param of kube-apiserver\n+//make watch cache size of resources configurable\n+package capability","path":"pkg/registry/capability/capability.go","position":19,"original_position":19,"commit_id":"94851c54dfb897fc7e79a1d8272ba615a7c30f8e","original_commit_id":"94851c54dfb897fc7e79a1d8272ba615a7c30f8e","user":{"login":"lavalamp","id":647318,"avatar_url":"https://avatars.githubusercontent.com/u/647318?v=3","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},"body":"Can we name this package size, watchsize, cachesize, or some combination of this? I think capability is a confusing word for the contents of this.","created_at":"2016-02-03T01:30:09Z","updated_at":"2016-02-03T01:30:09Z","html_url":"https://github.com/kubernetes/kubernetes/pull/19783#discussion_r51666588","pull_request_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/19783","_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments/51666588"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/19783#discussion_r51666588"},"pull_request":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/19783"}}},"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/19783","id":56305420,"html_url":"https://github.com/kubernetes/kubernetes/pull/19783","diff_url":"https://github.com/kubernetes/kubernetes/pull/19783.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/19783.patch","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/19783","number":19783,"state":"open","locked":false,"title":"add a param(--watch-cache-sizes) of kube-apiserver to set watch cache  capabilities","user":{"login":"magicwang-cn","id":7587313,"avatar_url":"https://avatars.githubusercontent.com/u/7587313?v=3","gravatar_id":"","url":"https://api.github.com/users/magicwang-cn","html_url":"https://github.com/magicwang-cn","followers_url":"https://api.github.com/users/magicwang-cn/followers","following_url":"https://api.github.com/users/magicwang-cn/following{/other_user}","gists_url":"https://api.github.com/users/magicwang-cn/gists{/gist_id}","starred_url":"https://api.github.com/users/magicwang-cn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magicwang-cn/subscriptions","organizations_url":"https://api.github.com/users/magicwang-cn/orgs","repos_url":"https://api.github.com/users/magicwang-cn/repos","events_url":"https://api.github.com/users/magicwang-cn/events{/privacy}","received_events_url":"https://api.github.com/users/magicwang-cn/received_events","type":"User","site_admin":false},"body":"- add a new param(`--watch-cache-sizes`) of kube-apiserver to set watch cache size, for example: --watch-cache-sizes=[pods#10000,nodes#1000]\r\n- the watch cache size can be adjusted with different scale clusters(`the size is small when the cluster is small`)\r\n\r\nref  #18266 \r\n@gmarek ","created_at":"2016-01-18T06:16:33Z","updated_at":"2016-02-03T01:30:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"86a314c7b0beee8caea0464bcc902fed32d87783","assignee":{"login":"gmarek","id":1703842,"avatar_url":"https://avatars.githubusercontent.com/u/1703842?v=3","gravatar_id":"","url":"https://api.github.com/users/gmarek","html_url":"https://github.com/gmarek","followers_url":"https://api.github.com/users/gmarek/followers","following_url":"https://api.github.com/users/gmarek/following{/other_user}","gists_url":"https://api.github.com/users/gmarek/gists{/gist_id}","starred_url":"https://api.github.com/users/gmarek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmarek/subscriptions","organizations_url":"https://api.github.com/users/gmarek/orgs","repos_url":"https://api.github.com/users/gmarek/repos","events_url":"https://api.github.com/users/gmarek/events{/privacy}","received_events_url":"https://api.github.com/users/gmarek/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/19783/commits","review_comments_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/19783/comments","review_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/19783/comments","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/94851c54dfb897fc7e79a1d8272ba615a7c30f8e","head":{"label":"magicwang-cn:master","ref":"master","sha":"94851c54dfb897fc7e79a1d8272ba615a7c30f8e","user":{"login":"magicwang-cn","id":7587313,"avatar_url":"https://avatars.githubusercontent.com/u/7587313?v=3","gravatar_id":"","url":"https://api.github.com/users/magicwang-cn","html_url":"https://github.com/magicwang-cn","followers_url":"https://api.github.com/users/magicwang-cn/followers","following_url":"https://api.github.com/users/magicwang-cn/following{/other_user}","gists_url":"https://api.github.com/users/magicwang-cn/gists{/gist_id}","starred_url":"https://api.github.com/users/magicwang-cn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magicwang-cn/subscriptions","organizations_url":"https://api.github.com/users/magicwang-cn/orgs","repos_url":"https://api.github.com/users/magicwang-cn/repos","events_url":"https://api.github.com/users/magicwang-cn/events{/privacy}","received_events_url":"https://api.github.com/users/magicwang-cn/received_events","type":"User","site_admin":false},"repo":{"id":49845637,"name":"kubernetes","full_name":"magicwang-cn/kubernetes","owner":{"login":"magicwang-cn","id":7587313,"avatar_url":"https://avatars.githubusercontent.com/u/7587313?v=3","gravatar_id":"","url":"https://api.github.com/users/magicwang-cn","html_url":"https://github.com/magicwang-cn","followers_url":"https://api.github.com/users/magicwang-cn/followers","following_url":"https://api.github.com/users/magicwang-cn/following{/other_user}","gists_url":"https://api.github.com/users/magicwang-cn/gists{/gist_id}","starred_url":"https://api.github.com/users/magicwang-cn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magicwang-cn/subscriptions","organizations_url":"https://api.github.com/users/magicwang-cn/orgs","repos_url":"https://api.github.com/users/magicwang-cn/repos","events_url":"https://api.github.com/users/magicwang-cn/events{/privacy}","received_events_url":"https://api.github.com/users/magicwang-cn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/magicwang-cn/kubernetes","description":"Container Cluster Manager from Google","fork":true,"url":"https://api.github.com/repos/magicwang-cn/kubernetes","forks_url":"https://api.github.com/repos/magicwang-cn/kubernetes/forks","keys_url":"https://api.github.com/repos/magicwang-cn/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/magicwang-cn/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/magicwang-cn/kubernetes/teams","hooks_url":"https://api.github.com/repos/magicwang-cn/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/magicwang-cn/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/magicwang-cn/kubernetes/events","assignees_url":"https://api.github.com/repos/magicwang-cn/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/magicwang-cn/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/magicwang-cn/kubernetes/tags","blobs_url":"https://api.github.com/repos/magicwang-cn/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/magicwang-cn/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/magicwang-cn/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/magicwang-cn/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/magicwang-cn/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/magicwang-cn/kubernetes/languages","stargazers_url":"https://api.github.com/repos/magicwang-cn/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/magicwang-cn/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/magicwang-cn/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/magicwang-cn/kubernetes/subscription","commits_url":"https://api.github.com/repos/magicwang-cn/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/magicwang-cn/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/magicwang-cn/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/magicwang-cn/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/magicwang-cn/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/magicwang-cn/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/magicwang-cn/kubernetes/merges","archive_url":"https://api.github.com/repos/magicwang-cn/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/magicwang-cn/kubernetes/downloads","issues_url":"https://api.github.com/repos/magicwang-cn/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/magicwang-cn/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/magicwang-cn/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/magicwang-cn/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/magicwang-cn/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/magicwang-cn/kubernetes/releases{/id}","deployments_url":"https://api.github.com/repos/magicwang-cn/kubernetes/deployments","created_at":"2016-01-18T01:58:41Z","updated_at":"2016-01-18T01:58:51Z","pushed_at":"2016-02-02T13:00:17Z","git_url":"git://github.com/magicwang-cn/kubernetes.git","ssh_url":"git@github.com:magicwang-cn/kubernetes.git","clone_url":"https://github.com/magicwang-cn/kubernetes.git","svn_url":"https://github.com/magicwang-cn/kubernetes","homepage":"http://kubernetes.io","size":158760,"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":"f7cab1fd3ec89a50601ce86f05919cd3d2cdfcd2","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}","deployments_url":"https://api.github.com/repos/kubernetes/kubernetes/deployments","created_at":"2014-06-06T22:56:04Z","updated_at":"2016-02-02T21:06:36Z","pushed_at":"2016-02-03T01:28:24Z","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":314968,"stargazers_count":12474,"watchers_count":12474,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3530,"mirror_url":null,"open_issues_count":2818,"forks":3530,"open_issues":2818,"watchers":12474,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/19783"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/19783"},"issue":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/19783"},"comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/19783/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/19783/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/19783/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/kubernetes/statuses/94851c54dfb897fc7e79a1d8272ba615a7c30f8e"}}}}