All jobs / DevOps / SRE / cloud / Kubernetes
DevOps / SRE / cloud interview question · 1–3 years
What does Helm give you over applying raw YAML, and what does `helm rollback` not do?
The strongest answer
Templated charts with per-environment values and release tracking — history, upgrade, rollback of the whole set; rollback restores the manifests, not a database migration or data the new version wrote
Why it works
Right — Helm manages releases, not state. Pair every schema change with a backward-compatible plan regardless of the tool.
What a good answer covers
- Charts plus values plus releases.
- One command rolls back the set.
- Manifests, not data.
- Plan the schema separately.
Answers that fall short
- Close, but not the strongest: It packages YAML so you can install the same chart in many clusters
Packaging is part of it; the release history and the rollback of the whole set are what change operations. - Weak: Helm is only useful for third-party software; our own services should be plain YAML
The same templating and release tracking is what removes copy-pasted YAML for your own services. - Red flag: Rollback puts everything back exactly as it was, so migrations are safe to run in the upgrade
Believing rollback undoes data is how a “safe” rollback leaves the old code facing a new schema.
Who gets asked this
More Kubernetes questions
- The pods are Running, but calls to the Service get connection refused. Walk me through the diagnosis.
- The cluster is two versions behind. How do you catch up?
- Pods cannot reach an external API that works from your laptop. What do you check in the cluster?
- HPA keeps adding pods; memory still climbs per pod. What is going on?
- A cluster has no NetworkPolicies. What do you install without boiling the ocean?
- You run one precious cluster that cannot be rebuilt. What is the programme?
- Thirty teams share a few clusters. Requests for cluster-admin “just to deploy” arrive weekly. How do you hand…
- A service’s health URL always returns 200 from the process start. What did you miss?