logoalt Hacker News

bigstrat2003last Friday at 11:42 PM2 repliesview on HN

I wouldn't say you're missing out. If kustomize works for you, keep using it. I personally use helm because I cannot for the life of me wrap my head around kustomize. I've looked at tutorials, read the docs, and it just doesn't make sense to me. Helm, on the other hand, immediately clicked and I was able to pretty effortlessly write charts for our use. It's just a case of different preference in tools, imo.


Replies

mdanielyesterday at 8:06 PM

Every time I try to get into Kustomize, I feel it just has a documentation problem. It's written in Ph.D.ese without suitable examples

But, if it helps, my mental model of Kustomize is "it's a sequence of JSON Patch [1] operations"[2] which makes it absolutely stellar for mutating someone else's helm chart[3] (or yaml) since you can target anything for updating to your needs

My secondary complaint is that even JetBrains don't have good support for it, which makes working with them extra hard mode

1: https://www.rfc-editor.org/rfc/rfc6902.html

2: it's a very "functional programming language" mental model https://kubectl.docs.kubernetes.io/references/kustomize/kust...

3: https://kubectl.docs.kubernetes.io/references/kustomize/buil...

cmcknyesterday at 12:52 AM

Kustomize feels like less of a hack to me, without the gotpl madness, but it’s way more painful to get something done in my experience. I’ve landed on just writing real code to craft the objects I want (using the actual types, not text), if I absolutely can’t get by with static manifests.