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 type 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 the relationship between PersistentVolume
, PersistentVolumeClaim
, and storageClass
. 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, even though you can restrict storage usage using resource quotas for the namespaces.
We’...