CertLumen

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-namespace creates the namespace; --version pins the chart; --set and -f set values.
  • helm upgrade resets values unless --reuse-values or the same -f file is given.
  • helm template and --dry-run render without installing; helm get values shows 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?

  1. AsecretGenerator: with literal image=nginx:1.27
  2. BnamePrefix: nginx-1.27-
  3. CcommonLabels: with nginx: "1.27"
  4. Dimages: with name: nginx and newTag: "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

← Previous objective · All 27 objectives · Next objective →