We're in the process of evaluating tools to get away from 90% identical yaml files across environments and this seems like a good alternative to kustomize or helm. Do you have a good pattern on how to use it with CI/CD for deployments? The biggest challenge we've had after writing deployments is getting it setup to work with something like Jenkins (right now we have a custom bash script that does a bunch kubectl thin…
We build an api and a cli util for these things.
The api takes care of providing sane deployment manifests based on data from a service registry, which is populated using the cli.
Cli can be run non-interactive for use in pipeline and other automations.
The cli and api basically do any config and deplyment related tasks in concert with service discovery (which at this time is consul).
Edit, rant: For automations json just owns yaml in all the ways!
This yaml templating business should stop! I think it’s silly tbh. :)
Our base k8s setup consisted of roughly 40k lines of yaml. Yaml is awesome for 10 lines of user input configuration, not 100, let alone 40k machine printed stuff. What happened here in this brave new DevOps world?!