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

Improve node selection logic when scaling down

    XMLWordPrintable

Details

    • 2.6.0 - To 2.6.0 and Beyond, 2.6.0 - 2 2.6.0 2 furious, 2.6.0 - Three times the fun, 2.6.0 - Hopefully Done?, 2.6.0 Documentation - Cleanup, 2.6.0 -> 2.4.3 & 2.5.1
    • 2

    Description

      As per subject, improve logic when determining which nodes to remove when scaling down cluster to match target node count, in order to reduce any unnecessary work.

      • Server Version: Potentially if a previous upgrade has been interrupted, there may be extra nodes in the cluster, which may already match the target (upgrade) version, so these should be prioritised for retention
      • Data Size: If the overall data size for any services that need to be rebalanced can be determined, prioritise removing nodes that have the least amount of data on them

      Regarding node health - there shouldn't be any unhealthy Pods in the cluster (as these should already be removed), but we are looking to make improvements to the in-product health reporting, so it's worth checking when it comes to working this improvement in case there are any new options beyond "Pod Health".

      Attachments

        For Gerrit Dashboard: K8S-3075
        # Subject Branch Project Status CR V

        Activity

          People

            abhi.bose Abhi Bose (Inactive)
            malarky Chris Malarky
            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