Skip to main content

A simple kubernets deployment manager

Project description

Kasane

kasane [ 重ね ] (n.) pile; heap; layers

This is not an official Google product

This is also a PoC. It works, though (for some extent of "works")

Kasane is a layering tool for kubernetes. It allows you to use the officially published YAML documents and extend them further with your local configuration.

Kasane can utilise Jsonnet for deep object modification and patching.

Installation

Kasane requires Python 3+. Install via pip:

pip install kasane

Examples

  • Simple Layers is an introduction to kasane features.
  • Jsonnet Transformations shows how to use Jsonnet to transform objects.
  • Environment explains how to use the external environment for customized pipelines.
  • Complex Service shows all the features together by using the upstream configuration for kubernetes dashboard, adding an ingress, and optionally enabling istio sidecar.

Similar tools

Helm

Helm is fully-featured package management solution for kubrnetes. Compared to it, kasane is a swiss army knife. It's simple, lightweight, doesn't install helper code into your production. Kasane allows you to use original YAML files written by application authors, modifying them to your local needs. If you see a kubectl apply -f http:// example you can turn it into a Kasane deployment with a single line of code and then extend it to your needs.

Kasane doesn't do any templating, relying on Jsonnet for data manipulation. You won't ever need to count number of spaces to make sure your yaml go template is rendered correctly.

Ksonnet

Kasane is similar to Ksonnet but is much simpler to use. Kasane allows to re-use original YAML files and minimizes amount of custom Jsonnet code you need to write. Most of the time your Kasane project would consist of a Kasanefile and single yaml or jsonnet file. Still, Kasane allows runtime flexibility with conditional layers and custom environment.

License

Kasane is distributed under Apache-2 license. See the contributing guidelines on how you can contribute to the project.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
kasane-0.1.3-py3-none-any.whl (11.3 kB) Copy SHA256 hash SHA256 Wheel py3
kasane-0.1.3.tar.gz (7.0 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page