1

Kubernate: generate k8s YAMLs with code

 2 years ago
source link: https://dev.to/laurci/kubernate-generate-k8s-yamls-with-code-20l9
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Kubernate: generate k8s YAMLs with code

So what is Kubernate?

Think of it as a mix between Helm and Pulumi. It is a library that is used to generate Kubernetes YAML files with ease. Think like Helm but with actual code instead of templates. You have the power to generate anything you want while using any kind of input you want. Everything is evaluated at "build" time and the output is 100% static valid Kubernetes YAML. You also get to leverage the tooling built for Typescript (which is actually very good) while building and DEBUGGING your deployments. You can also publish "libraries" built with Kubernate to NPM and other Kubernate-based projects can use them as building blocks.

There is no programming model to speak of :) just write code and use it. In the end, the tool runs the code :) You can even skip this step and just build the Typescript into javascript and run it with Node. You can even make your own app on top of Kubernate to manage your deployments.

It is written in Typescript and it is very easy to use. It is also very easy to learn and understand. Everything is typed! Just follow the IntelliSense.

Checkout the Github repo or the homepage for more.

You can join our Discord Community server (https://discord.gg/4mzndma4SN) to get new updates about development and also talk to the contributors for any questions you might have :)


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK