RouterWorkerSelector interface
Describes a condition that must be met against a set of labels for worker selection.
Properties
| expedite | Pushes the job to the front of the queue as long as this selector is active. |
| expires |
Describes how long this label selector is valid in seconds. |
| expires |
The time at which this worker selector expires in UTC NOTE: This property will not be serialized. It can only be populated by the server. |
| key | The label key to query against |
| label |
Describes how the value of the label is compared to the value defined on the label selector |
| status | The status of the worker selector. NOTE: This property will not be serialized. It can only be populated by the server. |
| value | The value to compare against the actual label value with the given operator |
Property Details
expedite
Pushes the job to the front of the queue as long as this selector is active.
expedite?: boolean
Property Value
boolean
expiresAfterSeconds
Describes how long this label selector is valid in seconds.
expiresAfterSeconds?: number
Property Value
number
expiresAt
The time at which this worker selector expires in UTC NOTE: This property will not be serialized. It can only be populated by the server.
expiresAt?: Date
Property Value
Date
key
The label key to query against
key: string
Property Value
string
labelOperator
Describes how the value of the label is compared to the value defined on the label selector
labelOperator: string
Property Value
string
status
The status of the worker selector. NOTE: This property will not be serialized. It can only be populated by the server.
status?: string
Property Value
string
value
The value to compare against the actual label value with the given operator
value?: JSONValue