Hacker News new | ask | show | jobs
by chuckadams 437 days ago
Oddly, I'm moving all my stuff to k8s because of how convenient and easy everything is to admin with tooling like k9s. But I've only ever worked with toy clusters with nodes in the single digits, and I can see what a nightmare debugging something like networking or storage at scale can be.

Also, helm gave me a loathing for yaml I never knew I had in me. I avoid some of helm's more vulgar gyrations by using helmfile, but I'm also giving yoke a look.

1 comments

> Also, helm gave me a loathing for yaml I never knew I had in me

If it's the whitespace that jams you up, I wanted to point out that since YAML is a superset of JSON, there's nothing stopping you from using text/template to cook JSON manifests. There is, of course, a toJson function available in helm <https://helm.sh/docs/chart_template_guide/function_list/#typ...>

But I'm conceptually with you that the jokers who decided to use a text templating language for a structured output were gravely misguided and now we all suffer

There is also JSonnet and the appropriate tooling with tanka.dev