You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be really cool to be able to browse and copy files to/from services running in kubernetes using termscp. I imagine an initial remote screen could be a listing of namespaces, and when you drill in you can see pods or services running in that namespace, and then you can navigate the file system like normal.
Changes
A kubectl "protocol" would need to be added to termscp.
Implementation
You can copy files to and from pods running on kubernetes like such:
kubectl exec --namespace prod --stdin --tty pod-name -- ls ./remote/path
Namespaces can be listed as such:
kubectl get namespaces
Using these (and other) commands it should be possible to implement a kubectl protocol to be able to browse and copy files to/from services running in kubernetes.
The text was updated successfully, but these errors were encountered:
Description
It would be really cool to be able to browse and copy files to/from services running in kubernetes using termscp. I imagine an initial remote screen could be a listing of namespaces, and when you drill in you can see pods or services running in that namespace, and then you can navigate the file system like normal.
Changes
A
kubectl
"protocol" would need to be added to termscp.Implementation
You can copy files to and from pods running on kubernetes like such:
Remote files can be listed like such:
kubectl exec --namespace prod --stdin --tty pod-name -- ls ./remote/path
Namespaces can be listed as such:
Using these (and other) commands it should be possible to implement a kubectl protocol to be able to browse and copy files to/from services running in kubernetes.
The text was updated successfully, but these errors were encountered: