kail
kail copied to clipboard
Add http page support
Adding http page support will be great
say use url to directly locate the pod's log.
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.
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