BM: Baca dalam Bahasa Melayu
World K4: Notes, Lockers & Packages
Write a small chart
You will learn: what is inside a Helm chart, and how values fill its templates.
Checked with Kubernetes 1.37 on 31 Oct 2026
The problem
kind-dev namespace defaultYour team copies shop.yaml for every new stall. Only the name, the image and the tray count change. Write the YAML once, with holes.
Watch
Drag a card into a box. Or tap the card, then tap the box.
A chart is a folder in three parts. Chart.yaml is the label. values.yaml holds the defaults. templates/ holds YAML with holes.
Watch
A piece of templates/deployment.yaml. Tap every line with a hole.
0 of 3 found
Each {{ }} is a hole. Helm fills .Values holes from values: The order form for a chart, like replicaCount or the image tag. values.yaml holds the defaults.: values.yaml, or your --set.
Try it
Fill the image hole with 1.30-alpine. Look at the image line.
kind-dev namespace defaultdev-control-planeOpenManagerNo trays here.
dev-workerOpenNo trays here.
dev-worker2OpenNo trays here.
Hint
A dot walks into the values:image.tag is tag inside image.Predict
values.yaml says replicaCount: 2. You add --set replicaCount=4. What does the YAML say?
Pick one answer.
Check
Good chart habit or not? Swipe each one.
Swipe right for good, left for needs work. Or use the buttons.
Put the image tag in values.yaml, not in the template.
Check
You run helm template pasar ./kedai. What is the Deployment called?
Pick one answer.
You did it!
You can now read a small chart and fill it with values.
Go deeper (optional)
helm create kedai makes a starter chart like this one. helm lint ./kedai finds mistakes. helm package ./kedai makes a .tgz to share. Templates use Go templates, so {{ .Values.name | quote }} wraps a value in quotes. Chart.yaml starts with apiVersion: v2.
Real rep (optional), on your own machine with Helm 4:
Real mission
helm create kedaihelm lint ./kedaihelm template shop ./kedai --set replicaCount=3rm -r kedai
0 of 5 steps done · Your ticks are saved.
Bahasa Melayu
Pasukan anda salin shop.yaml untuk setiap gerai baharu. Hanya nama, image dan bilangan dulang yang berubah. Tulis YAML sekali, dengan ruang kosong.
Chart ialah folder dengan tiga bahagian. Chart.yaml ialah label. values.yaml simpan nilai lalai. templates/ simpan YAML dengan ruang kosong.
Setiap {{ }} ialah ruang kosong. Helm isi ruang .Values daripada values (nilai): values.yaml, atau --set anda.
Isi ruang image dengan 1.30-alpine. Lihat baris image.
image.tag ialah tag di dalam image.values.yaml kata replicaCount: 2. Anda tambah --set replicaCount=4. Apa YAML itu kata?
Tabiat chart yang baik atau tidak? Leret setiap satu.
Anda jalankan helm template pasar ./kedai. Apa nama Deployment itu?
Kini anda boleh baca chart kecil dan isinya dengan values.
You finished this before. Practice is always welcome!
Official docs: Helm: Charts · Helm: Chart template guide · helm template
You've learned for 25 minutes. A short break helps your brain.
Sprint done! Great focus. Stretch for a minute?