Skip to content

File Copy

Copy files between your local machine and pods.

Upload to Pod

helm-me ops cp backend ./local-file.txt /app/remote-file.txt

Download from Pod

helm-me ops cp backend /app/data/export.csv ./export.csv --download

Copy Directories

helm-me ops cp backend ./config/ /app/config/ 

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.