-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Easy way to copy/download files from a pod/pv to your local PC #658
Comments
I would be so nice feature - i was looking through k9s documentation trying to find the copy command\hotkey, but found this one enhancement suggestion |
Would really appreciate this feature ! Whats the chance of getting this ? |
Would also love a way to upload a file to a pod, for example to run an sql file against a db only accessible from the cluster. |
This is not an k9s solution but a workaround that might help in the meantime: # Copy /tmp/foo from a remote pod to /tmp/bar locally
kubectl cp <some-namespace>/<some-pod>:/tmp/foo /tmp/bar |
@lukeledet @petermeissner @dulom [FYI] This feature is actually available in K9sAlpha... |
Any updates on this feature? |
I'd be happy to contribute if any of the maintainers can confirm this isn't being worked on, @derailed @axinojolais @slimus |
Sorry @lplazas I'm not a maintainer, I merely updated an issue recently and that's it |
Can't this be done by the plugins system? https://k9scli.io/topics/plugins/ |
I don't think so, because you don't know the filename and path up front. |
I, too, would love this feature if possible. |
I can confirm that downloading files from a pod works in |
Fixed v0.28.0 |
This doesn't seem to work on Windows. I get a success message but the file is not stored in the "To" directory. |
@andredasilvapinto it works like a charm on Linux though. Probably worth filing a separate bug report if you're 100% sure it doesn't work on Windows? |
It would be nice if k9s adds the ability to copy/download a file/folder from a pod to your local PC.
Right now I enter the pod, search for the file, copy the file path, exit to my local PC and then do kubectl cp ...
It would be nice if there was an easy way, to say "copy this file to my local PC", either from the pods view or the persistent volume view.
The text was updated successfully, but these errors were encountered: