File Copy¶
Copy files between your local machine and pods.
Upload to Pod¶
Download from Pod¶
Copy Directories¶
Use Cases¶
- Upload local config files for testing
- Download logs or data exports
- Deploy hot-fixes during debugging
- Back up application data
Note
cp uses kubectl cp under the hood, which requires tar to be available in the container.