-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
./minikube logs -f
do not work
#2447
Comments
The actual command running to get logs is So, the issue is, why the output do not show in terminal ? |
CombinedOutput waits command complete. When we run a long run command, such as continuously get new log entries, it failed to get run results and then we can not get logs from stdout. Fixes: kubernetes#2447
CombinedOutput function provided by os.exec return bytes array after command complete. When we run a long run command, such as continuously get new log entries, it failed to get run results and then no logs to stdout. Fixes: kubernetes#2447
CombinedOutput function return after command complete. When we run a long run command, such as continuously get new log entries, it failed to get run results. Fixes: kubernetes#2447
The same issue can be produce when we have vm-driver |
CombinedOutput function return after command complete. When we run a long run command, such as continuously get new log entries, it failed to get run results. Fixes: kubernetes#2447
CombinedOutput function return after command complete. When we run a long run command, such as continuously get new log entries, it failed to get run results. Fixes: #2447
the same issue in macos10.12 minikube28.0 |
I'm also not seeing anything when following from minikube log cli How I reproduced:
I'll add any logs you feel are pertinent, but not sure what to attach.. I'm using
Are there pointers on debugging? Perhaps I'm doing something daft without realising it. |
I guess this is related to the commit 79682c2 |
This is still broken in v0.34.0. Funny enough, you'll see the logs if you use |
I'm seeing this in v0.35.0. I'm using the workaround provided by @tstromberg to get around this issue. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
This is still a thing. |
I found that My env: Did someone fix this? |
Is this a BUG REPORT or FEATURE REQUEST?: BUG REPORT
Please provide the following details:
Environment:
Minikube version: v0.24.1
What happened:
./minikube start --vm-driver=none
kubectl
commands works../minikube logs
, gets the logs of the running localkube instance as expected./minikube logs -f
, nothing shows up.What you expected to happen:
The help message for minikube logs says:
I hope this command can work as it says.
How to reproduce it:
./minikube logs -f
./minikube logs
and check the latest message timestamps, confirms new logs do exist during the time we run./minikube logs -f
.Anything else do we need to know:
The text was updated successfully, but these errors were encountered: