Does someone have a way or a library that can show how to (if possible) reading stdout and stderr from containers in Kubernetes pods?
The code will be running in a container/pod next to the source pods that it will read from.
You would generally use the pods/log
subresource. The official JS client does provide a high-level wrapper for this in the library but I don't see any specific examples of usage.