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

Fix Node Scheduling Without Server Groups

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 1.2.0
    • None
    • operator
    • None

    Description

      When recreating a pod with no server groups enabled we get this pod stuck in pending with:

       

      - count: 2518
        eventTime: null
        firstTimestamp: "2019-03-05T17:19:07Z"
        involvedObject:
          apiVersion: v1
          kind: Pod
          name: test-couchbase-44bbw-0005
          namespace: default
          resourceVersion: "322365"
          uid: c8cebed7-3f6a-11e9-bb32-42010a8a0215
        lastTimestamp: "2019-03-05T17:59:09Z"
        message: '0/9 nodes are available: 9 node(s) didn''t match node selector.'
        metadata:
          creationTimestamp: "2019-03-05T17:19:07Z"
          name: test-couchbase-44bbw-0005.15891fa6d2f6c350
          namespace: default
          resourceVersion: "4034"
          selfLink: /api/v1/namespaces/default/events/test-couchbase-44bbw-0005.15891fa6d2f6c350
          uid: c8d11f8b-3f6a-11e9-a58f-42010a8a0207
        reason: FailedScheduling
        reportingComponent: ""
        reportingInstance: ""
        source:
          component: default-scheduler
        type: Warning
      

      The node selector itself is:

        nodeSelector:
          failure-domain.beta.kubernetes.io/zone: ""

      Looks like we need to only set it as and when the associated PVC has the same label.

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            simon.murray Simon Murray
            simon.murray Simon Murray
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty