Use ksonnet to generate Kubernetes configurations from Helm Charts

What is ksonnet?

A CLI-supported framework for extensible Kubernetes configurations

https://ksonnet.io/

 

ksonnet uses the jsonnetlanguage.

https://jsonnet.org/

Nice that it can eliminate duplication with object-orientation.

More info – see Using jsonnet .
But what IS ksonnet?

Say you want to install an application on Kubernetes. Here’s how you could do it:

  1. kubectl – which quickly gets  complex when you have more than a basic app so you’d use something like helm
  2. helm – which simplifies stuff but you still get a ton of YAML files which is where ksonnet comes in

See this tutorial on building a sample application (Guestbook) using ksonnet on Kubernetes.

 

https://ksonnet.io/docs/examples/helm/

 

Leave a Reply

Your email address will not be published. Required fields are marked *