kail icon indicating copy to clipboard operation
kail copied to clipboard

Add http page support

Open chinglinwen opened this issue 7 years ago • 2 comments

Adding http page support will be great

say use url to directly locate the pod's log.

chinglinwen avatar Aug 29 '18 10:08 chinglinwen

Thanks, @chinglinwen. I like the idea but I doubt that I'll have time to work on it any time soon.

That said, it wouldn't be too difficult for someone to add an http server to kail which could stream logs to a browser. I'd be happy to help get this going if anyone is interested.

boz avatar Aug 29 '18 21:08 boz

I have found that the apiserver itself expose log api as http request.

example:

http://172.28.46.201:8080/api/v1/namespaces/default/pods/fs-2665028343-9ttqm/log
http://172.28.46.201:8080/api/v1/namespaces/qb-qa-10/pods/ops-fs-3957094301-csgxx/log

chinglinwen avatar Aug 30 '18 03:08 chinglinwen