{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/21334","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/21334/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/21334/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/21334/events","html_url":"https://github.com/kubernetes/kubernetes/issues/21334","id":134085912,"number":21334,"title":"`GetFirstPod` infinite loops when pod never appears","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/component/kubectl","name":"component/kubectl","color":"0052cc"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/priority/P3","name":"priority/P3","color":"fef2c0"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/ux","name":"team/ux","color":"d2b48c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-16T20:14:54Z","updated_at":"2016-02-17T15:06:57Z","closed_at":null,"body":"If a pod is never created (think quota rejection), then commands that end up in `GetFirstPod` loop forever waiting for a pod that is never coming.\r\n\r\nhttps://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/util/factory.go#L534\r\n\r\n@kubernetes/kubectl "},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/185243964","html_url":"https://github.com/kubernetes/kubernetes/issues/21334#issuecomment-185243964","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/21334","id":185243964,"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},"created_at":"2016-02-17T15:06:57Z","updated_at":"2016-02-17T15:06:57Z","body":"I think I want\r\n\r\n```go\r\nfunc WaitForResource(Watcher, resourceVersion, timeout, matchesFunc func(runtime.Object) bool) (runtime.Object, error)\r\n```"}}