Learn persistent volume on kubernetes

My status in my learning session on kubernetes :

NameLearning statCommentary
PodsCreate, delete, logs
Deployment🟒Consepts understood
nfs-driver🟒In place to use TrueNAS NFS shared storage
Calico🟠Basic functionality; not fully mastered but operational
Service🟠ClusterIP and NodePort understood; LoadBalancer and ExternalName not yet used
Traefix🟠Learning, used with Service LoadBalancer
API gateway🟠Learning, used with Service LoadBalancer
PVπŸ”΄Persistent volumes not yet required
PVCπŸ”΄Persistent volume claims not yet required

I hadn’t needed to create a PV and a PVC. So, I had to learn how to access this ressource in my Talos Kubernetes cluster.

The fastest way is to use the nodes storage to create PV. But, this is not the best way to store data. If you create a PV on one node and a pod in another node needed this PV, if the first node is down, the service can’t access to the data.

The other problem is the complexity to create backup and to have relible data.