Learn persistent volume on kubernetes
My status in my learning session on kubernetes :
| Name | Learning stat | Commentary |
|---|---|---|
| Pods | Create, 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.