Details
-
Task
-
Resolution: Fixed
-
Major
-
None
Description
Our Operator documentation states:
This field specifies conditions upon which a node should not be selected when deploying a pod. From the sample configuration file referenced in this topic, you can see that any node with a label app:cbapp should not be allowed to run the pod defined in this node specification.
And our sample configuration is:
tolerations:
|
- key: app
|
operator: Equal
|
value: cbapp
|
effect: NoSchedule
|
However this is not correct. As can be seen from the Kubernetes documentation the behaviour we describe is that of a taint.
The toleration as shown in the configuration allows the pod to be scheduled on a node with a taint against running cbapp pods.
- A taint applied to a node prevents pods from being scheduled on that node
- A toleration applied to a pod allows the pod to override the taint and be scheduled where it otherwise could not be.
Attachments
For Gerrit Dashboard: K8S-988 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
117324,2 | K8S-988: Toleration Documents | 1.2.x | couchbase-operator | Status: MERGED | +2 | +1 |