tolerations

Description

The Tolerations field allows users to select which nodes DataPower Pods can be scheduled or not scheduled. By specifying a set of matching tolerations, users can control whether specific nodes can be used for scheduling DataPower Pods. In order for this to work, the corresponding nodes must have been tainted accordingly. For more information, please see the Kubernetes documentation.

Example

The following tolerations allow DataPower Pods to be scheduled on nodes tainted with host=dp:NoSchedule.

apiVersion: datapower.ibm.com/v1beta3
kind: DataPowerService
metadata:
  name: example-dpservice
spec:
  tolerations:
  - key: "host"
    value: "db"
    operator: "Equal"
    effect: "NoSchedule"