How would you structure Helm charts for 30 microservices?
IntermediateScenarioHelm, operators and GitOps
Answer
Situation read → Each team copies a similar chart.
What I'd do →
- Build a common library chart (
type: library) with shared templates - Each service chart contains a small
values.yamland depends on the library - Publish charts to an OCI registry (ECR)
- Version and test with
helm lintandct lint-and-install - Or use one generic chart parametrised by values
Why → Shared templates reduce drift and let platform changes roll out uniformly.
Interview tip → Say you keep chart logic simple.
More on Helm, operators and GitOps
A `helm upgrade` failed halfway. How do you see state and recover?BeginnerHelm says `cannot re-use a name that is still in use` or `another operation is in progress`. What now?IntermediateHow do you review what a Helm upgrade will change before running it?IntermediateWhere do you keep chart values for multiple environments?BeginnerWhat does `helm template` do and how is it different from `helm install`?BeginnerA Helm chart upgrade changed an immutable field and failed. How do you proceed?Advanced