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§
- Describes the state of a lease
- Configuration used when obtaining a lease.
- Manages a Kubernetes
Lease
Enums§
- Indicates an error interacting with the Lease API