cyclops-ui / cyclops

Developer Friendly Kubernetes 👁️
https://cyclops-ui.com
Apache License 2.0
2.41k stars 783 forks source link

Stream pod logs #555

Open petar-cvit opened 1 week ago

petar-cvit commented 1 week ago

Is your feature request related to a problem? Please describe. Currently, Cyclops UI supports fetching logs of a pod, but logs are not streamed in real time. The scope of the issue is to implement log streaming for pods on both the backend and frontend.

Describe the solution you'd like You can use SSE to stream updates. https://github.com/cyclops-ui/cyclops/pull/544 implements streaming for resources so similar libs can be used.

naineel1209 commented 1 week ago

hi @petar-cvit, I would like to pick this up, can you please assign it me?

petar-cvit commented 1 week ago

Sure! You can add a checkbox to the logs modal that would indicate that the logs need to be streamed

naineel1209 commented 1 week ago

hi @petar-cvit, had a doubt regarding this -

Should I reuse the SSE implementation from #544 (wait for it to get merged) or work on the same branch as yours or start from scratch?

petar-cvit commented 1 week ago

Hey @naineel1209, you can create a branch from my branch and continue on my changes