frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ask HN: Who uses open LLMs and coding assistants locally? Share setup and laptop

64•threeturn•3h ago•41 comments

I'm tired of reading five different API docs just to accept payments

2•devodii•41m ago•0 comments

Scientists can't define consciousness, yet we think AI will have it

4•f_of_t_•1h ago•7 comments

Tell HN: Azure outage

871•tartieret•2d ago•801 comments

Ask HN: Does anyone else with astigmatism not like dark-mode?

2•morkalork•3h ago•6 comments

Can we talk about the rude installers not asking for installation locations?

40•breezk0•2h ago•59 comments

Ask HN: Is anybody running a successful non-subscription business?

6•fandorin•8h ago•23 comments

Ask HN: Is Udacity now geo blocking countries?

4•estebarb•14h ago•0 comments

Tell HN: Twilio support replies with hallucinated features

155•haute_cuisine•2d ago•41 comments

Ask HN: Does Apple dictation (iPhone) process on device?

2•dav43•9h ago•0 comments

Anyone else having AWS STS issues?

5•ahawkins•10h ago•1 comments

Ask HN: Not treated respectfully by colleague – advice?

111•golly_ned•6d ago•124 comments

Ask HN: Thoughts on /etc/hosts instead of DNS for production applications?

12•notepad0x90•1d ago•12 comments

How the most feared algorithm in algebra is simple

13•diegoofernandez•1d ago•4 comments

I interviewed the Rails developer who "accidentally" hacked 37signals

2•basileafe•23h ago•0 comments

Ask HN: How to deal with long vibe-coded PRs?

5•philippta•2d ago•11 comments

Tell HN: OpenAI now requires ID verification and won't refund API credits

203•retube•6d ago•119 comments

Ask HN: Is AWS down again?

84•ajdude•4d ago•37 comments

GlyphGL: Open-Source C/C++ header only lightweight OpenGL text renderer

7•DareksCoffee•1d ago•1 comments

I've built vetr.is – privacy respecting host, looking for beta testers/feedback

6•falkensmaze66•2d ago•5 comments

Ask HN: Advice for creating a USB device linking 2 computers

20•WorldDev•5d ago•44 comments

Ask HN: Do you negotiate salary in this job market?

10•sawirricardo•1d ago•25 comments

Tell HN: macOS 26 is making me have regrets for the first time in 12yrs

22•trumbitta2•4d ago•25 comments

Ask HN: Why is there no operating manual on how to live life?

10•v7engine•1d ago•20 comments

Google Demanded My Drivers Lic Before Letting Me Read an Article

79•keernan•6d ago•36 comments

Experimental config driven LLM client library in Rust

4•Sshmendez•1d ago•0 comments

Ask HN: Laid-off product teams – why not build something together?

11•saradhi•2d ago•10 comments

Ask HN: Are Punycode Domains Indexable?

4•chamaloriz•1d ago•3 comments

You've reached the end!

Open in hackernews

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

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

works really well

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

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

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

https://github.com/mkubaczyk/helmsman

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