| Crates.io | simple-kube-controller |
| lib.rs | simple-kube-controller |
| version | 0.2.1 |
| created_at | 2025-02-13 16:46:28.958246+00 |
| updated_at | 2025-02-21 14:32:17.414948+00 |
| description | Library to streamline the process of developing custom Kubernetes controllers. |
| homepage | |
| repository | https://github.com/therealm-tech/simple-kube-controller |
| max_upload_size | |
| id | 1554470 |
| size | 103,034 |
The simple-kube-controller library streamlines the process of developing custom Kubernetes controllers.
To begin using simple-kube-controller, add the following dependency to your Cargo.toml file:
simple-kube-controller = "0"
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.
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.
To build the project, run the following command:
cargo build
To execute tests, use the command:
cargo test