TopHome
<2021-07-16 Fri>techk8spython

Python k8s output Buffering problems

Ran into a weird issue where output from a Python script running in Kuberenetes Pod did not show up in the (k8s) logs. Turns out, it's a known issue with the cause being buffering of stdout/stderr by default in Python.