KCNA ยท Application delivery and debugging
Helm and Kustomize
Charts, values, releases, overlays and patches, when to use each.
Key points
- Helm packages Kubernetes manifests as a chart: templates plus default values.
- Release: created by installing a chart, tracked by revision for upgrade and rollback.
- Values are overridden with --set or -f.
- Kustomize: no templates; overlays with patches, prefixes and generators customise a base of plain YAML, driven by a kustomization.yaml.
- kubectl kustomize renders it, kubectl apply -k applies it.
Source: https://helm.sh/docs/helm/helm_upgrade/
Practice questions
What is a Helm chart?
- A package of templated Kubernetes manifests with default values and metadata
- A running instance of an application in a cluster
- A patch file applied on top of a base
- A built container image
Show answer
Answer: A. A package of templated Kubernetes manifests with default values and metadata
A chart is the package; the running instance created from it is a release. Patches over a base belong to Kustomize.
Which statements about Helm are correct?
- Chart default values can be overridden with --set or -f
- Each installed chart becomes a release that Helm tracks
- helm upgrade --install installs the release if it does not exist yet
- A chart cannot contain default values
- Helm needs a kustomization.yaml in every chart
Show answer
Answer: A. Chart default values can be overridden with --set or -f, B. Each installed chart becomes a release that Helm tracks, C. helm upgrade --install installs the release if it does not exist yet
Values, releases and --install are core Helm behaviour. kustomization.yaml belongs to Kustomize, and charts ship with default values.
True or false: applying a Kustomize overlay rewrites the original base YAML files in place.
Show answer
Answer: False
Kustomize renders a customised copy from the base plus patches; the base files stay untouched, so many overlays can share one base.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
