frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

I'm Peter Roberts, immigration attorney who does work for YC and startups. AMA

140•proberts•9h ago•245 comments

Ask HN: Any active COBOL devs here? What are you working on?

224•_false•10h ago•169 comments

Ask HN: GCP Outage?

85•grilledchickenw•8h ago•38 comments

Ask HN: OpenAI zero'd balance (actual money, not free credits) after inactivity

4•footempbar•4h ago•3 comments

Ask HN: What Pocket alternatives did you move to?

109•ahmedfromtunis•1d ago•130 comments

Ask HN: Does anyone have OpenBSD projects looking for unpaid/paid help?

6•nhgiang•12h ago•1 comments

Ask HN: Where do you guys find audiobooks?

22•niksmac•9h ago•53 comments

Gmail's backup codes are useless to access account

93•Andrew_nenakhov•7h ago•93 comments

Ask HN: What's Your Useful Local LLM Stack?

77•Olshansky•3d ago•48 comments

Ask HN: Cursor is using 269,738 tokens to edit 1200 token file

3•sarpdag•12h ago•4 comments

Tell HN: Notion Desktop is monitoring your audio and network

414•HoyaSaxa•1d ago•167 comments

Ask HN: Changing Developer Career Specialty

7•Rick76•1d ago•2 comments

Ask HN: How did Soham Parekh get so many jobs?

319•jshchnz•2w ago•419 comments

I just got banned by Immunefi for reporting a real replay attack on LayerZero V2

4•tangou•7h ago•1 comments

Ask HN: Is it time to fork HN into AI/LLM and "Everything else/other?"

505•bookofjoe•3d ago•368 comments

Ask HN: How do you find free academic/scientific material?

5•codeful•20h ago•3 comments

Ask HN: What is the state of support for mutable torrents?

5•absurdistan•1d ago•1 comments

Ask HN: How are you tracking dev productivity without feeling micromanaging?

12•kimzhang•1d ago•9 comments

Ask HN: Is OpenAI Acquiring Cursor?

8•schappim•1d ago•6 comments

Ask HN: How do you stay on top of AI tech?

15•kleiba•3d ago•18 comments

Ask HN: What should we do about state ID legislation?

9•VerdisQuo5678•1d ago•8 comments

How big is carpooling market?

4•rutvik2601•1d ago•6 comments

Ask HN: Developer-as-a-Service?

3•gerardojbaez•1d ago•12 comments

Google raising Nest Aware Plus pricing by 25%

10•corywatilo•2d ago•7 comments

Ask HN: What is the best way to learn 3D modeling for 3D printing?

21•wand3r•3d ago•21 comments

AIHint an open standard for signed verifiable metadata readable by AI on the web

2•aihint•1d ago•1 comments

Tell HN: Humanloop acquired, sunsetting Sept 8th

11•BillinghamJ•1d ago•6 comments

Ask HN: A project isn't dead just because it's quiet – how to tell people that?

8•fernvenue•2d ago•6 comments
Open in hackernews

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

25•DeborahEmeni_•2mo 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•2mo ago
We are using kustomize to create the yaml and argocd for deployment. All via ci and git-ops.

works really well

GauntletWizard•2mo 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•2mo ago
Also using Kustomiza and Argo. It's really good imo.
natbennett•2mo ago
I prefer ytt for templating and kapp for deployments.

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

johnjungles•2mo ago
ArgoCD
dvektor•2mo 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•2mo 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•2mo 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•2mo ago
Helmsman works great:

https://github.com/mkubaczyk/helmsman

b11484•2mo 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•2mo ago
My recommendation is fluxcd for a great gitops based workflow (incorporates soap for secrets)
atmosx•2mo 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•2mo 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•2mo 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•2mo 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•2mo ago
+1 for Kustomize
bithavoc•2mo ago
I use Pulumi native package for Kubernetes, no more YAML, only instances of Typescript classes.
Kerbonut•2mo ago
I built my own tooling around templated manifest files (jinja2) and management via ansible playbooks (templated).
1024kb•2mo 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•2mo 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•2mo ago
https://github.com/apple/pkl-k8s
uaas•2mo 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•2mo 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.