Resources / Lease

Lease

The right of one instance to act as the single active instance of a controller (the cloud operators of an account, the release controller, the capacity controller). A claim is a write: it is refused while another holder's lease has not run out, so of two racing claims one fails.

Overview

APIplatform.etorm.com/v1alpha1
Resourceleases (cluster-scoped inside its cluster)
Short namesnone
Available inthe platform and project clusters
Statusnone: the object is configuration only

Minimal example

apiVersion: platform.etorm.com/v1alpha1
kind: Lease
metadata:
  name: example
spec:
  holder: "<holder>"

Spec

FieldTypeRequiredDefaultAllowedDescription
holderstringyeslength 1 to 127The instance that holds the lease (its process name).
durationSecondsinteger6010 to 3600How long the lease lasts after its last renewal.
renewTimestringup to 40 charactersRFC 3339 time of the last renewal. Set by the server when it is left out.

Columns in listings

ColumnFrom
Holder.spec.holder
Renewed.spec.renewTime

All resources