Menu

Helm & Kustomize: Packaging Kubernetes Manifests
📰

Helm & Kustomize: Packaging Kubernetes Manifests

DEV Community: kubernetes·Sri Balaji·8 days ago
#3qFVgoNr
#devtokubernetes#devto#dev#helm#yaml
Reading 0:00
15s threshold

⚡ TL;DR: Choose between Helm's templated charts and Kustomize's overlays to tame Kubernetes YAML across environments. You will know which fits your case and how both slot cleanly into a GitOps workflow.

Contents

The copy-paste tax

Templates vs patches

The picture

Helm vs Kustomize: a head-to-head

The same app, both ways

How they fit GitOps

Common mistakes that cost hours

Takeaways

Where to go next

The copy-paste tax

You write a clean Kubernetes Deployment. It works. Then someone says "we need it in staging too," so you copy the YAML into a new folder and change the image tag, the replica count, and the host in the Ingress. Then prod arrives, and you copy it again, three replicas this time, a different resource limit, a real TLS secret. Now you have three near-identical copies of the same manifest, and the only honest description of the difference between them lives in your head.

Three months later someone adds a new environment variable to the dev copy and forgets the other two. Prod drifts.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.