frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Getting tired of Helm – any better way to handle deployments in Kubernetes?

25•DeborahEmeni_•10mo ago
I’ve been deep in Helm templates lately and it’s starting to feel like YAML hell. It was fine when we had a few services, but now it’s just hard to manage. Anyone found a workflow that avoids Helm altogether? Or made Helm manageable at scale?

Comments

LarsLarson•10mo ago
We are using kustomize to create the yaml and argocd for deployment. All via ci and git-ops.

works really well

GauntletWizard•10mo ago
I'm a huge fan of Kustomize. I'm ambivalent towards argocd, but Kustomize is as close to a DWIM tooling as it's possible to get for Kubernetes.
OhSoHumble•10mo ago
Also using Kustomiza and Argo. It's really good imo.
natbennett•10mo ago
I prefer ytt for templating and kapp for deployments.

https://github.com/carvel-dev/carvel

johnjungles•10mo ago
ArgoCD
dvektor•10mo ago
Yeah the whole 'git repo = helm chart' just does not feel great at all. As we all know, the only thing worse is not using helm and having to deal with writing all those service, pv, pvc, ingress yaml files individually :)
haiku2077•10mo ago
ArgoCD for relatively simple stuff.

For complex stuff I write Python or Go programs to build manifests, then shell out to kubectl apply. An old example - deploying a multi-instance modded Arma 3 server on k3s: https://github.com/dharmab/homelab-k3s/tree/main/lab

a-saleh•10mo ago
Why just simple?

T.b.h. if I were to write a manifest generator, I would still probably commit the thing into a repo and let argo do the rest. Maybe even fiddled around to make the generator into a config-management-plugin ... but that feels like over-doing it.

Nerudite•10mo ago
Helmsman works great:

https://github.com/mkubaczyk/helmsman

b11484•10mo ago
I've been working on improving a tool called kr8+, which uses jsonnet to combine cluster config and apply it to components: https://github.com/ice-bergtech/kr8
Vespasian•10mo ago
My recommendation is fluxcd for a great gitops based workflow (incorporates soap for secrets)
atmosx•10mo ago
Kustomize is easier to manage at scale, but some upfront effort is required. Many charts are distributed as Helm packages, so you’ll often need to export them as raw YAML manifests. In an ideal setup, ArgoCD combined with Kustomize should cover most deployment needs. However, depending on your workflow, you may eventually need a way to dynamically replace variables. If the built-in tools in recent Kustomize versions aren’t sufficient, consider using envsubst as a fallback.
GauntletWizard•10mo ago
I handle deploy time dynamic variables with `sed`. You shouldn't need more complexity than that.

(Not that I haven't had the need, I've use jsonnet with libk8s at scale. But if you're asking the question this simply, you probably don't need it)

atmosx•10mo ago
> I handle deploy time dynamic variables with `sed`

I brought up envsubst because it’s a simpler, cleaner, and often overlooked option for variable substitution.

> Not that I haven't had the need, I've use jsonnet with libk8s at scale. But if you're asking the question this simply, you probably don't need it

In my view, Jsonnet isn’t an improvement - it’s complicated to learn, cumbersome to use, and prone to mistakes.

That said, if an organization decides to adopt any specific tool, I believe consistency in tooling, design, and practices is more important than the tool itself.

arccy•10mo ago
if you only work with your own stuff, helm is easily (and best) avoided.

i like generating k8s yaml with cue, example: https://github.com/cue-labs/cue-by-example/tree/main/003_kub...

there's also https://timoni.sh/ if you want a helm-like experience, but with cue instead of templating.

If you're working with upstream projects, unfortunately many of them will only provide helm charts, so you got to decide between rewriting them to suit your env/tool, or just live with the crappiness of helm.

delduca•10mo ago
+1 for Kustomize
bithavoc•10mo ago
I use Pulumi native package for Kubernetes, no more YAML, only instances of Typescript classes.
Kerbonut•10mo ago
I built my own tooling around templated manifest files (jinja2) and management via ansible playbooks (templated).
1024kb•10mo ago
What exactly are you doing with Helm that's making it so painful to use, and what does your development workflow look like? I've certainly had my fair share of issues with Helm, especially when trying to get a bit too fancy with creating Helm libraries, and standardised charts. I've also found that trying to aggregate multiple charts into a single chart for deploying an environment can also become a nightmare to manage.

I'm currently looking at Helmfile so that I don't need to aggregate charts into a 'parent chart', and i'd also like to move towards a single standardised chart that all microservices can use, rather than spin up a new chart for each service.

Open-Sourcery•10mo ago
Holos.run for my homelab cluster. Cuelang has a learning curve but works well with argo unlike Timoni and let's you import existing charts, bare manifests, and use kustomize. Let's me abstract config with custom types and unification/(inheritance if that is easier to think about but a bit wrong)
gtirloni•10mo ago
https://github.com/apple/pkl-k8s
uaas•10mo ago
IMHO at scale (both in terms of complexity and org level) having something consistent helps more than trying to fight the de-facto standard. Since most upstream projects are mainly distributed as Helm charts, going with anything else will require more effort eventually.
a-saleh•10mo ago
Recently I have been writing more stings in jsonnet. If I were with more haskell-friendly team, might even try dhall. In general, I feel like writing the yaml in something else than yaml is the way to go, and as long as you get imports and way to do templating that is not just string interpolation, you are good.

DashPane – macOS window switcher, no account, no subscription, pure Swift

6•jbetala7•2h ago•1 comments

Ask HN: Running legacy IE/ActiveX clients without local admin rights?

16•Servant-of-Inos•4d ago•17 comments

Ask HN: How do you deal with obvious AI assistant usage in interviews

3•stackdestroyer•11h ago•9 comments

GitHub now requiring 2FA for all contributors,what authenticator apps you using?

10•nickcageinacage•19h ago•22 comments

Rses – cross-resume between Claude Code, Codex, and OpenCode

8•plawlost•22h ago•5 comments

Ask HN: Personalized mRNA cancer vaccines, how real is the pipeline today?

6•imnotlost•13h ago•4 comments

Ask HN: Founders of estonian e-businesses – is it worth it?

16•udl•3d ago•5 comments

Ask HN: How did you figure out what you wanted to do with your life?

13•icwtyjj•1d ago•31 comments

LLMs learn what programmers create, not how programmers work

40•noemit•3d ago•16 comments

Ask HN: Is Antigravity code search dropping results recently?

6•sankalpnarula•1d ago•0 comments

Lazy Tmux – Lazy-loading tmux sessions with a tree view

4•Alchemmist•1d ago•0 comments

Ask HN: At what point you decided to pursue your startup fulltime?

7•kathir05•22h ago•15 comments

Ask HN: Is anyone here also developing "perpetual AI psychosis" like Karpathy?

30•jawerty•3d ago•27 comments

Ask HN: Is using AI tooling for a PhD literature review dishonest?

9•latand6•3d ago•29 comments

Tell HN: Russians may soon lose access to the global internet

43•taminka•2d ago•20 comments

Ask HN: Does the World need more software?

5•Vektorceraptor•2d ago•14 comments

Ask HN: How do you feel when your coding assistant loses context?

4•noduerme•1d ago•16 comments

Tell HN: Slow Down

13•jacquesm•1d ago•7 comments

Ask HN: Any recommended engineering/dev related Slack channels?

4•Kuraptka•2d ago•2 comments

Tell HN: In the UK, iOS 26.4 needs an age check to change content restrictions

19•boysenberry•2d ago•0 comments

Ask HN: How do you offload all coding to AI?

13•makingstuffs•2d ago•13 comments

Ask HN: Do you feel less happy when coding with agent?

5•zane__chen•2d ago•15 comments

Does nobody care about not being able to copy from Slack anymore?

6•neal_caffrey•2d ago•4 comments

Is Trusttunnel easy for people to use?

2•AnonyMD•2d ago•0 comments

Does it make sense to ask Blackberry to re-license ancient QNX sources?

4•ymz5•2d ago•3 comments

Ask HN: Analog Model of Transformers

7•JPLeRouzic•2d ago•2 comments

Ask HN: $50 monthly budget, which coding models would you recommend now?

13•klueinc•2d ago•23 comments

Anonymize / de-identify LLM chat history export, post-processing

2•msiraj1•3d ago•1 comments

You've reached the end!