{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/18681","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/18681/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/18681/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/18681/events","html_url":"https://github.com/kubernetes/kubernetes/issues/18681","id":122140331,"number":18681,"title":"kubectl logs not working on k8sm","user":{"login":"huang195","id":8008677,"avatar_url":"https://avatars.githubusercontent.com/u/8008677?v=3","gravatar_id":"","url":"https://api.github.com/users/huang195","html_url":"https://github.com/huang195","followers_url":"https://api.github.com/users/huang195/followers","following_url":"https://api.github.com/users/huang195/following{/other_user}","gists_url":"https://api.github.com/users/huang195/gists{/gist_id}","starred_url":"https://api.github.com/users/huang195/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huang195/subscriptions","organizations_url":"https://api.github.com/users/huang195/orgs","repos_url":"https://api.github.com/users/huang195/repos","events_url":"https://api.github.com/users/huang195/events{/privacy}","received_events_url":"https://api.github.com/users/huang195/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-14T21:55:07Z","updated_at":"2015-12-14T22:03:09Z","closed_at":null,"body":"I just did a pull from the HEAD and using mesos 0.25. To reproduce, I use a very simple guestbook yaml:\r\n\r\n```\r\napiVersion: v1\r\nkind: Pod\r\nmetadata:\r\n  name: guestbook\r\nspec:\r\n  containers:\r\n  - name: redis\r\n    image: redis\r\n  - name: guestbook\r\n    image: google/guestbook-python-redis\r\n    ports:\r\n    - name: www\r\n      containerPort: 80\r\n```\r\n\r\nCreating the pod with `kubect create -f guestbook.yaml`. After the pod is showing as RUNNING, run `kubectl logs -c redis guestbook` will result in the following error message:\r\n\r\n```\r\nError from server: the server could not find the requested resource ( Pod guestbook)\r\n```\r\n\r\nThis only seems to impact k8sm setup, and k8s-standalone works as expected.\r\n\r\ncc @jdef @sttts "},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/164573969","html_url":"https://github.com/kubernetes/kubernetes/issues/18681#issuecomment-164573969","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/18681","id":164573969,"user":{"login":"jdef","id":2348332,"avatar_url":"https://avatars.githubusercontent.com/u/2348332?v=3","gravatar_id":"","url":"https://api.github.com/users/jdef","html_url":"https://github.com/jdef","followers_url":"https://api.github.com/users/jdef/followers","following_url":"https://api.github.com/users/jdef/following{/other_user}","gists_url":"https://api.github.com/users/jdef/gists{/gist_id}","starred_url":"https://api.github.com/users/jdef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdef/subscriptions","organizations_url":"https://api.github.com/users/jdef/orgs","repos_url":"https://api.github.com/users/jdef/repos","events_url":"https://api.github.com/users/jdef/events{/privacy}","received_events_url":"https://api.github.com/users/jdef/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T22:03:09Z","updated_at":"2015-12-14T22:03:09Z","body":"actually, I should ask - are you deploying on a barebones mesos cluster,\nthe mesos/docker cluster, or on DCOS?\n\nOn Mon, Dec 14, 2015 at 5:01 PM, James DeFelice <james@mesosphere.io> wrote:\n\n> thanks for reporting this. it's a known issue:\n>\n> - https://github.com/mesosphere/kubernetes-mesos/issues/587\n> -\n> https://github.com/kubernetes/kubernetes/blob/master/contrib/mesos/docs/issues.md#kubectl\n>\n> On Mon, Dec 14, 2015 at 4:56 PM, Hai Huang <notifications@github.com>\n> wrote:\n>\n>> I just did a pull from the HEAD and using mesos 025 To reproduce, I use a\n>> very simple guestbook yaml:\n>>\n>> apiVersion: v1\n>> kind: Pod\n>> metadata:\n>>   name: guestbook\n>> spec:\n>>   containers:\n>>   - name: redis\n>>     image: redis\n>>   - name: guestbook\n>>     image: google/guestbook-python-redis\n>>     ports:\n>>     - name: www\n>>       containerPort: 80\n>>\n>> Creating the pod with kubect create -f guestbookyaml After the pod is\n>> showing as RUNNING, run kubectl logs -c redis guestbook will result in\n>> the following error message:\n>>\n>> Error from server: the server could not find the requested resource ( Pod guestbook)\n>>\n>> This only seems to impact k8sm setup, and k8s-standalone works as expected\n>>\n>> cc @jdef <https://github.com/jdef> @sttts <https://github.com/sttts>\n>>\n>> —\n>> Reply to this email directly or view it on GitHub\n>> <https://github.com/kubernetes/kubernetes/issues/18681>.\n>>\n>\n>\n"}}