Module kubert::lease

source ·
Available on crate feature lease only.
Expand description

A distributed, advisory lock implementation for Kubernetes

Applications that manage state in Kubernetes–for instance, those that update resource statuses, may need to coordinate access to that state so that only one replica is trying to update resources at a time.

LeaseManager interacts with a coordv1::Lease resource to ensure that only a single claimant owns the lease at a time.

Structs§

Enums§

  • Indicates an error interacting with the Lease API