It would be nice to export logs from all teraslice pods to our local machine when a pod exits (either a quick once job or a pod crashing). There is already a function that does something similar in e2e testing, so this shouldn't be too difficult.
We should consider how long these logs stick around. Maybe delete the directory when we shutdown the kind cluster?
This is a bit trickier than you might think, unless kind holds onto them ... I see there's a kind export logs command. If you run that AFTER a pod has shut down, do you actually get the pod logs?
It would be nice to export logs from all teraslice pods to our local machine when a pod exits (either a quick once job or a pod crashing). There is already a function that does something similar in e2e testing, so this shouldn't be too difficult.
We should consider how long these logs stick around. Maybe delete the directory when we shutdown the
kind
cluster?