BM: Baca dalam Bahasa Melayu
World K4: Notes, Lockers & Packages
StorageClass and access modes
You will learn: who builds lockers on demand, and who may open a locker at once.
Checked with Kubernetes 1.37 on 31 Oct 2026
The problem
kind-dev namespace defaultLast lesson, a locker appeared by itself. Its name is pvc- plus a long id. Nobody wrote its YAML. So who built it?
Try it
Find the locker maker. Then ask the waiting claim what it is doing.
kind-dev namespace defaultdev-control-planeOpenManagerNo trays here.
dev-workerOpenNo trays here.
dev-worker2OpenNo trays here.
Hint
Read the Events at the bottom ofdescribe.Watch
Put the locker-building steps in order, first at the top.
First step at the top. Put these in order. Use the arrows, or drag.
- The claim turns Bound
- The provisioner builds a PV on that stall
- A pod that uses the claim lands on a stall
- You apply a claim. It is Pending.
- The pod starts, with the locker mounted
The maker is a StorageClass: The locker maker: it builds a new PV when a claim asks for one.. kind’s standard class builds each PV on the stall where the pod runs.
Predict
A claim asks for storageClassName: fast. This cluster has no class called fast. What happens?
Pick one answer.
Watch
Drag a card into a box. Or tap the card, then tap the box.
An access mode: Who may use a locker at once: one node (RWO), many nodes (RWX), many readers (ROX) or one pod (RWOP). says who may use the locker at once. Not every StorageClass offers every mode.
Predict
Three trays on three stalls must all save photos to one folder. Which mode?
Pick one answer.
Try it
This claim is refused. Fix the size.
Fix the manifest, then press Apply.
You did it!
You can now explain StorageClasses and pick an access mode.
Go deeper (optional)
WaitForFirstConsumer waits for a pod, so the PV lands where the pod runs. Immediate builds it at once. allowVolumeExpansion: true lets a claim grow later. Clouds offer classes like fast SSDs or network file storage.
Real rep (optional), on a practice kind cluster:
Real mission
kubectl get storageclasskubectl get storageclass standard -o yamlkubectl describe pvc orderskubectl delete pvc orders
0 of 4 steps done · Your ticks are saved.
Bahasa Melayu
Pelajaran lepas, satu loker muncul sendiri. Namanya pvc- dan id panjang. Tiada siapa tulis YAML-nya. Jadi siapa yang bina?
Cari pembuat loker. Kemudian tanya claim yang menunggu itu apa yang ia buat.
describe.Susun langkah bina loker, yang pertama di atas.
Pembuat itu ialah StorageClass. Class standard dalam kind bina setiap PV di gerai tempat pod berjalan.
Satu claim minta storageClassName: fast. Kluster ini tiada class bernama fast. Apa jadi?
Access mode (mod akses) sebut siapa boleh guna loker serentak. Bukan semua StorageClass beri semua mod.
Tiga dulang di tiga gerai mesti simpan gambar ke satu folder. Mod mana?
Claim ini ditolak. Baiki saiznya.
Kini anda boleh terangkan StorageClass dan pilih mod akses.
You finished this before. Practice is always welcome!
Official docs: Kubernetes: Storage Classes · Kubernetes: Dynamic Volume Provisioning · Persistent Volumes: access modes
You've learned for 25 minutes. A short break helps your brain.
Sprint done! Great focus. Stretch for a minute?