KubeNow icon indicating copy to clipboard operation
KubeNow copied to clipboard

Enhancement: Provide kn scp

Open sneumann opened this issue 6 years ago • 4 comments

Hi, I often need to copy files into a cluster. Having a kn scp source dest would be great, where dest gets replaced with ubuntu@host:dest. Yours, Steffen

sneumann avatar Mar 10 '18 19:03 sneumann

That would be easy to implement, but using the host machines to store or move data isn't best practice. Can't you ingest the data as a workflow step?

mcapuccini avatar Mar 12 '18 09:03 mcapuccini

You could get inspired by the kn-ssh

andersla avatar Mar 12 '18 09:03 andersla

This is not so much for workflow data, but in case I want to add some files to the cluster. Problem is that kn kubectl create -f xxx.yml does not work from the laptop, so I need to transfer first. Yours, Steffen

sneumann avatar Mar 12 '18 15:03 sneumann

Then, I'd say we should do both: add kn scp and support for local kubectl.

mcapuccini avatar Mar 12 '18 15:03 mcapuccini