Say I have a /src
directory which I copy onto a pod in my Dockerfile. I can modify source files locally but I need to run kubectl cp
in order to place every single file on the pod. Any way to temporarily link my local storage to a running pod?
It can be as easy as a file system watcher that runs kubectl cp
, which is what I'd probably implement if there's no existing tool, but I really doubt there isn't.
I came across https://github.com/ksync/ksync but this is an advanced solution that requires me to install something on my cluster, which I can't/won't do.