Ksonnet: Simplify working with Kubernetes configurations
blog.heptio.com
Ksonnet: Simplify working with Kubernetes configurations
1–10 of 26 posts
Re: Ksonnet: Simplify working with Kubernetes configurations
#2We've been looking into moving towards Kubernetes. I'm looking forward to seeing if ksonnet can fit our needs.
Re: Ksonnet: Simplify working with Kubernetes configurations
#3I wrote something that fills this econiche sometime last year in Ruby (https://github.com/matsuri-rb/matsuri). Same ideas: mixins, generation of Kubernetes resources, etc. For better or worse, it also adds the idea of combining all the deployment environments into a single workflow and command line interface.
The big difference? Ksonnet is better documented and promoted, lighter-weight, and now better supported within the community.
Re: Ksonnet: Simplify working with Kubernetes configurations
#4Re: Ksonnet: Simplify working with Kubernetes configurations
#5I will be interested in feedback on how such an approach could be helpful in managing complex configurations.
Re: Ksonnet: Simplify working with Kubernetes configurations
#6Re: Ksonnet: Simplify working with Kubernetes configurations
#7Glad someone put in the effort for this. I wrote something that fills this econiche sometime last year in Ruby ( https://github.com/matsuri-rb/matsuri ). Same ideas: mixins, generation of Kubernetes resources, etc. For better or worse, it also adds the idea of combining all the deployment environments into a single workflow and command line interface. The big difference? Ksonnet is better documented and promoted, lig…
A nice thing about jsonnet is that is it's a native data templating language, you don't have to compose a structured data format with a textual template language and deal with things as trailing commas in json or indentation (!!!) in yaml.
It offers a sound model for extending and overriding values.
Another thing: it's a fully featured programming language, but it's purely functional so you are guaranteed that your templates won't have surprising side effects.
In this respect, the most similar alternative is the Nix functional language.
Re: Ksonnet: Simplify working with Kubernetes configurations
#8Glad someone put in the effort for this. I wrote something that fills this econiche sometime last year in Ruby ( https://github.com/matsuri-rb/matsuri ). Same ideas: mixins, generation of Kubernetes resources, etc. For better or worse, it also adds the idea of combining all the deployment environments into a single workflow and command line interface. The big difference? Ksonnet is better documented and promoted, lig…
Another goal here is to have something that is easy to embed/repurpose. ruby is pretty heavyweight from that point of view.
While jsonnet is a C program right now (https://github.com/google/jsonnet) we are looking at picking up work on a go port so it is easier to integrate with the kubernetes universe.
Re: Ksonnet: Simplify working with Kubernetes configurations
#9This links to a blog post that is mostly marketing fluff and quotes from fawning CTOs. Useful documentation and examples are here: http://ksonnet.heptio.com