{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/16734","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/16734/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/16734/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/16734/events","html_url":"https://github.com/kubernetes/kubernetes/issues/16734","id":114851615,"number":16734,"title":"HPA type should accept a resource","user":{"login":"deads2k","id":8225098,"avatar_url":"https://avatars.githubusercontent.com/u/8225098?v=3","gravatar_id":"","url":"https://api.github.com/users/deads2k","html_url":"https://github.com/deads2k","followers_url":"https://api.github.com/users/deads2k/followers","following_url":"https://api.github.com/users/deads2k/following{/other_user}","gists_url":"https://api.github.com/users/deads2k/gists{/gist_id}","starred_url":"https://api.github.com/users/deads2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deads2k/subscriptions","organizations_url":"https://api.github.com/users/deads2k/orgs","repos_url":"https://api.github.com/users/deads2k/repos","events_url":"https://api.github.com/users/deads2k/events{/privacy}","received_events_url":"https://api.github.com/users/deads2k/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/control-plane","name":"team/control-plane","color":"d2b48c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-03T16:16:09Z","updated_at":"2015-11-05T16:56:42Z","closed_at":null,"body":"The HPA type currently has a `kind` field.  While sometime unambiguous, the HPA contract is actually with a `group, resource` tuple.  You can see the expression of this in the Scaler client, where they map the `kind` to a `resource`.  Unfortunately, that construct requires that the kube process be aware of and have registered the `kind` and associated a `resource`.  In the general case, that won't happen.\r\n\r\n`kind` should still be an option, but a `resource` (mutually exclusive to kind) should be allowed."},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/154121499","html_url":"https://github.com/kubernetes/kubernetes/issues/16734#issuecomment-154121499","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/16734","id":154121499,"user":{"login":"ncdc","id":354,"avatar_url":"https://avatars.githubusercontent.com/u/354?v=3","gravatar_id":"","url":"https://api.github.com/users/ncdc","html_url":"https://github.com/ncdc","followers_url":"https://api.github.com/users/ncdc/followers","following_url":"https://api.github.com/users/ncdc/following{/other_user}","gists_url":"https://api.github.com/users/ncdc/gists{/gist_id}","starred_url":"https://api.github.com/users/ncdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncdc/subscriptions","organizations_url":"https://api.github.com/users/ncdc/orgs","repos_url":"https://api.github.com/users/ncdc/repos","events_url":"https://api.github.com/users/ncdc/events{/privacy}","received_events_url":"https://api.github.com/users/ncdc/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T16:56:42Z","updated_at":"2015-11-05T16:56:42Z","body":"cc @piosz "}}