kubernetes copy files to persistent volume

Shell
kubectl cp my-namepace/my-pod:/root/my-local-file -c my-container ./my-remote-location

Source

Also in Shell: