The good, the bad and the ugly of templating YAML in Kubernetes, with Alexander Block
4 snips
Apr 30, 2024 Alexander Block, creator of the kluctl tool, dives into the world of Kubernetes templating. He reveals the fundamental flaws of Helm and why existing tools like Kustomize and jsonnet aren't the complete answer. Alexander shares his journey from game development to Cloud Native, highlighting how Docker and Kubernetes transformed his workflow. He also discusses the complexities of YAML, the need for adaptable solutions, and what the future holds for resource templating in the ever-evolving Kubernetes landscape.
AI Snips
Chapters
Transcript
Episode notes
YAML Isn't The Real Villain
- YAML itself is not the root problem; its ecosystem and tooling make it painful.
- Templating and bad tooling, not YAML, cause most of the complexity and frustration.
Choose Readable Templating Languages
- Avoid Go templates if readability matters; prefer more human-friendly languages.
- Alexander argues Go templating is hard to read and leads engineers to overcomplicate whitespace and logic.
Charts Aren't One-Size-Fits-All
- Different chart types need different templating approaches; one size doesn't fit all.
- Public, private, and umbrella charts justify distinct templating trade-offs and complexity levels.
