TE
TechEcho
StartseiteTop 24hNeuesteBesteFragenZeigenJobs
GitHubTwitter
Startseite

TechEcho

Eine mit Next.js erstellte Technologie-Nachrichtenplattform, die globale Technologienachrichten und Diskussionen bietet.

GitHubTwitter

Startseite

StartseiteNeuesteBesteFragenZeigenJobs

Ressourcen

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. Alle Rechte vorbehalten.

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

21 Punktevon DeborahEmeni_vor 2 Tagen
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?

16 comments

atmosxvor 2 Tagen
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.
评论 #43908521 未加载
haiku2077vor 2 Tagen
ArgoCD for relatively simple stuff.<p>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: <a href="https:&#x2F;&#x2F;github.com&#x2F;dharmab&#x2F;homelab-k3s&#x2F;tree&#x2F;main&#x2F;lab">https:&#x2F;&#x2F;github.com&#x2F;dharmab&#x2F;homelab-k3s&#x2F;tree&#x2F;main&#x2F;lab</a>
gtirlonivor etwa 8 Stunden
<a href="https:&#x2F;&#x2F;github.com&#x2F;apple&#x2F;pkl-k8s">https:&#x2F;&#x2F;github.com&#x2F;apple&#x2F;pkl-k8s</a>
1024kbvor 1 Tag
What exactly are you doing with Helm that&#x27;s making it so painful to use, and what does your development workflow look like? I&#x27;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&#x27;ve also found that trying to aggregate multiple charts into a single chart for deploying an environment can also become a nightmare to manage.<p>I&#x27;m currently looking at Helmfile so that I don&#x27;t need to aggregate charts into a &#x27;parent chart&#x27;, and i&#x27;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.
arccyvor 2 Tagen
if you only work with your own stuff, helm is easily (and best) avoided.<p>i like generating k8s yaml with cue, example: <a href="https:&#x2F;&#x2F;github.com&#x2F;cue-labs&#x2F;cue-by-example&#x2F;tree&#x2F;main&#x2F;003_kubernetes_tutorial">https:&#x2F;&#x2F;github.com&#x2F;cue-labs&#x2F;cue-by-example&#x2F;tree&#x2F;main&#x2F;003_kub...</a><p>there&#x27;s also <a href="https:&#x2F;&#x2F;timoni.sh&#x2F;" rel="nofollow">https:&#x2F;&#x2F;timoni.sh&#x2F;</a> if you want a helm-like experience, but with cue instead of templating.<p>If you&#x27;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&#x2F;tool, or just live with the crappiness of helm.
b11484vor 2 Tagen
I&#x27;ve been working on improving a tool called kr8+, which uses jsonnet to combine cluster config and apply it to components: <a href="https:&#x2F;&#x2F;github.com&#x2F;ice-bergtech&#x2F;kr8">https:&#x2F;&#x2F;github.com&#x2F;ice-bergtech&#x2F;kr8</a>
Open-Sourceryvor 1 Tag
Holos.run for my homelab cluster. Cuelang has a learning curve but works well with argo unlike Timoni and let&#x27;s you import existing charts, bare manifests, and use kustomize. Let&#x27;s me abstract config with custom types and unification&#x2F;(inheritance if that is easier to think about but a bit wrong)
natbennettvor 2 Tagen
I prefer ytt for templating and kapp for deployments.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;carvel-dev&#x2F;carvel">https:&#x2F;&#x2F;github.com&#x2F;carvel-dev&#x2F;carvel</a>
bithavocvor 2 Tagen
I use Pulumi native package for Kubernetes, no more YAML, only instances of Typescript classes.
LarsLarsonvor 2 Tagen
We are using kustomize to create the yaml and argocd for deployment. All via ci and git-ops.<p>works really well
评论 #43907686 未加载
评论 #43908421 未加载
dvektorvor 2 Tagen
Yeah the whole &#x27;git repo = helm chart&#x27; 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 :)
Kerbonutvor 2 Tagen
I built my own tooling around templated manifest files (jinja2) and management via ansible playbooks (templated).
Neruditevor 2 Tagen
Helmsman works great:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;mkubaczyk&#x2F;helmsman">https:&#x2F;&#x2F;github.com&#x2F;mkubaczyk&#x2F;helmsman</a>
Vespasianvor 2 Tagen
My recommendation is fluxcd for a great gitops based workflow (incorporates soap for secrets)
delducavor 2 Tagen
+1 for Kustomize
johnjunglesvor 2 Tagen
ArgoCD