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 command to retrieve apiserver logs to sre guide #901

Open
minrk opened this issue Feb 20, 2019 · 0 comments
Open

add command to retrieve apiserver logs to sre guide #901

minrk opened this issue Feb 20, 2019 · 0 comments

Comments

@minrk
Copy link
Member

minrk commented Feb 20, 2019

It proved useful in the latest incident to have the apiserver logs, which I didn't know how to retrieve before. But you can do it:

kubectl proxy &
curl -O http://localhost:8001/logs/kube-apiserver.log
kill %%

we should include this command in the sre guide when we suspect the master is having a problem.

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

1 participant