lensapp / lens

Lens - The way the world runs Kubernetes
https://k8slens.dev/
MIT License
22.52k stars 1.47k forks source link

[featrequest] Add a graphical way to do a `kubectl cp` to a pod #1369

Open arthurzenika opened 3 years ago

arthurzenika commented 3 years ago

What would you like to be added:

First of, congrats for a a great app. I've been navigating between kubect, rancher, and kubernet-dashboard, Lens is a great addition to these options !

It would be nice to be able to graphically upload a file like one would do with :

kubectl -n my-namespace cp script.py pod-name-5c6b49844-tpv76:/tmp/

Why is this needed:

DX (Developer Experience) would be improved if they didn't have to ship a new image to get a new version of their file uploaded to an environment.

Environment you are Lens application on:

nevalla commented 3 years ago

Very interesting idea. I can see this could be potentially done by an extension. The extension could register some menuitem to pod menu and open dialog with file picker and other options and send the command into terminal after the file is selected.

matti commented 3 years ago

excellent idea!

dwarburt commented 3 years ago

I'd also like the ability to browse a pods filesystem and view / download files. This would be quite helpful when troubleshooting.

eolivelli commented 2 years ago

this would be great

NordenF commented 2 years ago

I would have this feature!

linkedDataDeveloper commented 2 years ago

I agree. Came looking for this extension! Found this.

JackSinclairT commented 2 years ago

Yeah we could really really use this feature about now!

maxpain commented 2 years ago

Can't wait for this feature to be released.

glebvorob2 commented 2 years ago

+1

georgitsenov commented 4 days ago

this will be very handy - looking forward to see this feature implemented