Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add http page support #21

Open
chinglinwen opened this issue Aug 29, 2018 · 2 comments
Open

Add http page support #21

chinglinwen opened this issue Aug 29, 2018 · 2 comments

Comments

@chinglinwen
Copy link

Adding http page support will be great

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

@boz
Copy link
Owner

boz commented Aug 29, 2018

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.

@chinglinwen
Copy link
Author

chinglinwen commented Aug 30, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants