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