8 Storage implementation and modeling

This chapter covers

  • Exploring how dynamic storage works
  • Utilizing emptyDir volumes in workloads
  • Managing storage with CSI providers
  • Using hostPath values with CNI and CSI
  • Implementing storageClassTemplates for Cassandra

Modeling storage in a Kubernetes cluster is one of the most important tasks that an administrator needs to do before going to production. This entails asking yourself questions about what your storage needs are for a production application, and there are several dimensions to this. You’ll want to generally ask yourself the following questions for any application that needs persistent storage:

  • Does the storage need to be durable or just best effort? Durable storage often means NAS, NFS, ...

Get Core 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.