{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/61702","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/61702/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/61702/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/61702/events","html_url":"https://github.com/kubernetes/kubernetes/issues/61702","id":308509771,"number":61702,"title":"resourcequota scopes should support user-defined scopes","user":{"login":"ddongchen","id":18438172,"avatar_url":"https://avatars0.githubusercontent.com/u/18438172?v=4","gravatar_id":"","url":"https://api.github.com/users/ddongchen","html_url":"https://github.com/ddongchen","followers_url":"https://api.github.com/users/ddongchen/followers","following_url":"https://api.github.com/users/ddongchen/following{/other_user}","gists_url":"https://api.github.com/users/ddongchen/gists{/gist_id}","starred_url":"https://api.github.com/users/ddongchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddongchen/subscriptions","organizations_url":"https://api.github.com/users/ddongchen/orgs","repos_url":"https://api.github.com/users/ddongchen/repos","events_url":"https://api.github.com/users/ddongchen/events{/privacy}","received_events_url":"https://api.github.com/users/ddongchen/received_events","type":"User","site_admin":false},"labels":[{"id":173493835,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/api-machinery","name":"sig/api-machinery","color":"d2b48c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-26T10:09:28Z","updated_at":"2018-03-26T20:38:13Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"<!-- This form is for bug reports and feature requests ONLY! \r\n\r\nIf you're looking for help check [Stack Overflow](https://stackoverflow.com/questions/tagged/kubernetes) and the [troubleshooting guide](https://kubernetes.io/docs/tasks/debug-application-cluster/troubleshooting/).\r\n-->\r\n\r\n /kind feature\r\n/sig api-machinery\r\n\r\n For the \"ResourceQuota\"->\"ResourceQuotaSpec\"->\"Scopes\", we just support defined scopes, they are:\r\n\r\nconst (\r\n\t// Match all pod objects where spec.activeDeadlineSeconds\r\n\tResourceQuotaScopeTerminating ResourceQuotaScope = \"Terminating\"\r\n\t// Match all pod objects where !spec.activeDeadlineSeconds\r\n\tResourceQuotaScopeNotTerminating ResourceQuotaScope = \"NotTerminating\"\r\n\t// Match all pod objects that have best effort quality of service\r\n\tResourceQuotaScopeBestEffort ResourceQuotaScope = \"BestEffort\"\r\n\t// Match all pod objects that do not have best effort quality of service\r\n\tResourceQuotaScopeNotBestEffort ResourceQuotaScope = \"NotBestEffort\"\r\n)\r\n\r\n  Shall we support user-defined scopes? \r\n  For example, I created different resource quota for different workload in the same namespace, and I want to check the separated quota of different workload.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/376303656","html_url":"https://github.com/kubernetes/kubernetes/issues/61702#issuecomment-376303656","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/61702","id":376303656,"user":{"login":"lavalamp","id":647318,"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},"created_at":"2018-03-26T20:38:13Z","updated_at":"2018-03-26T20:38:13Z","author_association":"OWNER","body":"cc @derekwaynecarr \r\ncc @yliaog "}}
{"actor":{"display_login":"lavalamp"}}