From the course: Certified Kubernetes Administrator (CKA) Cert Prep (2024)
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Using StorageClass - Kubernetes Tutorial
From the course: Certified Kubernetes Administrator (CKA) Cert Prep (2024)
Using StorageClass
- In this video, I'd like to tell you about StorageClass. So, StorageClass is an API resource that allows storage to be automatically provisioned. And StorageClass can also be used as a property that connects PVC and PV without using an actual StorageClass resource. If you create a PVC and you want to bind a PVC to a PV where no StorageClass is available, actually, using that property is mandatory. Multiple StorageClass resources can coexist in the same cluster to provide access to different types of storage, and that makes it easy to connect some applications to your fast storage and other applications to your slow storage. If you wanted to work automatically, one StorageClass must be set as default. The fancy way to do so is by using the kubectl patch command. We haven't seen that command before, so let's give it some attention. kubectl patch storageclass. In that part, storageclass is the name of the resource. mysc is the name of your specific StorageClass that you want to edit…
Contents
-
-
-
-
-
-
(Locked)
Learning objectives43s
-
(Locked)
Understanding Kubernetes storage options3m 42s
-
(Locked)
Accessing storage through Pod volumes4m 18s
-
(Locked)
Configuring persistent volume (PV) storage3m
-
(Locked)
Configuring PVCs3m 4s
-
(Locked)
Configuring Pod storage with PV and PVCs2m 56s
-
(Locked)
Using StorageClass2m 19s
-
(Locked)
Understanding storage provisioners14m 40s
-
(Locked)
Using ConfigMaps and secrets as volumes4m 44s
-
(Locked)
Lesson 4 lab: Setting up storage38s
-
(Locked)
Lesson 4 lab solution: Setting up storage6m 5s
-
(Locked)
-
-
-
-
-
-
-
-
-
-