What is the structure of a Helm chart? What are the key files and directories?
What they are really testing: Whether you can navigate and author a chart: Chart.yaml, values.yaml, templates/, charts/, and the supporting files. Basic but reveals hands-on experience.
A real interview question
What is the structure of a Helm chart? What are the key files and directories?
What most people say
drag me
“A chart has a Chart.yaml, a values.yaml, and a templates folder.”
It names the basics but misses the distinction between version and appVersion, the charts/ subchart directory, _helpers.tpl, and values.schema.json, details that show real authoring experience.
The follow-ups they ask next
What is the difference between version and appVersion in Chart.yaml?
version is the chart packaging version (bumped when the chart changes); appVersion is the version of the application the chart deploys. They are independent, you can re-release the chart without changing the app.
What is values.schema.json for?
A JSON Schema that validates the user-supplied values, so a missing or wrong-typed value fails fast with a clear error instead of producing a broken manifest.
What the interviewer is listening for
- Knows Chart.yaml/values.yaml/templates/charts
- Distinguishes version vs appVersion
- Knows _helpers.tpl, NOTES.txt, values.schema.json
What sinks the answer
- Only the three basic files
- Confuses version and appVersion
- Unaware of charts/ subcharts or schema
If you genuinely do not know
Say this instead of freezing. Reasoning out loud from what you do know beats silence every single time, and a good interviewer is listening for exactly that.
“A chart has [Chart.yaml (metadata: name, version vs appVersion, dependencies)], [values.yaml (defaults)], [templates/ (the templated manifests + _helpers.tpl + NOTES.txt)], and [charts/ (dependency subcharts)]. Plus [values.schema.json to validate values and .helmignore]. version is [the chart version], appVersion is [the app version], independent.”
Keep going with helm
Foundation
What is Helm, and what problem does it solve for Kubernetes?
Foundation
Explain the core Helm concepts: chart, release, and repository.
Foundation
How do values and templating work in a Helm chart?
Junior
Walk me through the Helm release lifecycle: install, upgrade, rollback, uninstall.
Junior
How does Helm templating work? Mention the template objects and helpers.
Junior
How do you manage environment-specific configuration (dev, staging, prod) with one chart?
Knowing the answer is not the same as recalling it under pressure
Sign in to send the questions you fumble to spaced recall, so they come back right before you would forget them, and learn the concepts behind them with hands-on labs.
Start free