Certified Kubernetes Administrator (CKA) · Section 1 · 25% of the exam
Use Helm and Kustomize to install cluster components
One of the objectives of the Certified Kubernetes Administrator (CKA) exam, in the section “Cluster Architecture, Installation and Configuration”. Here is what it covers, the points to remember and a question to try.
What it covers
Helm packages Kubernetes manifests as charts that you install as versioned releases; Kustomize customises plain YAML with bases, overlays and patches, and is built into kubectl. This lesson covers the commands, values, upgrades and rollbacks, and the kustomization.yaml fields the exam uses to install cluster components such as CNI plugins, ingress controllers and metrics-server.
Points to remember
- Helm: chart, repository, release (name + revision), values. Kustomize: base, overlay, patches, built into kubectl.
helm repo add,helm repo update,helm search repo,helm install NAME CHART,helm upgrade,helm rollback NAME REV,helm uninstall.--create-namespacecreates the namespace;--versionpins the chart;--setand-fset values.helm upgraderesets values unless--reuse-valuesor the same-ffile is given.helm templateand--dry-runrender without installing;helm get valuesshows user values.
Try a question
A base directory defines a Deployment using image: nginx:1.25. The production overlay must run nginx:1.27 without editing the base. Which kustomization field is the simplest?
- A
secretGenerator:with literalimage=nginx:1.27 - B
namePrefix: nginx-1.27- - C
commonLabels:withnginx: "1.27" - D
images:withname: nginxandnewTag: "1.27"
Show the answer
D. Use the images transformer in the overlay: images: [{name: nginx, newTag: "1.27"}]. Patches also work but are heavier for a tag change.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Helm and Kustomize teaches this objective (about 45 minutes), and 10 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.
More in this section
- Manage role based access control (RBAC)
- Prepare underlying infrastructure for installing a Kubernetes cluster
- Create and manage Kubernetes clusters using kubeadm
- Manage the lifecycle of Kubernetes clusters
- Implement and configure a highly-available control plane
- Understand extension interfaces (CNI, CSI, CRI, etc.)
- Understand CRDs, install and configure operators