Kubectl cp: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * kubectl") |
|||
Line 2: | Line 2: | ||
* [[Kubectl#Commands|kubectl]] | * [[Kubectl#Commands|kubectl]] | ||
=Overview= | |||
Copy files and directories to and from containers. | |||
kubectl cp <''some-namespace''>/<''some-pod''>:/path/inside/the/first/container/of/the/pod /local/path | |||
A specific container is mentioned with -c <contrainer-name> |
Revision as of 22:27, 31 October 2019
Internal
Overview
Copy files and directories to and from containers.
kubectl cp <some-namespace>/<some-pod>:/path/inside/the/first/container/of/the/pod /local/path
A specific container is mentioned with -c <contrainer-name>