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
| API | platform.etorm.com/v1alpha1 |
| Resource | leases (cluster-scoped inside its cluster) |
| Short names | none |
| Available in | the platform and project clusters |
| Status | none: the object is configuration only |
Minimal example
apiVersion: platform.etorm.com/v1alpha1
kind: Lease
metadata:
name: example
spec:
holder: "<holder>"
Spec
| Field | Type | Required | Default | Allowed | Description |
holder | string | yes | | length 1 to 127 | The instance that holds the lease (its process name). |
durationSeconds | integer | | 60 | 10 to 3600 | How long the lease lasts after its last renewal. |
renewTime | string | | | up to 40 characters | RFC 3339 time of the last renewal. Set by the server when it is left out. |
Columns in listings
| Column | From |
|---|
| Holder | .spec.holder |
| Renewed | .spec.renewTime |
All resources