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

Clock skew prevents logs from being shown for local clusters #365

Closed
r2d4 opened this issue Apr 10, 2018 · 0 comments · Fixed by #368
Closed

Clock skew prevents logs from being shown for local clusters #365

r2d4 opened this issue Apr 10, 2018 · 0 comments · Fixed by #368
Labels
area/logging kind/bug Something isn't working

Comments

@r2d4
Copy link
Contributor

r2d4 commented Apr 10, 2018

Minikube occasionally suffers from clock skew when going to sleep, and since we stream logs "since" build (in host time), sometimes these logs never get shown. This is an issue we should probably fix on the minikube side but I want to track it here for users.

If you're using minikube, you can run this command to sync your time as a temporary workaround.

minikube ssh -- docker run -i --rm --privileged --pid=host debian nsenter -t 1 -m -u -n -i date -u $(date -u +%m%d%H%M%Y)

ref kubernetes/minikube#1378

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/logging kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant