15PERSISTENT STORAGE

image

Scalability and rapid failover are big advantages of containerized applications, and it’s a lot easier to scale, update, and replace stateless containers that don’t have any persistent storage. As a result, we’ve mostly used Deployments to create one or more instances of Pods with only temporary storage.

However, even if we have an application architecture in which most of the components are stateless, we still need some amount of persistent storage for our application. At the same time, we don’t want to lose the ability to deploy a Pod to any node in the cluster, and we don’t want to lose the contents of our persistent storage ...

Get The Book of Kubernetes now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.