Re:Kpt: Packaging up your Kubernetes configuration with Git ...
by ff2 on Wednesday April 01, 2020 @01:22PM
(#22751189)
One key distinction is that this is not yet another templating DSL like Jinja, or Go templates that present an anti-pattern for non-trivial deployments. As an example, take a look at the Grafana Helm chart:
https://github.com/bitnami/charts/blob/master/bitnami/grafan...
It's more curly brackets than YAML :)
Instead, kpt's key design philosophy is to keep configuration as data. This makes it easier to develop tooling that operate on configs.
The Kubernetes ecosystem is rife with tools like this, and it feels like such a chore to just keep up with every new templating system for YAML files. I have started to just write Go programs that directly talk to the Kubernetes API and manage my rollouts (one step away from operators).