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

Test Backup Node Selection

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.1
    • None
    • None
    • 1

    Description

      We don't currently check that the backup job respects the NodeSelector option in the cluster spec.

      Test can be something like:

      1. set up cluster, specifying a NodeSelector for backup
      2. (randomly) select a node, and label it for backup
      3. start a backup job, and expect to see it happen on the previously selected node (and not anywhere else).
      4. as above, with restore.

       

      Attachments

        Issue Links

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

          Activity

            simon.murray Simon Murray added a comment -

            Don't bother labeling stuff, you're just making life hard for yourself, try using an existing label like the availability zone or something.

            simon.murray Simon Murray added a comment - Don't bother labeling stuff, you're just making life hard for yourself, try using an existing label like the availability zone or something.
            roo.thorp Roo Thorp added a comment -

            After I spend an hour figuring out how to label stuff 

            roo.thorp Roo Thorp added a comment - After I spend an hour figuring out how to label stuff 
            simon.murray Simon Murray added a comment -

            work smarter, not harder ;p

            simon.murray Simon Murray added a comment - work smarter, not harder ;p

            Tests have been run and they pass in 2.2.1

            arunkumar Arunkumar Senthilnathan added a comment - Tests have been run and they pass in 2.2.1

            Patch Merged.

            prateek.kumar Prateek Kumar added a comment - Patch Merged.

            People

              prateek.kumar Prateek Kumar
              roo.thorp Roo Thorp
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty