hawtio-kubernetes icon indicating copy to clipboard operation
hawtio-kubernetes copied to clipboard

Provide raw log view for a pod

Open jstrachan opened this issue 9 years ago • 3 comments

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

jstrachan avatar Aug 20 '15 05:08 jstrachan

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.

jimmidyson avatar Aug 20 '15 05:08 jimmidyson

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

jstrachan avatar Aug 20 '15 06:08 jstrachan

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 :-)

gashcrumb avatar Aug 20 '15 12:08 gashcrumb