標籤文章
storage
這個主題下有 1 篇筆記。
主線 中文 第 6 篇
KAI K8s之路 06|Volume / PersistentVolume 是什麼?Pod 會換,但資料不能跟著消失
ConfigMap 和 Secret 把設定從 image 拆出去,但 workload 還會產生資料。這篇把 Volume、PersistentVolume、PersistentVolumeClaim 和 StorageClass 串起來:Volume 是 Pod 的掛載位置,PV/PVC 是把需要留下的資料從 Pod 生命週期裡拆出來。
一句判斷 Volume 是 Pod 裡可掛載的資料位置;PV/PVC 是把需要長住的資料,從 Pod 生命週期裡拆出來。