Opscraft
Helm & Kustomize · Lesson 1 of 7 · 3 min read

The problem both tools solve

Helm and Kustomize are the two standard ways to package and customise Kubernetes manifests, and almost every Senior DevOps interview asks about at least one of them. Many teams use Kustomize with Flux day to day, but interviewers also expect Helm fluency — chart structure, templating, values precedence, releases and rollbacks, hooks, OCI registries, chart testing — and a clear view of when to use which (and how to combine them).

Raw YAML doesn't scale: the same Deployment differs per environment (replicas, image tag, resources, ingress host), and dozens of services share the same patterns. Two philosophies:

Enlarge diagramHELM: TEMPLATINGKUSTOMIZE: PATCHINGtemplatesYAML with {{ }} gapsvalues-prod.yamlreplicas: 6YAMLrenderedbaseplain valid YAMLoverlay prodpatch: replicas 6YAMLbuilt
Figure 1. Two ways to avoid copying YAML per environment. Helm fills templates with values; Kustomize patches plain YAML.
Swipe sideways to see all of it, or tap to open it full screen.
Helm Kustomize
Approach Templating: Go templates + values produce YAML Patching: plain YAML base + overlays that patch it
Packaging Charts, versioned, distributed via repositories/OCI No packaging; directories in Git
Release tracking Yes — releases, revisions, rollback No — kubectl apply (or a GitOps controller)
Lifecycle hooks Yes (pre-install, post-upgrade, tests) No
Readability Templates can get complex What you see is valid YAML
Built into kubectl No Yes (kubectl apply -k, older embedded version)
Best for Distributing reusable apps (3rd-party: cert-manager, External Secrets, Prometheus) and parameterised internal charts Environment overlays of your own manifests; light patches of anything

Common reality: install third-party software with Helm, manage your own services with Kustomize overlays (or a shared internal Helm chart), and let Flux or Argo CD apply both. Kustomize can even inflate Helm charts (helmCharts:), and Flux can post-render Helm output with Kustomize patches.