Tolerations PPS
Spec #
This is a top-level attribute of the pipeline spec.
{
"pipeline": {...},
"transform": {...},
"tolerations": [
{
"key": "dedicated",
"operator": "EMPTY" | "EXISTS" | "EQUAL",
"value": "string",
"effect": "ALL_EFFECTS" | "NO_SCHEDULE" | "PREFER_NO_SCHEDULE" | "NO_EXECUTE",
"tolerationSeconds": int
}
],
...
}
Behavior #
Pipeline tolerations enable you to run a pipeline on a node that has a taint.
- You can have as many tolerations as you’d like, or none at all.
- Taints behave almost exactly like the Kuberentes API, with the exception of some enums such as
Exists
andDoesNotExist
being replaced with Golang equivalents likeEXISTS
andDOES_NOT_EXIST
.
Example of Tainting a Node #
kubectl taint node example dedicated:NoSchedule