Uploaded image for project: 'Couchbase Kubernetes'
  1. Couchbase Kubernetes
  2. K8S-988

Operator: Tolerations described in inverted sense

    XMLWordPrintable

Details

    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

        Activity

          People

            simon.murray Simon Murray
            phil.stott Phil Stott (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty