{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/dashboard/issues/1345","repository_url":"https://api.github.com/repos/kubernetes/dashboard","labels_url":"https://api.github.com/repos/kubernetes/dashboard/issues/1345/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/dashboard/issues/1345/comments","events_url":"https://api.github.com/repos/kubernetes/dashboard/issues/1345/events","html_url":"https://github.com/kubernetes/dashboard/issues/1345","id":183605544,"number":1345,"title":"Exec into Pod","user":{"login":"IanLewis","id":49289,"avatar_url":"https://avatars.githubusercontent.com/u/49289?v=3","gravatar_id":"","url":"https://api.github.com/users/IanLewis","html_url":"https://github.com/IanLewis","followers_url":"https://api.github.com/users/IanLewis/followers","following_url":"https://api.github.com/users/IanLewis/following{/other_user}","gists_url":"https://api.github.com/users/IanLewis/gists{/gist_id}","starred_url":"https://api.github.com/users/IanLewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IanLewis/subscriptions","organizations_url":"https://api.github.com/users/IanLewis/orgs","repos_url":"https://api.github.com/users/IanLewis/repos","events_url":"https://api.github.com/users/IanLewis/events{/privacy}","received_events_url":"https://api.github.com/users/IanLewis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/dashboard/labels/kind/feature","name":"kind/feature","color":"888888"}],"state":"open","locked":false,"assignee":{"login":"IanLewis","id":49289,"avatar_url":"https://avatars.githubusercontent.com/u/49289?v=3","gravatar_id":"","url":"https://api.github.com/users/IanLewis","html_url":"https://github.com/IanLewis","followers_url":"https://api.github.com/users/IanLewis/followers","following_url":"https://api.github.com/users/IanLewis/following{/other_user}","gists_url":"https://api.github.com/users/IanLewis/gists{/gist_id}","starred_url":"https://api.github.com/users/IanLewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IanLewis/subscriptions","organizations_url":"https://api.github.com/users/IanLewis/orgs","repos_url":"https://api.github.com/users/IanLewis/repos","events_url":"https://api.github.com/users/IanLewis/events{/privacy}","received_events_url":"https://api.github.com/users/IanLewis/received_events","type":"User","site_admin":false},"assignees":[{"login":"IanLewis","id":49289,"avatar_url":"https://avatars.githubusercontent.com/u/49289?v=3","gravatar_id":"","url":"https://api.github.com/users/IanLewis","html_url":"https://github.com/IanLewis","followers_url":"https://api.github.com/users/IanLewis/followers","following_url":"https://api.github.com/users/IanLewis/following{/other_user}","gists_url":"https://api.github.com/users/IanLewis/gists{/gist_id}","starred_url":"https://api.github.com/users/IanLewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IanLewis/subscriptions","organizations_url":"https://api.github.com/users/IanLewis/orgs","repos_url":"https://api.github.com/users/IanLewis/repos","events_url":"https://api.github.com/users/IanLewis/events{/privacy}","received_events_url":"https://api.github.com/users/IanLewis/received_events","type":"User","site_admin":false}],"milestone":null,"comments":22,"created_at":"2016-10-18T07:03:00Z","updated_at":"2016-10-26T06:50:40Z","closed_at":null,"body":"I am planning on working on \"exec into Pod\" functionality. I'm planning on gathering requirements via this issue and creating a proof of concept.\r\n\r\n- [ ]  Gather requirements\r\n- [ ]  Create POC\r\n- [ ]  Create UX design\r\n- [ ]  Implementation\r\n\r\nMy general thought is that I will search for and use an existing library on the client side to display the terminal and take input. I'll use something like websockets or whatever transport the client side library supports for terminal events. The server side will use the [exec endpoint](http://kubernetes.io/kubernetes/third_party/swagger-ui/#!/api%2Fv1/connectPostNamespacedPodExec) from the Kubernetes API for connecting to the actual pod.\r\n\r\nRelated issues: #21 #550"},"comment":{"url":"https://api.github.com/repos/kubernetes/dashboard/issues/comments/256263735","html_url":"https://github.com/kubernetes/dashboard/issues/1345#issuecomment-256263735","issue_url":"https://api.github.com/repos/kubernetes/dashboard/issues/1345","id":256263735,"user":{"login":"IanLewis","id":49289,"avatar_url":"https://avatars.githubusercontent.com/u/49289?v=3","gravatar_id":"","url":"https://api.github.com/users/IanLewis","html_url":"https://github.com/IanLewis","followers_url":"https://api.github.com/users/IanLewis/followers","following_url":"https://api.github.com/users/IanLewis/following{/other_user}","gists_url":"https://api.github.com/users/IanLewis/gists{/gist_id}","starred_url":"https://api.github.com/users/IanLewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IanLewis/subscriptions","organizations_url":"https://api.github.com/users/IanLewis/orgs","repos_url":"https://api.github.com/users/IanLewis/repos","events_url":"https://api.github.com/users/IanLewis/events{/privacy}","received_events_url":"https://api.github.com/users/IanLewis/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T06:50:40Z","updated_at":"2016-10-26T06:50:40Z","body":"@bryk I'm curious how you would figure something is bogus or not. I think we can just try to run the command given and give an error like \"command not found\" as returned by the API or container. BTW AFAIK `ls` is an actual binary you can run on most systems.\r\n\r\nThoughts:\r\n- I think some things like exit codes will be important.\r\n- We can start the terminal with some \"welcome\" instructions on what kind of terminal it is and what to do.\r\n- How can we help users differentiate easily between the exec prompt and a bash prompt? :-/"}}
{"actor":{"display_login":"IanLewis"}}