scp kubernetes pod code example Example: kubectl get file from pod kubectl cp <some-pod>:/tmp/foo /tmp/bar