{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/29480","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/29480/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/29480/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/29480/events","html_url":"https://github.com/kubernetes/kubernetes/issues/29480","id":167153258,"number":29480,"title":"pod logging is broken on the master","user":{"login":"azell","id":489196,"avatar_url":"https://avatars.githubusercontent.com/u/489196?v=3","gravatar_id":"","url":"https://api.github.com/users/azell","html_url":"https://github.com/azell","followers_url":"https://api.github.com/users/azell/followers","following_url":"https://api.github.com/users/azell/following{/other_user}","gists_url":"https://api.github.com/users/azell/gists{/gist_id}","starred_url":"https://api.github.com/users/azell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azell/subscriptions","organizations_url":"https://api.github.com/users/azell/orgs","repos_url":"https://api.github.com/users/azell/repos","events_url":"https://api.github.com/users/azell/events{/privacy}","received_events_url":"https://api.github.com/users/azell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-22T23:49:46Z","updated_at":"2016-07-23T03:43:11Z","closed_at":null,"body":"k8s version:\r\n\r\n```\r\nClient Version: version.Info{Major:\"1\", Minor:\"3\", GitVersion:\"v1.3.2\", GitCommit:\"9bafa3400a77c14ee50782bb05f9efc5c91b3185\", GitTreeState:\"clean\", BuildDate:\"2016-07-17T18:30:39Z\", GoVersion:\"go1.6.2\", Compiler:\"gc\", Platform:\"darwin/amd64\"}\r\nServer Version: version.Info{Major:\"1\", Minor:\"3\", GitVersion:\"v1.3.2\", GitCommit:\"9bafa3400a77c14ee50782bb05f9efc5c91b3185\", GitTreeState:\"clean\", BuildDate:\"2016-07-17T18:23:58Z\", GoVersion:\"go1.6.2\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\n```\r\n\r\ndaemon set: https://github.com/kubernetes/kubernetes/tree/release-1.3/examples/newrelic\r\n\r\nThe daemon set deploys correctly and is running on all of the nodes including the master.  However logs can be retrieved only from the nodes.  Asking for the logs from the pod on the master fails:\r\n\r\n```\r\n$ kubectl --namespace=kube-system logs -f newrelic-agent-7l72w                           \r\nError from server: the server could not find the requested resource ( pods/log newrelic-agent-7l72w)\r\n```\r\n\r\nThough the logs do exist in Docker.  Logging onto the master and running `docker logs ...` manually shows the expected logs.  Is this a general limitation of scheduling work on the master?\r\n\r\nEx:\r\n\r\n```\r\n$ kubectl --namespace=kube-system logs kube-scheduler-ip-172-20-40-126.us-west-2.compute.internal\r\nError from server: the server could not find the requested resource ( pods/log kube-scheduler-ip-172-20-40-126.us-west-2.compute.internal)\r\n```\r\n\r\n@justinsb "},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/234696968","html_url":"https://github.com/kubernetes/kubernetes/issues/29480#issuecomment-234696968","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/29480","id":234696968,"user":{"login":"justinsb","id":100893,"avatar_url":"https://avatars.githubusercontent.com/u/100893?v=3","gravatar_id":"","url":"https://api.github.com/users/justinsb","html_url":"https://github.com/justinsb","followers_url":"https://api.github.com/users/justinsb/followers","following_url":"https://api.github.com/users/justinsb/following{/other_user}","gists_url":"https://api.github.com/users/justinsb/gists{/gist_id}","starred_url":"https://api.github.com/users/justinsb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinsb/subscriptions","organizations_url":"https://api.github.com/users/justinsb/orgs","repos_url":"https://api.github.com/users/justinsb/repos","events_url":"https://api.github.com/users/justinsb/events{/privacy}","received_events_url":"https://api.github.com/users/justinsb/received_events","type":"User","site_admin":false},"created_at":"2016-07-23T03:43:10Z","updated_at":"2016-07-23T03:43:10Z","body":"I have tracked this down: on the master kubelet is running with `--enable-debugging-handlers=false`.\r\n\r\nThis flag turns off a lot of functionality: run, exec, attach, portforward, logs, containerLogs, pprof & runningpods.\r\n\r\nI'm not sure whether we want to allow access to the master pods in this way.  And whether we should split this up and/or rely on authentication more.  @mikedanese WDYT?"}}
{"actor":{"display_login":"justinsb"}}