copy file from pod to outside code example Example: kubectl get file from pod kubectl cp <some-pod>:/tmp/foo /tmp/bar