Ran into trouble getting a bash script to run in a small docker image. Looks like the image likely didn't have bash installed 🙄. Here's a useful link for helping to convert bash scripts to something more likely to work:
http://mywiki.wooledge.org/Bashism
A tip for dealing with kubernetes:
command is entrypoint and args is cmd -
https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/
https://www.pathpy.net/ - network analysis tool package for time series data