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