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