hawtio / hawtio-kubernetes

hawtio plugin for working with kubernetes
Apache License 2.0
24 stars 14 forks source link

Provide raw log view for a pod #76

Open jstrachan opened 9 years ago

jstrachan commented 9 years ago

maybe kibana is overkill for looking at the log of just 1 live pod?

jimmidyson commented 9 years ago

Right now this is trickier than it sounds... Logs endpoint doesn't support websockets: only spdy or chunked. Not sure of if xhr supports chunked responses? There is an open issue in kubernetes fit this IIRC, as there is for exec which has the same problem.

jstrachan commented 9 years ago

Agreed. Showing a static view would be OK (with an icky Refresh button) until websockets are available

gashcrumb commented 9 years ago

honestly a static view is probably easier to deal with from a user's perspective, i.e. it's easy to copy/paste lines from it to create a gist without having to worry about the view scrolling away on you :-)