Tuning Kubernetes storage
At some point, we have all experienced and been frustrated by storage performance and the technical limitations of it. In this chapter, we will learn the fundamentals of Kubernetes storage, including storage primitives, creating static persistent volumes (PVs), and using storage classes to provision dynamic PVs to simplify management.
Understanding containerized stateful applications requires us to get into the cloud-native mindset. Although referred to as stateful, data used by pods is either accessed remotely or orchestrated and stored in Kubernetes as separate resources. Therefore, some flexibility is maintained to schedule applications across worker nodes and update when needed without losing the data. Before we get into the tuning, let's understand some of the basic storage primitives in Kubernetes.
Understanding storage primitives in Kubernetes
The beauty of Kubernetes is that every part of it is abstracted as an object that can be managed...