{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/65718","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/65718/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/65718/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/65718/events","html_url":"https://github.com/kubernetes/kubernetes/issues/65718","id":337619123,"node_id":"MDU6SXNzdWUzMzc2MTkxMjM=","number":65718,"title":"kubectl get pods.v1beta1.metrics.k8s.io fails, but should succeed","user":{"login":"smarterclayton","id":1163175,"node_id":"MDQ6VXNlcjExNjMxNzU=","avatar_url":"https://avatars0.githubusercontent.com/u/1163175?v=4","gravatar_id":"","url":"https://api.github.com/users/smarterclayton","html_url":"https://github.com/smarterclayton","followers_url":"https://api.github.com/users/smarterclayton/followers","following_url":"https://api.github.com/users/smarterclayton/following{/other_user}","gists_url":"https://api.github.com/users/smarterclayton/gists{/gist_id}","starred_url":"https://api.github.com/users/smarterclayton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarterclayton/subscriptions","organizations_url":"https://api.github.com/users/smarterclayton/orgs","repos_url":"https://api.github.com/users/smarterclayton/repos","events_url":"https://api.github.com/users/smarterclayton/events{/privacy}","received_events_url":"https://api.github.com/users/smarterclayton/received_events","type":"User","site_admin":false},"labels":[{"id":105146071,"node_id":"MDU6TGFiZWwxMDUxNDYwNzE=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/bug","name":"kind/bug","color":"e11d21","default":false},{"id":711852570,"node_id":"MDU6TGFiZWw3MTE4NTI1NzA=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/milestone/incomplete-labels","name":"milestone/incomplete-labels","color":"ededed","default":false},{"id":238245616,"node_id":"MDU6TGFiZWwyMzgyNDU2MTY=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/autoscaling","name":"sig/autoscaling","color":"d2b48c","default":false},{"id":450823910,"node_id":"MDU6TGFiZWw0NTA4MjM5MTA=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/cli","name":"sig/cli","color":"d2b48c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/kubernetes/kubernetes/milestones/39","html_url":"https://github.com/kubernetes/kubernetes/milestone/39","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/milestones/39/labels","id":2913712,"node_id":"MDk6TWlsZXN0b25lMjkxMzcxMg==","number":39,"title":"v1.12","description":"","creator":{"login":"thockin","id":5595220,"node_id":"MDQ6VXNlcjU1OTUyMjA=","avatar_url":"https://avatars0.githubusercontent.com/u/5595220?v=4","gravatar_id":"","url":"https://api.github.com/users/thockin","html_url":"https://github.com/thockin","followers_url":"https://api.github.com/users/thockin/followers","following_url":"https://api.github.com/users/thockin/following{/other_user}","gists_url":"https://api.github.com/users/thockin/gists{/gist_id}","starred_url":"https://api.github.com/users/thockin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thockin/subscriptions","organizations_url":"https://api.github.com/users/thockin/orgs","repos_url":"https://api.github.com/users/thockin/repos","events_url":"https://api.github.com/users/thockin/events{/privacy}","received_events_url":"https://api.github.com/users/thockin/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":16,"state":"open","created_at":"2017-11-15T06:32:51Z","updated_at":"2018-07-02T18:46:21Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-07-02T18:28:53Z","updated_at":"2018-07-02T18:46:49Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Metrics v1beta1 resources can't be listed by kubectl.  It's probably an artifact of kind vs resource split, but this is broken and should work (this is a valid aggregated api with a valid discovery doc).\r\n\r\n```\r\n$ kubectl get pods.v1beta1.metrics.k8s.io\r\nerror: the server doesn't have a resource type \"pods\"\r\n$ kubectl describe pods.v1beta1.metrics.k8s.io\r\nerror: the server doesn't have a resource type \"pods\"\r\n$ kubectl get --raw /apis/metrics.k8s.io/v1beta1/\r\n{\"kind\":\"APIResourceList\",\"apiVersion\":\"v1\",\"groupVersion\":\"metrics.k8s.io/v1beta1\",\"resources\":[{\"name\":\"nodes\",\"singularName\":\"\",\"namespaced\":false,\"kind\":\"NodeMetrics\",\"verbs\":[\"get\",\"list\"]},{\"name\":\"pods\",\"singularName\":\"\",\"namespaced\":true,\"kind\":\"PodMetrics\",\"verbs\":[\"get\",\"list\"]}]}\r\n```\r\n\r\nExpected:\r\n\r\nkubectl get should have listed the types by trying to get custom columns for the metrics endpoint (which will be the next bug) or fall back to default display output.  This violates our rules that well formed aggregated APIs should be automatically be listable or describable via the CLI.\r\n\r\nI consider this a 1.12 release blocker since this is a beta api that is part of the core\r\n\r\n@kubernetes/sig-cli-bugs @kubernetes/sig-autoscaling-bugs "},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/401898086","html_url":"https://github.com/kubernetes/kubernetes/issues/65718#issuecomment-401898086","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/65718","id":401898086,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTg5ODA4Ng==","user":{"login":"k8s-merge-robot","id":13653959,"node_id":"MDQ6VXNlcjEzNjUzOTU5","avatar_url":"https://avatars0.githubusercontent.com/u/13653959?v=4","gravatar_id":"","url":"https://api.github.com/users/k8s-merge-robot","html_url":"https://github.com/k8s-merge-robot","followers_url":"https://api.github.com/users/k8s-merge-robot/followers","following_url":"https://api.github.com/users/k8s-merge-robot/following{/other_user}","gists_url":"https://api.github.com/users/k8s-merge-robot/gists{/gist_id}","starred_url":"https://api.github.com/users/k8s-merge-robot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8s-merge-robot/subscriptions","organizations_url":"https://api.github.com/users/k8s-merge-robot/orgs","repos_url":"https://api.github.com/users/k8s-merge-robot/repos","events_url":"https://api.github.com/users/k8s-merge-robot/events{/privacy}","received_events_url":"https://api.github.com/users/k8s-merge-robot/received_events","type":"User","site_admin":false},"created_at":"2018-07-02T18:46:49Z","updated_at":"2018-07-02T18:46:49Z","author_association":"COLLABORATOR","body":"[MILESTONENOTIFIER] Milestone Issue Labels **Incomplete**\n\n@smarterclayton\n\n\n**Action required**: This issue requires label changes. If the required changes are not made within 3 days, the issue will be moved out of the v1.12 milestone.\n\n_**priority**_: Must specify exactly one of `priority/critical-urgent`, `priority/important-longterm` or `priority/important-soon`.\n\n<details>\n<summary>Help</summary>\n<ul>\n <li><a href=\"https://git.k8s.io/sig-release/ephemera/issues.md\">Additional instructions</a></li>\n <li><a href=\"https://go.k8s.io/bot-commands\">Commands for setting labels</a></li>\n</ul>\n</details>"}}
{"actor":{"display_login":"k8s-merge-robot"}}