simple-kube-controller

Crates.iosimple-kube-controller
lib.rssimple-kube-controller
version0.2.1
created_at2025-02-13 16:46:28.958246+00
updated_at2025-02-21 14:32:17.414948+00
descriptionLibrary to streamline the process of developing custom Kubernetes controllers.
homepage
repositoryhttps://github.com/therealm-tech/simple-kube-controller
max_upload_size
id1554470
size103,034
Guillaume Leroy (leroyguillaume)

documentation

https://docs.rs/simple-kube-controller

README

simple-kube-controller

doc quality release

The simple-kube-controller library streamlines the process of developing custom Kubernetes controllers.

Getting started

To begin using simple-kube-controller, add the following dependency to your Cargo.toml file:

simple-kube-controller = "0"

Overview

Kubernetes controllers are responsible for monitoring resource events such as creation, updates, and deletions. The simple-kube-controller leverages a reconciler to handle these events efficiently.

For a practical demonstration, refer to the custom reconciler example.

DAG reconciler

By default, the dag feature is enabled, allowing you to utilize the DagReconciler. A Directed Acyclic Graph (DAG) reconciler organizes tasks into groups that are executed asynchronously upon receiving an event. Each group of tasks is initiated only after the previous group has successfully completed, ensuring a sequential and controlled execution flow.

For more details, check out the DAG reconciler example.

Build

To build the project, run the following command:

cargo build

Test

To execute tests, use the command:

cargo test
Commit count: 9

cargo fmt