I am trying to understand how in Kubernetes we can achieve the capabilities of Docker Named Volumes. When I create an empty Docker named volume and mount it to my container, existing files in the container location gets copied into the host volume if it's empty, how can we achieve this behaviour wiht Kubernetes PV.
You should be using local persistent volume to store data on the host machine
Follow the link: https://kubernetes.io/blog/2018/04/13/local-persistent-volumes-beta/