<p>I am trying to understand how Kubernetes handles the persistent volumes on the node's filesystem.</p>

<p>For example, if I have a minikube as my Kubernetes cluster node, and I create multiple PVs with PVC for may pods and if I ssh to minikube, where I can find the PV on minikube's filesystem? </p>

<p>If I type </p>

<blockquote>
  <p>lsblk</p>
</blockquote>

<p>I get </p>

<blockquote>
  <p>sda      8:0    0  19.5G  0 disk</p>
</blockquote>

<p>but no PV disks are listed. </p>

<p>Thank you for your answers.</p>

branko terzic
<p>You will not see it because it's inside API as an API Object.</p>
<p>I recommend reading Kubernetes documentation regarding <a href="https://kubernetes.io/docs/concepts/storage/persistent-volumes/" rel="nofollow noreferrer">Persistent Volumes</a>.</p>
<blockquote>
<p>A  <code>PersistentVolume</code>  (PV) is a piece of storage in the cluster that has been provisioned by an administrator. It is a resource in the cluster just like a node is a cluster resource. PVs are volume plugins like Volumes, but have a lifecycle independent of any individual pod that uses the PV. This API object captures the details of the implementation of the storage, be that NFS, iSCSI, or a cloud-provider-specific storage system.</p>
<p>A  <code>PersistentVolumeClaim</code>  (PVC) is a request for storage by a user. It is similar to a pod. Pods consume node resources and PVCs consume PV resources. Pods can request specific levels of resources (CPU and Memory). Claims can request specific size and access modes (e.g., can be mounted once read/write or many times read-only).</p>
<p>While  <code>PersistentVolumeClaims</code>  allow a user to consume abstract storage resources, it is common that users need  <code>PersistentVolumes</code>  with varying properties, such as performance, for different problems. Cluster administrators need to be able to offer a variety of  <code>PersistentVolumes</code>  that differ in more ways than just size and access modes, without exposing users to the details of how those volumes are implemented. For these needs there is the  <code>StorageClass</code>  resource.</p>
<p>Please see the  <a href="https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/" rel="nofollow noreferrer">detailed walkthrough with working examples</a>.</p>
</blockquote>
<p>You can also have a look at the <a href="https://matthewpalmer.net/kubernetes-app-developer/articles/kubernetes-volumes-example-nfs-persistent-volume.html" rel="nofollow noreferrer">Kubernetes Volumes Guide</a> which explains the types of storage, how long do they last and how to use them in examples.</p>
