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
container real-time log shows incomplete #1257
Comments
/priority high |
And many redundant and unexpected blank lines may be included into the log content. |
/cc @kubesphere/sig-console |
/area console |
/remove-priority high |
/kind need-to-verify |
/remove-kind need-to-verify |
/assign @weili520 |
/unassign @zryfish |
I think it is caused by the node.js HTTP receive mechanism. When the HTTP response is chunked, the data didn't lose, it will show with the next response, but the response interval is about 2 minutes. |
Hi @weili520 , if you don't have a better solution now, you could refer to an existing implementation: https://github.com/tektoncd/dashboard/tree/main/packages/components/src/components/Log |
@harrisonliu5 I think we should upgrade the |
I have tried it, it works well. The pods log-generator is created by using the command: it will generate a log every five seconds. 2022-01-05.15.47.25.mov |
This problem will disappear if the user updates the KubeSphere version to v3.2.1. |
Describe the bug
container real-time log shows no tail log:
view container log and that is normal
but switch to real-time log and can not see the tail log
Versions used(KubeSphere/Kubernetes)
KubeSphere(3.0.0)
Environment
single cluster & allinone
/kind bug
The text was updated successfully, but these errors were encountered: