Lease¶
jumpstarter.dev/v1alpha1
Lease is the Schema for the leases API
Spec¶
Field |
Type |
Description |
|---|---|---|
|
string |
Requested start time. If omitted, lease starts when exporter is acquired. |
|
object |
The client that is requesting the lease |
|
string |
Name of the referent. (default: ``) |
|
string |
Duration of the lease. Must be positive when provided. |
|
string |
Requested end time. If specified with BeginTime, Duration is calculated. |
|
object |
Optionally pin this lease to a specific exporter name. |
|
string |
Name of the referent. (default: ``) |
|
boolean |
The release flag requests the controller to end the lease now |
|
object |
The selector for the exporter to be used (default: |
|
array |
matchExpressions is a list of label selector requirements. The requirements are ANDed. |
|
object |
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels |
|
object |
User-defined tags for the lease. Immutable after creation. |
Status¶
Field |
Type |
Description |
|---|---|---|
|
string |
BeginTime is the actual start time of the lease. |
|
array |
Conditions represent the latest available observations of the lease state. |
|
string |
lastTransitionTime is the last time the condition transitioned from one status to another. |
|
string |
message is a human readable message indicating details about the transition. |
|
integer |
observedGeneration represents the .metadata.generation that the condition was set based upon. |
|
string |
reason contains a programmatic identifier indicating the reason for the condition’s last transition. |
|
|
|
|
string |
type of condition in CamelCase or in foo.example.com/CamelCase. |
|
string |
EndTime is the actual end time of the lease. |
|
boolean |
Ended indicates whether the lease has been terminated. |
|
object |
ExporterRef is a reference to the exporter assigned to this lease. |
|
string |
Name of the referent. (default: ``) |
|
integer |
Priority is the effective priority of the lease from the access policy. |
|
boolean |
SpotAccess indicates whether this lease was granted with spot (preemptible) access. |