Chris Stryczynski

Software Developer / Consultant

How to copy files from Kubernetes pod?

Posted on: 19/09/2017

Because Kubernetes is held together by code and duct tape the following is fudged up:

kubectl cp ../media nfs-server-72p8m:/exports returns success - but the files are not transferred

If you add the trailing slash though it works… kubectl cp ../media nfs-server-72p8m:/exports/

Comments

No comments, yet!

Submit a comment