Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kluctl/kluctl

The missing glue to put together large Kubernetes deployments, composed of multiple smaller parts (Helm/Kustomize/...) in a manageable and unified way.
https://github.com/kluctl/kluctl

devops gitops helm kubernetes kustomize

Last synced: about 1 month ago
JSON representation

The missing glue to put together large Kubernetes deployments, composed of multiple smaller parts (Helm/Kustomize/...) in a manageable and unified way.

Awesome Lists containing this project

README

        

# kluctl

[![tests](https://github.com/kluctl/kluctl/workflows/tests/badge.svg)](https://github.com/kluctl/kluctl/actions)
[![license](https://img.shields.io/github/license/kluctl/kluctl.svg)](https://github.com/kluctl/kluctl/blob/main/LICENSE)
[![release](https://img.shields.io/github/release/kluctl/kluctl.svg)](https://github.com/kluctl/kluctl/releases)

kluctl

Kluctl is the missing glue that puts together your (and any third-party) deployments into one large declarative
Kubernetes deployment, while making it fully manageable (deploy, diff, prune, delete, ...) via one unified command
line interface.

Kluctl tries to be as flexible as possible, while remaining as simple as possible. It reuses established
tools (e.g. Kustomize and Helm), making it possible to re-use a large set of available third-party deployments.

Kluctl is centered around "targets", which can be a cluster or a specific environment (e.g. test, dev, prod, ...) on one
or multiple clusters. Targets can be deployed, diffed, pruned, deleted, and so on. The idea is to have the same set of
operations for every target, no matter how simple or complex the deployment and/or target is.

Kluctl does not strictly depend on a controller and allows to use the same deployment wherever you want,
as long as access to the kluctl project and clusters is available. This means, that you can use it from your
local machine, from your CI/CD pipelines or any automation platform/system that allows to call custom tools.

## What can I do with Kluctl?

Kluctl allows you to define a Kluctl project, which in turn defines Kluctl
deployments and sub-deployments. Each Kluctl deployment defines Kustomize deployments.

A Kluctl project also defines targets, which represent your target environments
and/or clusters.

The Kluctl CLI then allows to deploy, diff, prune, delete, ... your deployments.

## GitOps

If you want to follow a pull based [GitOps](https://kluctl.io/docs/gitops/) flow, then you can use the Kluctl
Controller, which then allows you to use `KluctlDeployment` custom resources to define your Kluctl deployments.

## Kluctl Webui

Kluctl also offers a [Webui](https://kluctl.io/docs/webui/) that allows you to visualise and control your Kluctl
deployments. It works for deployments performed by the CLI and for deployments performed via GitOps.

[Here](https://kluctl.io/blog/2023/09/12/introducing-the-kluctl-webui/) is an introduction to the Webui together
with a tutorial.

## Where do I start?

Installation instructions can be found [here](docs/kluctl/installation.md). For a getting started guide, continue
[here](docs/kluctl/get-started.md).

## Community

Check the [community page](https://kluctl.io/community/) for details about the Kluctl community.

In short: We use [Github Issues](https://github.com/kluctl/kluctl/issues) and
[Github Discussions](https://github.com/kluctl/kluctl/discussions) to track and discuss Kluctl related development.
You can also join the #kluctl channel inside the [CNCF Slack](https://slack.cncf.io) to get in contact with other
community members and contributors/developers.

## Documentation

Documentation, news and blog posts can be found on https://kluctl.io.

The underlying documentation is synced from this repo (look into ./docs) to the website whenever something is merged
into main.

## Development and contributions

Please read [DEVELOPMENT](./DEVELOPMENT.md) and [CONTRIBUTIONS](./CONTRIBUTING.md) for details on how the Kluctl project
handles these matters.

## Kluctl in Short

| | |
| --- | --- |
| ๐Ÿ’ช Kluctl handles all your deployments | You can manage all your deployments with Kluctl, including infrastructure related and your applications. |
| ๐Ÿชถ Complex or simple, all the same | You can manage complex and simple deployments with Kluctl. Simple deployments are lightweight while complex deployment are easily manageable. |
| ๐Ÿค– Native git support | Kluctl has native Git support integrated, meaning that it can easily deploy remote Kluctl projects or externalize parts (e.g. configuration) of your Kluctl project. |
| ๐Ÿช Multiple environments | Deploy the same deployment to multiple environments (dev, test, prod, ...), with flexible differences in configuration. |
| ๐ŸŒŒ Multiple clusters | Manage multiple target clusters (in multiple clouds or bare-metal if you want). |
| ๐Ÿ”ฉ Configuration and Templating | Kluctl allows to use templating in nearly all places, making it easy to have dynamic configuration. |
| โŽˆ Helm and Kustomize | The Helm and Kustomize integrations allow you to reuse plenty of third-party charts and kustomizations. |
| ๐Ÿ” See what's different | Always know what the state of your deployments is by being able to run diffs on the whole deployment. |
| ๐Ÿ”Ž See what happened | Always know what you actually changed after performing a deployment. |
| ๐Ÿ’ฅ Know what went wrong | Kluctl will show you what part of your deployment failed and why. |
| ๐Ÿ‘ Live and let live | Kluctl tries to not interfere with any other tools or operators. This is possible due to it's use of server-side-apply. |
| ๐Ÿงน Keep it clean | Keep your clusters clean by issuing regular prune calls. |
| ๐Ÿ” Encrypted Secrets | Manage encrypted secrets for multiple target environments and clusters. |

## Demo

https://kluctl.io/vhs/demo-cut.mp4

Click on the link to play the video.