Crate kube_runtime[][src]

Common components for building Kubernetes operators

This crate contains the core building blocks to allow users to build controllers/operators/watchers that need to synchronize/reconcile kubernetes state.

Newcomers are recommended to start with the Controller builder, which gives an opinionated starting point that should be appropriate for simple operators, but all components are designed to be usable á la carte if your operator doesn’t quite fit that mold.

Re-exports

pub use controller::applier;
pub use controller::Controller;
pub use reflector::reflector;
pub use scheduler::scheduler;
pub use watcher::watcher;

Modules

controller

Runs a user-supplied reconciler function on objects when they (or related objects) are updated

reflector

Caches objects in memory

scheduler

Delays and deduplicates [Stream] items

utils
watcher

Watches a Kubernetes Resource for changes, with error recovery