Chapter 85: Helm for Kubernetes
85.11 Comparison, interview questions and revision
Comparison card — Helm vs Kustomize vs plain kubectl
| Approach | Best when | Weak when |
|---|---|---|
| kubectl apply -f | Tiny labs, one file | Many envs, history, packaging |
| Kustomize | Overlays without a template language | Complex logic and packaged deps |
| Helm | Packaging, values, rollback, shared charts | Over-templating can get hard to read |
Interview questions
- What is Helm? — Package manager for Kubernetes; charts + values become releases.
- Helm 2 vs Helm 3? — Helm 3 removed Tiller; releases stored as secrets/configmaps in-cluster.
- install vs upgrade --install? — Second form is idempotent for CI.
- How do you roll back? —
helm rollback RELEASE REVISION -n NS. - How do you avoid applying bad YAML? —
helm lint,helm template, PR review, then upgrade. - Where do secrets go? — Not in public values; use sealed secrets / external secrets / private values.
- What is a chart dependency? — Another chart declared in Chart.yaml and fetched into charts/.
Revision checklist
- [ ] I can install Helm and list releases.
- [ ] I can read Chart.yaml and values.yaml.
- [ ] I can upgrade and roll back.
- [ ] I can render with helm template.
- [ ] I can add a repo and install a known chart.
Quick quiz
Q1. Name three Helm commands you use every week.
upgrade --install, rollback, template (or lint / list).
Q2. Helm or Kustomize for a public shared package?
Helm charts are the usual shared package format.
Q3. What stores release history in Helm 3?
Secrets or ConfigMaps in the release namespace.
Ravindra Bagale's Tip
In interviews, say why then what then how, and finish with one command you actually ran in this lab.
मुलाखतीत why नंतर what नंतर how सांगा, आणि या lab मध्ये चालवलेली एक command सांगून संपवा.
इंटरव्यू में why फिर what फिर how कहें, और इस lab में चलाई एक command बताकर खत्म करें.
In short
- Helm packages Kubernetes YAML into charts with values and release history.
- Learn create, install, upgrade, rollback, template and lint first.
- Use value files per environment; pin chart versions in prod.
- Repositories give you Prometheus, ingress and more without reinventing YAML.
- Next teaching chapter: Argo CD deploys these charts from Git (GitOps).
Did you understand? Let us try it once more.