Summary
We have arrived at the end of this chapter, which taught you how to manage persistent storage on Kubernetes. You discovered that PersistentVolume
is a resource kind that acts as a point to an underlying resource technology, such as hostPath
and NFS, along with cloud-based solutions such as Amazon EBS and Google PDs.
Additionally, you discovered that you cannot use your PersistentVolume
object without PersistentVolumeClaim
, and that PersistentVolumeClaim
acts as an object to fetch and mount PersistentVolume
to your Pods. You learned that PersistentVolume
can hold different reclaim policies, which makes it possible to remove, recycle, or retain them when their corresponding PersistentVolumeClaim
object gets removed.
Finally, we discovered what dynamic provisioning is and how it can help us. Bear in mind that you need to be aware of this feature because if you create and retain too many volumes, it can have a negative impact on your cloud bill at the end of the month.
...