Toleration interface
Toleration allows ClusterResourcePlacement to tolerate any taint that matches the triple <key,value,effect> using the matching operator <operator>.
Properties
| effect | Effect indicates the taint effect to match. Empty means match all taint effects. When specified, only allowed value is NoSchedule. |
| key | Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. |
| operator | Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ClusterResourcePlacement can tolerate all taints of a particular category. |
| value | Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. |
Property Details
effect
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, only allowed value is NoSchedule.
effect?: string
Property Value
string
key
Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
key?: string
Property Value
string
operator
Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ClusterResourcePlacement can tolerate all taints of a particular category.
operator?: string
Property Value
string
value
Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
value?: string
Property Value
string