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

If you manually increase number of replicas, operator will rebalance

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • not-targeted
    • operator

    Description

      If you increase the number of replicas, then you have to rebalance to create them.

      If you manually increase the number of replicas of a bucket, the operator will return it to its original value.
      However the logic for rebalance is naive and just checks if one is required, so if you increase replicas then the operator will rebalance.
      There should probably be a quick check to see if the value for the replicas of each bucket is the same as the one specified in the cluster definition.

      In that case the operator can revert it to its original value and should do so without incurring a rebalance.

      Attachments

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

        Activity

          There are no commits yet on this issue.

          People

            simon.murray Simon Murray
            matt.carabine Matt Carabine
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty