kubernetes git on persistant volume claim code example
Example: kubernetes copy files to persistent volume
kubectl cp my-namepace/my-pod:/root/my-local-file -c my-container ./my-remote-location
kubectl cp my-namepace/my-pod:/root/my-local-file -c my-container ./my-remote-location