From the course: OpenShift Essential Training: Container Orchestration and Deployment

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Storage classes

Storage classes

- [Instructor] Ever wondered how OpenShift automatically provides storage for your apps? By the end of this video, you'll understand storage classes and how they enable dynamic storage provisioning. Imagine you're booking a hotel room. You don't pick a specific room number, but you just request a standard deluxe or suite, and the hotel system assigns the right one based on availability. That's how storage classes work in OpenShift. We know how Persistent Volumes and Persistent Volume Claims work, but what happens when we need automatic storage provisioning? That's where storage classes come in. Storage classes automate storage provisioning in OpenShift. Instead of creating PVs manually, the OpenShift cluster dynamically provisions storage when a Persistent Volume Claim is created. This solves the problem of static storage, which is hard to scale, and also, simplifies management for administrators. Now that we understand why storage classes are useful, let's break down how they…

Contents